Hans-Peter Nilsson
d775e6b7ae
* mmix.h (JMP_INSN_BYTE): Define.
2003-10-19 01:16:56 +00:00
Hans-Peter Nilsson
9bf80322b4
* mmix.h (R_MMIX_PUSHJ_STUBBABLE): New reloc number.
...
(_bfd_mmix_before_linker_allocation): Rename from
_bfd_mmix_prepare_linker_allocated_gregs.
(_bfd_mmix_after_linker_allocation): Rename from
_bfd_mmix_finalize_linker_allocated_gregs.
2003-10-18 15:46:35 +00:00
Danny Smith
f25e45973d
* include/stdio.h (_filbuf): Add prototype.
...
(_flsbuf): Add prototype.
(getc): Add inline version.
(putc): Likewise.
(getchar): Likewise.
(putchar): Likewise.
2003-10-17 21:43:31 +00:00
Christopher Faylor
ce17145aa8
revert accidental checkin
2003-10-17 17:20:06 +00:00
Christopher Faylor
fa10472e4a
* cygcheck.cc (pretty_id): Don't exec if `id' program is not found.
2003-10-17 17:19:31 +00:00
Dimitri Papadopoulos
5320b93f4e
Oooops...
2003-10-17 10:37:44 +00:00
Pierre Humblet
30f515c54f
*** empty log message ***
2003-10-16 23:28:31 +00:00
Pierre Humblet
9808b5c420
2003-10-16 Pierre Humblet <pierre.humblet@ieee.org>
...
* syscalls.cc (seteuid32): Always construct a default DACL including
the new sid, Admins and SYSTEM and copy it to the new thread token.
* security.cc (create_token): Use a NULL default DACL in NtCreateToken.
2003-10-16 23:20:41 +00:00
Corinna Vinschen
abfc9c412c
* dcrt0.cc: Remove local variable alternate_charset_active.
...
* fhandler.h: Add variable alternate_charset_active, functions
str_to_con, con_to_str to dev_console structure.
* fhandler_console.cc (con_to_str): Move function into dev_console
class.
(str_to_con): Ditto.
(fhandler_console::read): Call con_to_str on dev_state.
(fhandler_console::write_normal): Call str_to_con on dev_state.
(fhandler_console::char_command): Change active_charset_active
assignment to be on dev_state.
* winsup.h: Remove global external variable alternate_charset_active.
2003-10-16 14:08:28 +00:00
Jeff Johnston
b4d51d01c8
2003-10-15 Bernardo Innocenti <bernie@develer.com>
...
* m68k/sim-funcs.c (_XOPEN_SOURCE): Define to get the pid_t
typedef from <unistd.h>.
2003-10-15 19:57:18 +00:00
Jeff Johnston
b11926e717
2003-10-15 Alexandre Oliva <aoliva@redhat.com>
...
* Makefile.am: Add $(MAKE) comments to multido and multiclean
lines, to enable parallel make.
* Makefile.in: Rebuilt.
2003-10-15 17:33:32 +00:00
Joern Rennecke
8cf2a4dcb2
nclude/gdb:
...
* callback.h (struct host_callback_struct): New members ftruncate
and truncate.
gdb:
sim/common:
* callback.c (os_ftruncate, os_truncate): New functions.
(default_callback): Initialize ftruncate and truncate members.
sim/sh:
* syscall.h (SYS_truncate, SYS_ftruncate): Define.
* interp.c (trap): Add support for SYS_ftruncate and SYS_truncate.
2003-10-15 12:28:50 +00:00
Corinna Vinschen
ce34c904cc
* fhandler_console.cc (char_command): Add escape sequence for codepage
...
ansi <-> oem switching for ncurses frame drawing capabilities.
* dcrt0.cc: Add local variable alternate_charset_active.
* winsup.h: Add global external variable alternate_charset_active.
2003-10-15 08:23:26 +00:00
Bob Wilson
0f8117bf42
bfd ChangeLog:
...
2003-10-14 Bob Wilson <bob.wilson@acm.org>
* elf32-xtensa.c (get_is_linkonce_section): Delete.
(xtensa_is_property_section, xtensa_is_littable_section): Use
XTENSA_INSN_SEC_NAME and XTENSA_LIT_SEC_NAME macros. Do not recognize
linkonce sections containing ".xt.insn" and ".xt.lit" substrings.
(xtensa_get_property_section_name): Check section name instead of
calling get_is_linkonce_section. Remove unused bfd parameter. Use
XTENSA_INSN_SEC_NAME and XTENSA_LIT_SEC_NAME macros. Never generate
linkonce section names by appending ".xt.insn" or ".xt.lit".
(xtensa_read_table_entries): Remove bfd argument in call to
xtensa_get_property_section_name. Free section name when done.
(elf_xtensa_combine_prop_entries): Free leaking table.
gas ChangeLog:
2003-10-14 Bob Wilson <bob.wilson@acm.org>
* config/tc-xtensa.c (xtensa_create_property_segments): Remove bfd
argument in call to xtensa_get_property_section_name. Formatting.
include ChangeLog:
2003-10-14 Bob Wilson <bob.wilson@acm.org>
* elf/xtensa.h: Formatting. Fix comments about property section
names for linkonce sections.
2003-10-14 22:28:28 +00:00
Nathanael Nerode
f08ed69cbd
* gettext.m4: Properly quote arguments to AC_DEFUN.
2003-10-14 21:40:44 +00:00
Christopher Faylor
31271d5cb4
* libc/time/clock.c: Clarify documentation of return value when no measurement
...
is available.
2003-10-14 17:41:30 +00:00
Corinna Vinschen
db3137ccb5
* exceptions.cc (ctrl_c_handler): Don't send SIGHUP on
...
CTRL_LOGOFF_EVENT to processes running in invisible Windows Stations.
* window.cc (has_visible_window_station): New function.
* winsup.h: Add declaration for has_visible_window_station.
2003-10-14 09:21:55 +00:00
Nathanael Nerode
2286046e47
* Makefile.tpl: Make GCC_FLAGS_TO_PASS a superset of
...
HOST_FLAGS_TO_PASS.
* Makefile.in: Regenerate.
2003-10-13 21:45:29 +00:00
Dimitri Papadopoulos
36ef425c19
* include/windows.h (CopyCursor): Although MSDN pretends this is
...
a function to be imported from user32.lib, it's actually a macro.
From the Delphi FAQ:
Question:
Where is the Windows API function CopyCursor defined in
32-Bit versions of Delphi and C++ Builder?
Answer:
While the call is documented in the Win32 help file, the
function is simply mapped to the Windows API function
CopyIcon(). Note that the 32 bit version of CopyIcon
does not take a hInstance parameter.
2003-10-13 06:02:06 +00:00
Danny Smith
29598fc7e0
2003-10-13 Steven Edwards <Steven_Ed4153@yahoo.com>
...
* include/winnt.h (CONTAINING_RECORD): Add macro.
2003-10-13 05:22:30 +00:00
Danny Smith
851217a605
* include/winnt.h: (FILE_SUPERSEDED, FILE_OPENED, FILE_CREATED,
...
FILE_OVERWRITTEN, FILE_EXISTS, FILE_DOES_NOT_EXIST): remove
defines.
2003-10-13 03:25:26 +00:00
Danny Smith
64c0532eb5
2003-10-13 Filip Navara <xnavara@volny.cz>
...
* include/commctrl.h: (DSA_*):Add prototypes, typedefs and
defines for Dynamic Storage Arrays.
(DPA_*): Likewise, for Dynamic Pointer Arrays.
(FlatSB_*, InitializeFlatSB, InitializeFlatSB): Add prototypes
and defines for Flat ScrollBars.
(SetWindowSubclass, GetWindowSubclass, RemoveWindowSubclass,
DefSubclassProc): Add prototypes for subclassing.
(DrawShadowText) Add prototype.
` (COMCTL32_VERSION): Define.
2003-10-13 02:46:36 +00:00
Danny Smith
fad2aa1aad
2003-10-13 Martin Fuchs <Martin-Fuchs@gmx.net>
...
* include/shlobj.h (CFSTR_FILENAME, CFSTR_FILEDESCRIPTOR,
CFSTR_FILENAMEMAP, CFSTR_SHELLURL): Correct UNICODE definitions.
2003-10-13 00:22:38 +00:00
Danny Smith
0c7a57ebc0
2003-10-13 Pierre Humblet <pierre.humblet@ieee.org>
...
* include/winnt.h (SM_REMOTESESSION): Add define.
* include/winuser.h (SE_CREATE_GLOBAL_NAME): Ditto.
2003-10-12 23:38:57 +00:00
Danny Smith
b3355c6592
* include/wincrypt (KP_IV, KP_SALT, KP_PADDING, KP_MODE,
...
KP_MODE_BITS, KP_PERMISSIONS, KP_ALGID, KP_BLOCKLEN): Remove
duplicate definitions.
(KP_X, KP_Y): Correct typos.
2003-10-12 23:34:13 +00:00
Manu B
986ee16a0c
Dummy afxres header, richedit constants added
2003-10-11 08:00:38 +00:00
Christopher Faylor
7cf29f96e0
* fhandler_tty.cc (fhandler_tty_slave::open): Don't create a new window station
...
if one already exists.
2003-10-10 19:11:21 +00:00
Christopher Faylor
4a204f6625
* shared.cc (shared_info::initialize): Remove myself check since hMainProc
...
initialization will allow user initialization to work.
2003-10-10 19:07:08 +00:00
Earnie Boyd
f3d0380417
* include/_mingw.h: Increment version to 3.2.
...
* Makefile.in: Ditto.
2003-10-10 18:25:10 +00:00
Christopher Faylor
cca873af60
fix typo
2003-10-10 17:44:54 +00:00
Earnie Boyd
79b931ee81
* include/sys/types.h: Revert last change.
2003-10-10 15:09:55 +00:00
Earnie Boyd
92fda2d938
* include/sys/types.h (ssize_t): Correct the definition.
2003-10-10 11:49:36 +00:00
Corinna Vinschen
a8e5f8c6c2
* include/sys/mman.h (MAP_FAILED): Define as void *.
2003-10-09 11:40:16 +00:00
Dimitri Papadopoulos
6ddad5e1dd
* include/errorep.h: New file.
...
* lib/faultrep.def: New file.
2003-10-09 05:52:12 +00:00
Dimitri Papadopoulos
38f9123efd
* include/winbase.h (AddVectoredExceptionHandler): Define if
...
_WIN32_WINNT >= 0x0500.
* include/winnt.h (PVECTORED_EXCEPTION_HANDLER): Define if
_WIN32_WINNT >= 0x0500.
2003-10-09 05:28:25 +00:00
Christopher Faylor
ea4980efe1
* dcrt0.cc (hMainProc): Initialize to useful value for use when dll is
...
dynamically loaded.
(shared_info::initialize): Don't initialize user stuff if myself doesn't exit.
2003-10-08 21:40:33 +00:00
DJ Delorie
e9ea9dec2c
2003-10-05 Mohan Embar <gnustuff@thisiscool.com>
...
* configure.in: Allow explicit specification of CFLAGS_FOR_BUILD.
* configure: Rebuilt
* Makefile.tpl: Use CFLAGS_FOR_BUILD computed by configure
* Makefile.in: Rebuilt
2003-10-08 21:29:04 +00:00
Nathanael Nerode
d1472f0ab5
Move ChangeLog entries for config/ subdir into config/ChangeLog, where
...
they belong. Thanks to Kelley Cook <kcook34@ford.com>.
2003-10-08 21:26:42 +00:00
Dave Brolley
e516dd9e34
2003-10-06 Dave Brolley <brolley@redhat.com>
...
* frv.h (EF_FRV_CPU_FR550): New macro.
2003-10-08 18:12:53 +00:00
Corinna Vinschen
5df75951a5
* include/winbase.h (AddVectoredExceptionHandler): Only define if
...
_WIN32_WINNT >= 0x0501.
2003-10-08 15:58:58 +00:00
Corinna Vinschen
99439385c6
* syscalls.cc (unlink): Don't even try DELETE_ON_CLOSE technique on
...
systems not supporting it.
2003-10-08 09:17:08 +00:00
Dimitri Papadopoulos
56efe3a884
* include/winbase.h [_WIN32_WINNT >= 0x0500] (SetComputerNameEx[AW],
...
UnregisterWaitEx): Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0500]
(AddVectoredExceptionHandler, RemoveVectoredExceptionHandler): Add
or guard function. The MSDN says it is available on Windows XP and
better, and then it says it is declared for _WIN32_WINNT >= 0x0500.
Huh?
* include/winbase.h [_WIN32_WINNT >= 0x0501] (AddRefActCtx,
CreateActCtx[AW], SetFileShortName[AW], SetFileValidData,
ZombifyActCtx, QueryActCtxW): Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0501]
(QUERY_ACTCTX_FLAG_USE_ACTIVE_ACTCTX,
QUERY_ACTCTX_FLAG_ACTCTX_IS_HMODULE,
QUERY_ACTCTX_FLAG_ACTCTX_IS_ADDRESS): Add constants.
* include/winbase.h [_WIN32_WINNT >= 0x0502] (SetDllDirectory[AW],
SetFirmwareEnvironmentVariable[AW]): Add functions.
* include/winnt.h [_WIN32_WINNT >= 0x0500] (VER_BUILDNUMBER,
VER_MAJORVERSION, VER_MINORVERSION, VER_PLATFORMID,
VER_SERVICEPACKMAJOR, VER_SERVICEPACKMINOR, VER_SUITENAME,
VER_PRODUCT_TYPE, VER_EQUAL, VER_GREATER, VER_GREATER_EQUAL,
VER_LESS, VER_LESS_EQUAL, VER_AND, VER_OR): Add constants.
* include/winnt.h [_WIN32_WINNT >= 0x0501]
(PVECTORED_EXCEPTION_HANDLER): Add callback.
* include/winnt.h [_WIN32_WINNT >= 0x0501]
(ACTIVATION_CONTEXT_INFO_CLASS,
ACTIVATION_CONTEXT_ASSEMBLY_DETAILED_INFORMATION,
ACTIVATION_CONTEXT_DETAILED_INFORMATION,
ACTIVATION_CONTEXT_QUERY_INDEX, ASSEMBLY_FILE_DETAILED_INFORMATION):
Add structures.
* lib/user32.def (AddRefActCtx, AddVectoredExceptionHandler,
CreateActCtx[AW], SetComputerNameEx[AW], SetDllDirectory[AW],
SetFileShortName[AW], SetFileValidData,
SetFirmwareEnvironmentVariable[AW], UnregisterWaitEx,
VerSetConditionMask, ZombifyActCtx, QueryActCtxW): Add functions.
2003-10-07 12:55:00 +00:00
Dimitri Papadopoulos
2df2984b40
* include/winbase.h (GetWriteWatch, IsSystemResumeAutomatic,
...
ResetWriteWatch): Add function.
* include/winbase.h [_WIN32_WINNT >= 0x0500]
(GetSystemWindowsDirectory[AW], ProcessIdToSessionId, ReplaceFile[AW]):
Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0501]
(GetSystemWow64Directory[AW], HeapQueryInformation,
HeapSetInformation, InitializeSListHead, InterlockedFlushSList,
InterlockedPopEntrySList, InterlockedPushEntrySList, IsProcessInJob,
IsWow64Process, QueryMemoryResourceNotification, ReleaseActCtx,
RemoveVectoredExceptionHandler): Add functions.
* include/winnt.h [_WIN32_WINNT >= 0x0501] (HEAP_INFORMATION_CLASS):
Add enumeration.
* include/winbase.h [_WIN32_WINNT >= 0x0502] (GetThreadIOPendingFlag):
Add function.
* include/winbase.h [_WIN32_WINNT >= 0x0510] (RestoreLastError):
Add function. The MSDN Magazine of June 2003 reads:
RestoreLastError is an enigma. It's code is identical to
SetLastError. It's unclear to me why it was made into a
separate API.
* lib/user32.def (GetSystemWindowsDirectory[AW],
GetSystemWow64Directory[AW], GetThreadIOPendingFlag,
HeapQueryInformation, HeapSetInformation, InitializeSListHead,
InterlockedFlushSList, InterlockedPopEntrySList,
InterlockedPushEntrySList, IsSystemResumeAutomatic, IsWow64Process,
ProcessIdToSessionId, QueryMemoryResourceNotification, ReleaseActCtx,
RemoveVectoredExceptionHandler, ReplaceFile[AW], ResetWriteWatch,
RestoreLastError): Add functions.
2003-10-07 10:14:31 +00:00
Dimitri Papadopoulos
f9a322ebf7
* include/winbase.h [_WIN32_WINNT >= 0x0500] (GetComputerNameEx[AW],
...
GetProcessIoCounters): Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0500] (COMPUTER_NAME_FORMAT):
Move around, needed by GetComputerNameEx.
* include/winbase.h [_WIN32_WINNT >= 0x0501] (FindActCtxSectionGuid,
FindActCtxSectionString[AW], GetCurrentActCtx, GetNativeSystemInfo):
Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0501]
(ACTCTX_SECTION_KEYED_DATA): Add structure.
* include/winbase.h [_WIN32_WINNT >= 0x0502] (GetDllDirectory[AW],
GetFirmwareEnvironmentVariable[AW], GetProcessHandleCount,
GetProcessId, GetSystemRegistryQuota): Add functions, available on
Windows XP SP1 and better.
* include/winnt.h [_WIN32_WINNT >= 0x0501]
(ACTIVATION_CONTEXT_SECTION_ASSEMBLY_INFORMATION,
ACTIVATION_CONTEXT_SECTION_DLL_REDIRECTION,
ACTIVATION_CONTEXT_SECTION_WINDOW_CLASS_REDIRECTION,
ACTIVATION_CONTEXT_SECTION_COM_SERVER_REDIRECTION,
ACTIVATION_CONTEXT_SECTION_COM_INTERFACE_REDIRECTION,
ACTIVATION_CONTEXT_SECTION_COM_TYPE_LIBRARY_REDIRECTION,
ACTIVATION_CONTEXT_SECTION_COM_PROGID_REDIRECTION,
ACTIVATION_CONTEXT_SECTION_CLR_SURROGATES): Add constants.
* lib/user32.def (FindActCtxSectionGuid, FindActCtxSectionString[AW],
GetComputerNameEx[AW], GetCurrentActCtx, GetDllDirectory[AW],
GetFirmwareEnvironmentVariable[AW], GetModuleHandleEx[AW],
GetNativeSystemInfo, GetProcessHandleCount, GetProcessIoCounters):
Add functions.
2003-10-07 08:47:06 +00:00
Dimitri Papadopoulos
d0ede583ee
* include/winbase.h [_WIN32_WINNT >= 0x0501]
...
(CheckRemoteDebuggerPresent, DebugActiveProcessStop, DebugBreakProcess,
DebugSetProcessKillOnExit): Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0500] (DeleteTimerQueue,
DeleteTimerQueueEx, DeleteTimerQueueTimer,
DnsHostnameToComputerName[AW]): Add functions.
* lib/user32.def (CheckRemoteDebuggerPresent, DebugActiveProcessStop,
DebugBreakProcess, DebugSetProcessKillOnExit, DeleteTimerQueueEx,
DeleteTimerQueueTimer, DnsHostnameToComputerName[AW]): Add functions.
2003-10-07 07:14:53 +00:00
Dimitri Papadopoulos
b2608a4378
* include/winbase.h (GetVolumePathNamesForVolumeName): Available
...
on Windows XP and later.
2003-10-07 05:54:53 +00:00
Dimitri Papadopoulos
85c50f7194
* include/commctrl.h (TreeView_Select): Returns BOOL.
2003-10-07 05:41:46 +00:00
Dimitri Papadopoulos
d645cc8736
* include/winbase.h (CancelDeviceWakeupRequest): Add function.
...
* include/winbase.h [_WIN32_WINNT >= 0x0501]
(CreateMemoryResourceNotification, DeactivateActCtx): Add functions.
* include/winbase.h [_WIN32_WINNT >= 0x0500] (CreateTimerQueue,
CreateTimerQueueTimer): Add function.
* include/winbase.h [_WIN32_WINNT >= 0x0501]
(MEMORY_RESOURCE_NOTIFICATION_TYPE): Add enumeration.
* include/winbase.h [_WIN32_WINNT >= 0x0501]
(DEACTIVATE_ACTCTX_FLAG_FORCE_EARLY_DEACTIVATION): Add constant.
* include/winnt.h (WT_*): Add constants.
* lib/user32.def (CancelDeviceWakeupRequest,
CreateMemoryResourceNotification, CreateTimerQueueTimer,
DeactivateActCtx): Add functions.
2003-10-06 12:33:32 +00:00
Dimitri Papadopoulos
16640527a7
* include/winbase.h [_WIN32_WINNT >= 0x0400] (ConvertFiberToThread):
...
Add function. Sometimes I don't understand MSDN. This function is
available on Windows XP and Server 2003, but the SDK is supposed to
make it available when _WIN32_WINNT >= 0x0400, or so says the MSDN.
Mmmh...
* include/winbase.h [_WIN32_WINNT >= 0x0400] (CreateFiberEx):
Guard function. Same remark as above.
* lib/user32.def (ConvertFiberToThread, CreateFiberEx):
Add functions.
2003-10-06 10:00:31 +00:00
Dimitri Papadopoulos
a61556238e
* include/winbase.h [_WIN32_WINNT >= 0x0501] (ACTCTX_FLAG_*):
...
Add constants.
* include/winbase.h [_WIN32_WINNT >= 0x0501] (ACTCTX[AW]): Add
structures.
* include/winbase.h [_WIN32_WINNT >= 0x0501] (ActivateActCtx): Add
function. MSDN says the first argument is HACTCTX but I'm not sure
where such a specialized handle is defined, so use HANDLE instead.
* include/winbase.h [_WIN32_WINNT >= 0x0501] (AttachConsole,
CheckNameLegalDOS8Dot3[AW]): Add functions.
* lib/user32.def (ActivateActCtx, AttachConsole,
CheckNameLegalDOS8Dot3[AW]): Add functions.
* lib/user32.def (AddLocalAlternateComputerName[AW]): Add functions.
Unfortunately I don't know which header to put the declarations in.
2003-10-06 09:45:59 +00:00