]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
13 years ago * thread.h (class pthread): Add bool member canceled.
Corinna Vinschen [Sat, 30 Apr 2011 10:20:25 +0000 (10:20 +0000)]
* thread.h (class pthread): Add bool member canceled.
* thread.cc (pthread::pthread): Initialize canceled to false.
(pthread::cancel): Set canceled before setting cancel_event.
(pthread::testcancel): Check for canceled.  Only wait for cancel_event
if canceled is true.  Explain why.
(pthread::_fixup_after_fork): Set canceled to false.

13 years ago * errno.cc (errmap): Sort. Map ERROR_EXE_MACHINE_TYPE_MISMATCH to
Corinna Vinschen [Fri, 29 Apr 2011 18:54:23 +0000 (18:54 +0000)]
* errno.cc (errmap): Sort.  Map ERROR_EXE_MACHINE_TYPE_MISMATCH to
ENOEXEC.

13 years ago * thread.cc: Update comment listing cancellation points per POSIX.
Corinna Vinschen [Fri, 29 Apr 2011 18:29:26 +0000 (18:29 +0000)]
* thread.cc: Update comment listing cancellation points per POSIX.

13 years ago * advapi32.cc: Add comment.
Corinna Vinschen [Fri, 29 Apr 2011 10:38:12 +0000 (10:38 +0000)]
* advapi32.cc: Add comment.
(EqualSid): Remove.
(CopySid): Remove.
(AddAccessAllowedAce): Remove.
(AddAccessDeniedAce): Remove.
(MakeSelfRelativeSD): Remove.
* flock.cc: Replace above functions throughout with their ntdll.dll
equivalent.
* sec_acl.cc: Ditto.
* sec_auth.cc: Ditto.
* sec_helper.cc: Ditto.
* security.cc: Ditto.
* security.h: Ditto.
(RtlEqualSid): Declare.  Explain why.
(RtlCopySid): Ditto.

13 years ago * advapi32.cc (AccessCheck): Remove.
Corinna Vinschen [Fri, 29 Apr 2011 09:48:25 +0000 (09:48 +0000)]
* advapi32.cc (AccessCheck): Remove.
(PrivilegeCheck): Remove.
(OpenThreadToken): Remove.
* fhandler_tty.cc: Replace above functions throughout with their
ntdll.dll equivalent.
* security.cc: Ditto.

13 years ago * ntdll.h (IsEventSignalled): New inline function.
Corinna Vinschen [Fri, 29 Apr 2011 08:27:11 +0000 (08:27 +0000)]
* ntdll.h (IsEventSignalled): New inline function.
* cygthread.cc (cygthread::terminate_thread): Use IsEventSignalled in
place of WaitForSingleObject on event with 0 timeout.
* fhandler.cc (fhandler_base_overlapped::has_ongoing_io): Ditto.
* fhandler_fifo.cc (fhandler_fifo::open_nonserver): Ditto.
(fhandler_fifo::wait): Ditto.
* fhandler_termios.cc (fhandler_termios::bg_check): Ditto.
* select.cc (verify_tty_slave): Ditto.
* thread.cc (pthread::testcancel): Ditto.

13 years ago * advapi32.cc (GetTokenInformation): Remove.
Corinna Vinschen [Fri, 29 Apr 2011 07:34:05 +0000 (07:34 +0000)]
* advapi32.cc (GetTokenInformation): Remove.
(SetTokenInformation): Remove.
* grp.cc: Replace above functions throughout with their ntdll.dll
equivalent.
* sec_auth.cc: Ditto.
* syscalls.cc: Ditto.
* uinfo.cc: Ditto.

13 years ago * posix_ipc.cc (ipc_cond_timedwait): Only wait for pthread's
Corinna Vinschen [Fri, 29 Apr 2011 07:22:07 +0000 (07:22 +0000)]
* posix_ipc.cc (ipc_cond_timedwait): Only wait for pthread's
cancel_event if thread's cancelability isn't disabled.

13 years ago * configure.ac (*-*-dragonfly*, *-*-freebsd*, *-*-netbsd*,
Joseph Myers [Thu, 28 Apr 2011 16:46:34 +0000 (16:46 +0000)]
* configure.ac (*-*-dragonfly*, *-*-freebsd*, *-*-netbsd*,
alpha*-dec-osf*, alpha*-*-linux*, alpha*-*-*, sh-*-linux*,
arm-*-elf* | arm*-*-eabi*, arm*-*-linux-gnueabi, frv-*-*): Remove
cases in libgcj-disabling case statement.
(hppa*64*-*-linux*): Set unsupported_languages instead of
disabling target-zlib.
(hppa*64*-*-*): Restrict case in libgcj-disabling case statement
to hppa*64*-*-hpux*.
(hppa*-*-*): Restrict case in libgcj-disabling case statement to
hppa*-*-hpux*.
(ia64*-*-elf*, ia64*-**-hpux*, i[[3456789]]86-*-elf,
i[[3456789]]86-*-linux*, *-*-cygwin*, i[[3456789]]86-*-interix*,
i[[3456789]]86-*-solaris2*, m32r-*-*, m68k-*-elf*, m68*-*-* |
fido-*-*, powerpc-*-eabi, powerpc-*-eabi* | powerpcle-*-eabi* |
powerpc-*-rtems*, mips*-*-linux*, mips*-*-*, sh-*-* | sh64-*-*,
sparc-*-elf*, sparc64-*-elf*, sparc-*-solaris* |
sparc64-*-solaris* | sparcv9-*-solaris*, *-*-linux* | *-*-gnu* |
*-*-k*bsd*-gnu | *-*-kopensolaris*-gnu, *-*-*): Remove cases in
libgcj-disabling case statement.
* configure: Regenerate.

13 years ago * advapi32.cc (SetSecurityDescriptorDacl): Remove.
Corinna Vinschen [Thu, 28 Apr 2011 15:54:47 +0000 (15:54 +0000)]
* advapi32.cc (SetSecurityDescriptorDacl): Remove.
(SetSecurityDescriptorGroup): Remove.
(SetSecurityDescriptorOwner): Remove.
* pinfo.cc: Replace above functions throughout with their ntdll.dll
equivalent.
* sec_acl.cc: Ditto.
* sec_helper.cc: Ditto.
* security.cc: Ditto.

* sec_helper.cc (__sec_user): Remove old comment.

13 years ago * posix_ipc.cc (ipc_cond_timedwait): Also wait for pthread's
Corinna Vinschen [Thu, 28 Apr 2011 14:44:24 +0000 (14:44 +0000)]
* posix_ipc.cc (ipc_cond_timedwait): Also wait for pthread's
cancel_event, if any.  Call pthread_testcancel if cancel_event has been
signalled.

13 years ago * configure.ac: Disable Java for targets not supporting libffi.
Joseph Myers [Thu, 28 Apr 2011 13:33:02 +0000 (13:33 +0000)]
* configure.ac: Disable Java for targets not supporting libffi.
(*-*-chorusos, *-*-kaos*, am33_2.0-*-linux*, sh*-*-pe|mips*-*-pe):
Remove cases in Java-disabling statement.
(*arm-wince-pe): Change to arm-wince-pe.
(arc-*-*, arm-*-coff, arm-*-pe*, arm-*-riscix*, avr-*-*): Remove
cases in Java-disabling statement.
(bfin-*-*): Don't disable Java again.
(c4x-*-* | tic4x-*-*, tic54x-*-*, cr16-*-*, d10v-*-*, d30v-*-*,
fr30-*-elf*, moxie-*-*, h8300*-*-*, h8500-*-*, hppa1.1-*-osf* |
hppa1.1-*-bsd*, hppa*-*-*elf* | hppa*-*-lites* | hppa*-*-openbsd*,
hppa*-*-pro*, i960-*-*, i[[3456789]]86-*-coff,
i[[3456789]]86-*-pe, i[[3456789]]86-*-sco3.2v5*,
i[[3456789]]86-*-sco*, i[[3456789]]86-*-sysv4*,
i[[3456789]]86-*-beos*, i[[3456789]]86-*-rdos*,
m68hc11-*-*|m6811-*-*|m68hc12-*-*|m6812-*-*): Remove cases in
Java-disabling statement.
(mmix-*-*): Don't disable Java again.
(mt-*-*, powerpc*-*-winnt* | powerpc*-*-pe*, powerpcle-*-solaris*,
powerpc-*-beos*, rs6000-*-lynxos*, rs6000-*-*, m68k-apollo-*,
microblaze*, mips*-sde-elf*, mips*-*-irix5*, mips*-*-bsd*,
sparclet-*-aout* | sparc86x-*-*, sparclite-*-*, sparc-*-sunos4*,
tic6x-*-*, v810-*-*, vax-*-*): Remove cases in Java-disabling
statement.
* configure: Regenerate.

13 years ago Merge from GCC:
Joseph Myers [Thu, 28 Apr 2011 13:26:23 +0000 (13:26 +0000)]
Merge from GCC:

2011-04-18  Jack Howarth  <howarth@bromo.med.uc.edu>

PR lto/48086
* configure.ac: Re-enable LTO on *-apple-darwin9*.
* configure: Regenerate.

13 years ago * configure.ac: Separate cases disabling Java and Java libraries
Joseph Myers [Thu, 28 Apr 2011 13:24:52 +0000 (13:24 +0000)]
* configure.ac: Separate cases disabling Java and Java libraries
from general case over targets.
* configure: Regenerate.

13 years ago * posix_ipc.cc (ipc_cond_timedwait): Remove pthread_testcancel calls.
Corinna Vinschen [Thu, 28 Apr 2011 12:36:27 +0000 (12:36 +0000)]
* posix_ipc.cc (ipc_cond_timedwait): Remove pthread_testcancel calls.
(_mq_send): Add pthread_testcancel call at start of function.
(_mq_receive): Ditto.

13 years ago * cygerrno.h (geterrno_from_nt_status): Declare.
Corinna Vinschen [Thu, 28 Apr 2011 12:13:41 +0000 (12:13 +0000)]
* cygerrno.h (geterrno_from_nt_status): Declare.
* errno.cc (geterrno_from_nt_status): Define.
* flock.cc: Fix copyright dates.
* ntdll.h (enum _TIMER_TYPE): Define.
(PTIMER_APC_ROUTINE): Define.
(NtCancelTimer): Declare.
(NtCreateTimer): Declare.
(NtSetTimer): Declare.
* posix_ipc.cc (ipc_cond_timedwait): Rewrite to make interruptible and
restartable.  Call pthread_testcancel in case of timeout to enable
pthread_cancel on waiting thread.  Replace WFMO timeout with waiting
for a waitable timer.  Explain why.  Replace single call to WFMO with
two calls, one for the event, one for the mutex.  Don't lock mutex in
case of error.
(ipc_cond_signal): Make void function.
(ipc_cond_close): Ditto.
(_mq_send): Immediately return -1 in case of error from
ipc_cond_timedwait.
(_mq_receive): Ditto.

13 years ago * advapi32.cc (GetSecurityDescriptorDacl): Remove.
Corinna Vinschen [Thu, 28 Apr 2011 09:53:11 +0000 (09:53 +0000)]
* advapi32.cc (GetSecurityDescriptorDacl): Remove.
(GetSecurityDescriptorGroup): Remove.
(GetSecurityDescriptorOwner): Remove.
* sec_acl.cc: Replace above functions throughout with their ntdll.dll
equivalent.  Remove redundant debug output.
* sec_auth.cc: Ditto.
* security.cc: Ditto.
* uinfo.cc: Ditto.

13 years ago * advapi32.cc (InitializeAcl): Remove.
Corinna Vinschen [Thu, 28 Apr 2011 09:30:36 +0000 (09:30 +0000)]
* advapi32.cc (InitializeAcl): Remove.
(AddAce): Remove.
(FindFirstFreeAce): Remove.
(GetAce): Remove.
(InitializeSecurityDescriptor): Remove.
(OpenProcessToken): Remove.
* dcrt0.cc: Replace above functions throughout with their ntdll.dll
equivalent.
* fhandler_tty.cc: Ditto.
* flock.cc: Ditto.
* pinfo.cc: Ditto.  Drop unnecessary error handling.
* sec_acl.cc: Ditto.
* sec_auth.cc: Ditto.
* sec_helper.cc: Ditto.
* security.cc: Ditto.

13 years ago * advapi32.cc (InitializeSid): Remove.
Corinna Vinschen [Thu, 28 Apr 2011 08:34:49 +0000 (08:34 +0000)]
* advapi32.cc (InitializeSid): Remove.
(EqualPrefixSid): Remove.
(GetLengthSid): Remove.
(GetSidSubAuthority): Remove.
(GetSidSubAuthorityCount): Remove.
(GetSidIdentifierAuthority): Remove.
* fhandler_disk_file.cc: Remove above functions throughout with their
ntdll.dll equivalent.
* sec_auth.cc: Ditto.
* sec_helper.cc: Ditto.
* security.cc: Ditto.

13 years ago * advapi32.cc (AllocateLocallyUniqueId): Remove.
Corinna Vinschen [Thu, 28 Apr 2011 08:15:56 +0000 (08:15 +0000)]
* advapi32.cc (AllocateLocallyUniqueId): Remove.
* fhandler_disk_file.cc (fhandler_base::open_fs): Replace call to
AllocateLocallyUniqueId with call to NtAllocateLocallyUniqueId;
* posix_ipc.cc (mq_open): Ditto.  Drop error handling for that call.
(sem_open): Ditto.

13 years ago * autoload.cc (GetSecurityInfo): Remove.
Corinna Vinschen [Thu, 28 Apr 2011 07:27:51 +0000 (07:27 +0000)]
* autoload.cc (GetSecurityInfo): Remove.
* ntdll.h (RtlConvertToAutoInheritSecurityObject): Declare.
(RtlDeleteSecurityObject): Declare.
(RtlGetControlSecurityDescriptor): Declare.
(RtlLengthSecurityDescriptor): Declare.
* security.cc (file_mapping): New global variable.
(get_file_sd): Rewrite.  Clean up code.  Get rid of GetSecurityInfo
call.
(alloc_sd): Call RtlSetControlSecurityDescriptor to set
SE_DACL_PROTECTED flag.
(check_file_access): Remove mapping.  Use file_mapping instead.
(check_registry_access): Rename mapping to reg_mapping.
* wincap.cc: Througout, drop use_get_sec_info_on_dirs,
* wincap.h (struct wincaps): Drop use_get_sec_info_on_dirs.

13 years ago2011-04-27 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Wed, 27 Apr 2011 15:04:04 +0000 (15:04 +0000)]
2011-04-27  Tristan Gingold  <gingold@adacore.com>

* xcoff.h (F_FDPR_PROF, F_FDPR_OPTI, F_DSA, F_VARPG)
(STYP_DWARF, SSUBTYP_DWINFO)
(SSUBTYP_DWLINE, SSUBTYP_DWPBNMS, SSUBTYP_DWPBTYP)
(SSUBTYP_DWARNGE, SSUBTYP_DWABREV, SSUBTYP_DWSTR)
(SSUBTYP_DWRNGES, STYP_TDATA, STYP_TBSS, R_TLS, R_TLS_IE)
(R_TLS_LD, R_TLS_LE, R_TLSM, R_TLSML, R_TOCU, R_TOCL, C_DWARF):
New macros.

13 years agogdb/
Jan Kratochvil [Mon, 25 Apr 2011 18:28:53 +0000 (18:28 +0000)]
gdb/
* defs.h (ENUM_BITFIELD): Remove.

include/
* bfdlink.h (ENUM_BITFIELD): Remove.

merge from gcc:
include/
* ansidecl.h (ENUM_BITFIELD): New, from gcc/system.h.

13 years ago * include/fenv.h: Add missing _FENV_H_ define.
Corinna Vinschen [Sun, 24 Apr 2011 11:54:06 +0000 (11:54 +0000)]
* include/fenv.h: Add missing _FENV_H_ define.

13 years ago PR ld/12365
Alan Modra [Sun, 24 Apr 2011 10:02:11 +0000 (10:02 +0000)]
PR ld/12365
PR ld/12696
include/
* bfdlink.h (ENUM_BITFIELD): Define.
(struct bfd_link_hash_entry): Make "type" a bitfield.  Add "non_ir_ref".
(struct bfd_link_callbacks <notice>): Pass bfd_link_hash_entry pointer
rather than "name".
bfd/
* coff-aux.c (coff_m68k_aux_link_add_one_symbol): Update "notice" call.
* linker.c (_bfd_link_hash_newfunc): Clear bitfields.
(_bfd_generic_link_add_one_symbol): Update "notice" call.
* elflink.c (_bfd_elf_merge_symbol): Don't skip weak redefs when
it is a redef of an IR symbol in a real BFD.
ld/
* ldmain.c (notice): Delete "name" param, add "h".
* plugin.c (plugin_notice): Likewise.  Set non_ir_ref.  Handle
redefinitions of IR symbols in real BFDs.
(plugin_multiple_definition, plugin_multiple_common): Delete.
(non_ironly_hash, init_non_ironly_hash): Delete.
(is_visible_from_outside): Traverse entry_symbol chain.
(get_symbols): Use non_ir_ref flag rather than hash lookup.

13 years ago * registry.cc (reg_key::get_dword): Rename from get_int, use DWORD
Corinna Vinschen [Sat, 23 Apr 2011 13:15:46 +0000 (13:15 +0000)]
* registry.cc (reg_key::get_dword): Rename from get_int, use DWORD
rather than int type.  Avoid compiler warning.
(reg_key::set_dword): Rename from set_int, use DWORD rather than int
type.  Change return type to NTSTATUS.
(reg_key::get_string): Change return type to NTSTATUS.
(reg_key::set_string): Ditto.
* registry.h: Accommodate above changes.
* environ.cc (regopt): Test return value of reg_key::get_string as
NTSTATUS.
* sched.cc (sched_rr_get_interval): Change local int vars to DWORD.
Call reg_key::get_dword instead of reg_key::get_int.
* shared.cc (init_installation_root): Test return value of
reg_key::get_string as NTSTATUS.
(shared_info::heap_slop_size): Call reg_key::get_dword rather than
reg_key::get_int.
(shared_info::heap_chunk_size): Ditto.
* shared_info.h (CURR_SHARED_MAGIC): Update.
(class shared_info): Change heap_chunk and heap_slop to DWORD  values.

13 years ago2011-04-21 Chris Sutcliffe <ir0nh34d@users.sf.net>
Chris Sutcliffe [Fri, 22 Apr 2011 00:10:07 +0000 (00:10 +0000)]
2011-04-21  Chris Sutcliffe  <ir0nh34d@users.sf.net>

        * include/windef.h (PACKED): Remove macro.
        * include/wincon.h: Replace PACKED macro with __attribute__((packed)).

        Thanks to Keith Marshall for the fix.

13 years ago2011-04-21 Chris Sutcliffe <ir0nh34d@users.sf.net>
Chris Sutcliffe [Thu, 21 Apr 2011 23:57:10 +0000 (23:57 +0000)]
2011-04-21  Chris Sutcliffe  <ir0nh34d@users.sf.net>

        * include/imagehlp.h (PREAD_PROCESS_MEMORY_ROUTINE): Correct definition.

        Thanks to Safety0ff for the report.

13 years ago * cygtls.cc (_cygtls::init_thread): Drop setting locals.process_logmask.
Corinna Vinschen [Thu, 21 Apr 2011 08:10:28 +0000 (08:10 +0000)]
* cygtls.cc (_cygtls::init_thread): Drop setting locals.process_logmask.
* cygtls.cc (_cygtls::remove): Always free mallocated TLS storage on
thread exit.  Drop freeing locals.process_ident.
* cygtls.h (struct _local_storage): Remove syslog-related members.
* syslog.cc (syslog_globals): New static storage for global syslog
settings.  Use throughout instead of _my_tls.locals.
(openlog): Set new syslog_globals.process_ident value more carefully.
* tlsoffsets.h: Regenerate.

13 years ago * include/sys/poll.h: Include signal.h to get definition of sigset_t.
Corinna Vinschen [Thu, 21 Apr 2011 07:18:42 +0000 (07:18 +0000)]
* include/sys/poll.h: Include signal.h to get definition of sigset_t.

13 years ago* cygheap.cc (init_cygheap::close_ctty): Avoid closing console-cttys since they
Christopher Faylor [Thu, 21 Apr 2011 00:53:55 +0000 (00:53 +0000)]
* cygheap.cc (init_cygheap::close_ctty): Avoid closing console-cttys since they
don't use archetypes and this will just result in double frees.
* dll_init.cc (dll_list::protect): Define.
(dll_list::alloc): Guard list access.
(dll_list::detach): Ditto.
* dll_init.h (dll_list::protect): Declare new muto.
(dll_list::guard): Define/declare function to guard list access.
* fhandler_termios.cc (fhandler_termios::sigflush): Avoid SEGV in pathological
condition of get_ttyp() == NULL.

13 years ago* select.cc (serial_cleanup): Make sure that device_specific_pipe is always
Christopher Faylor [Wed, 20 Apr 2011 15:32:31 +0000 (15:32 +0000)]
* select.cc (serial_cleanup): Make sure that device_specific_pipe is always
deleted regardless of whether it has a unique thread associated with it
(socket_cleanup): Ditto.
(mailslot_cleanup): Ditto.

13 years ago * bootstrap-lto.mk: Remove obsolete requirement.
Eric Botcazou [Wed, 20 Apr 2011 09:27:06 +0000 (09:27 +0000)]
* bootstrap-lto.mk: Remove obsolete requirement.

13 years ago * devices.h: Renumber internal devices so that FH_PROCESS is part of
Corinna Vinschen [Wed, 20 Apr 2011 07:29:10 +0000 (07:29 +0000)]
* devices.h: Renumber internal devices so that FH_PROCESS is part of
the /proc family of virtual devices.
(FH_PROC_MAX_MINOR): Define.
* path.h (isproc_dev): Use FH_PROC_MAX_MINOR rather than FH_PROC.

13 years ago Fix spaces
Corinna Vinschen [Wed, 20 Apr 2011 06:52:57 +0000 (06:52 +0000)]
Fix spaces

13 years ago* select.cc (pipe_cleanup): Make sure that device_specific_pipe is always
Christopher Faylor [Wed, 20 Apr 2011 01:10:54 +0000 (01:10 +0000)]
* select.cc (pipe_cleanup): Make sure that device_specific_pipe is always
deleted regardless of whether it has a unique thread associated with it.

13 years ago PR ld/12365
Alan Modra [Wed, 20 Apr 2011 00:11:29 +0000 (00:11 +0000)]
PR ld/12365
include/
* bfdlink.h (struct bfd_link_callbacks): Modify multiple_definition
and multiple_common parameters to pass in a bfd_link_hash_entry
pointer rather than name,bfd etc. found in the hash entry.
bfd/
* elflink.c (_bfd_elf_merge_symbol): Update multiple_common calls.
* linker.c (_bfd_generic_link_add_one_symbol): Likewise.  Call
multiple_definition regardless of allow_multiple_definition.
* simple.c (simple_dummy_multiple_definition): Update.
* xcofflink.c (xcoff_link_add_symbols): Update multiple_definition
calls.
ld/
* ldmain.c (multiple_definition): Take a bfd_link_hash_entry
pointer arg rather than "name", "obfd", "osec", "oval".  Add code
removed from linker.c.  Hack around xcofflink.c oddity in
passing NULL nbfd.
(multiple_common): Similarly.
* plugin.c (orig_allow_multiple_defs): Delete.
(plugin_call_all_symbols_read): Don't twiddle allow_multiple_definition.
(plugin_multiple_definition): Update.

13 years ago2011-04-02 Jon TURNEY <jon.turney@dronecode.org.uk>
Jon TURNEY [Tue, 19 Apr 2011 18:51:20 +0000 (18:51 +0000)]
2011-04-02  Jon TURNEY  <jon.turney@dronecode.org.uk>

        * thread.cc (semaphore::init): We cannot reliably infer anything from
        the existing contents of sem, so merely warn rather than return EBUSY
        if it looks like we are reinitialising a semaphore.

13 years ago * COPYING: Replace with the GPLv3 definition.
Corinna Vinschen [Tue, 19 Apr 2011 16:52:51 +0000 (16:52 +0000)]
* COPYING: Replace with the GPLv3 definition.
* CYGWIN_LICENSE: Move Cygwin to GPLv3+.  Align text to FSF speak.

13 years ago * autoload.cc (GetConsoleWindow): Drop.
Corinna Vinschen [Tue, 19 Apr 2011 10:15:09 +0000 (10:15 +0000)]
* autoload.cc (GetConsoleWindow): Drop.
(GetSystemWindowsDirectoryW): Drop.
* fhandler_console.cc (beep): Call GetSystemWindowsDirectoryW instead of
GetWindowsDirectoryW.
* uinfo.cc (cygheap_user::env_systemroot): Call
GetSystemWindowsDirectoryW and convert to multibyte on the fly.
* winlean.h (GetWindowsDirectoryW): Redefine to something invalid.
Explain why.

13 years ago * Makefile.in (DLL_IMPORTS): Drop advapi32.dll.
Corinna Vinschen [Tue, 19 Apr 2011 10:02:06 +0000 (10:02 +0000)]
* Makefile.in (DLL_IMPORTS): Drop advapi32.dll.
* autoload.cc: Enable autoloading advapi32 functions.
* environ.cc (regopt): Use wide char arguments in reg_key functions.
* fhandler_console.cc (beep): Ditto.  Use WCHAR throughout.
* registry.cc (reg_key): Rewrite reg_key class to use native NT registry
functions.  Use WCHAR string parameters throughout.  Use PCWSTR rather
than const WCHAR.  Drop multibyte char functionality.  Drop unused
methods.
(get_registry_hive_path): Use RtlQueryRegistryValues to fetch path from
registry.
(load_registry_hive): Drop useless check for user hive being available.
Load hive using NtLoadKey.
* registry.h: Accommodate above changes.
* sched.cc (sched_rr_get_interval): Use wide char arguments in reg_key
functions.
* shared.cc (init_installation_root): Ditto.
(shared_info::init_obcaseinsensitive): Use RtlQueryRegistryValues to
fetch obcaseinsensitive value.
(shared_info::heap_slop_size): Use wide char arguments in reg_key
functions.
(shared_info::heap_chunk_size): Ditto.
* syscalls.cc (gethostid): Ditto.
* winsup.h (__WIDE): Define.
(_WIDE): Define.
* libc/minires-os-if.c (get_registry_dns_items): Don't fetch values
from registry.  Just extract them from given UNICODE_STRING parameter.
(get_registry_dns): Fetch all registry values at once using
RtlQueryRegistryValues.

13 years ago * net.cc (get_ipv4fromreg_ipcnt): Rearrange to fetch all registry
Corinna Vinschen [Tue, 19 Apr 2011 08:59:30 +0000 (08:59 +0000)]
* net.cc (get_ipv4fromreg_ipcnt): Rearrange to fetch all registry
values at once using RtlQueryRegistryValues.
(get_ipv4fromreg): Ditto.

13 years ago * fhandler_registry.cc (fhandler_registry::fstat): Use RegQueryInfoKeyW.
Corinna Vinschen [Tue, 19 Apr 2011 08:45:36 +0000 (08:45 +0000)]
* fhandler_registry.cc (fhandler_registry::fstat): Use RegQueryInfoKeyW.

13 years ago * fhandler_proc.cc (read_value): Remove definition.
Corinna Vinschen [Tue, 19 Apr 2011 08:39:38 +0000 (08:39 +0000)]
* fhandler_proc.cc (read_value): Remove definition.
(print): Simplify.
(format_proc_cpuinfo): Drop useless call to GetSystemInfo.  Rearrange
to use Rtl registry functions.  Rename dwOldThreadAffinityMask to
orig_affinity_mask.

13 years ago * libc/include/sys/signal.h (_sig_func_ptr): Define with int parameter
Corinna Vinschen [Tue, 19 Apr 2011 08:02:59 +0000 (08:02 +0000)]
* libc/include/sys/signal.h (_sig_func_ptr): Define with int parameter
per POSIX.  Explain in comment.

13 years ago * gas/arm/arch7.s: Fix typo basepri_max should be basepri_mask.
Nick Clifton [Tue, 19 Apr 2011 07:27:31 +0000 (07:27 +0000)]
* gas/arm/arch7.s: Fix typo basepri_max should be basepri_mask.
* gas/arm/mrs-msr-thumb-v7e-m.s: Likewise.
* gas/arm/arch7.d: Update expected disassembly.
* gas/arm/attr-march-armv7.d: Remove Microcontroller tag.
* gas/arm/blx-bad.d: Only run for ELF based targets.
* gas/arm/mrs-msr-thumb-v6t2.d: Likewise.
* gas/arm/vldm-arm.d: Likewise.
* gas/arm/mrs-msr-thumb-v7-m.d: Likewise.
Remove qualifiers from PSR and IAPSR regsiter names.
* gas/arm/mrs-msr-thumb-v7e-m.d: Likewise.
* gas/arm/thumb2_bcond.d: Update expected disassembly to allow for
relaxing of branch insns.
* gas/arm/thumb32.d: Fix whitespace problems in disassembly.

* config/tc-arm.c (parse_psr): Use selected_cpu not cpu_variant to
detect M-profile targets.
(do_t_swi): Exclude v7 and higher variants from arm_ext_os test.
(v7m_psrs): Fix typo: basepri_max should be basepri_mask.

* arm-dis.c (psr_name): Revert previous delta.

* arm.h (ARM_AEXT_V7_ARM): Remove ARM_EXT_OS from bitmask.

13 years ago * localtime.cc (tzload): Don't change global timezone information
Corinna Vinschen [Mon, 18 Apr 2011 19:07:18 +0000 (19:07 +0000)]
* localtime.cc (tzload): Don't change global timezone information
when called from gmtime or gmtime_r.
(tzparse): Ditto.

13 years ago * cygtls.cc (_cygtls::remove): Always close sockevt handle.
Corinna Vinschen [Mon, 18 Apr 2011 15:51:54 +0000 (15:51 +0000)]
* cygtls.cc (_cygtls::remove): Always close sockevt handle.

13 years agofix typo
Christopher Faylor [Mon, 18 Apr 2011 14:02:02 +0000 (14:02 +0000)]
fix typo

13 years ago * new-features.sgml (ov-new1.7.10): Document ppoll.
Corinna Vinschen [Mon, 18 Apr 2011 12:00:13 +0000 (12:00 +0000)]
* new-features.sgml (ov-new1.7.10): Document ppoll.

13 years ago * cygwin.din (ppoll): Export.
Corinna Vinschen [Mon, 18 Apr 2011 12:00:05 +0000 (12:00 +0000)]
* cygwin.din (ppoll): Export.
* poll.cc (ppoll): Implement.
* posix.sgml (std-gnu): Add ppoll.
* include/cygwin/version.h: Bump API minor number.
* include/sys/poll.h (ppoll): Declare.

13 years ago * fhandler_socket.cc (fhandler_socket::evaluate_events): Handle the
Corinna Vinschen [Mon, 18 Apr 2011 11:44:17 +0000 (11:44 +0000)]
* fhandler_socket.cc (fhandler_socket::evaluate_events): Handle the
FD_CLOSE event specially when called from accept.  Explain why.
(fhandler_socket::shutdown): Fake success on not-connected socket and
trigger socket event if the read side of a socket is affected.  Explain
why.
* poll.cc (poll): Check for saw_shutdown_read on sockets to generate
POLLHUP as well.

13 years ago * Fix various copyrights.
Corinna Vinschen [Mon, 18 Apr 2011 11:26:37 +0000 (11:26 +0000)]
* Fix various copyrights.

13 years ago * setfacl.c (getaclentry): Allow extra colon in mask and other entries.
Corinna Vinschen [Mon, 18 Apr 2011 10:23:21 +0000 (10:23 +0000)]
* setfacl.c (getaclentry): Allow extra colon in mask and other entries.

13 years ago* * signal.cc (_pinfo::kill): Set this_process_state when process exists.
Christopher Faylor [Mon, 18 Apr 2011 01:46:57 +0000 (01:46 +0000)]
* * signal.cc (_pinfo::kill): Set this_process_state when process exists.

13 years ago* signal.cc (_pinfo::kill): Return 0 when attempting to test for existence of
Christopher Faylor [Sun, 17 Apr 2011 21:45:28 +0000 (21:45 +0000)]
* signal.cc (_pinfo::kill): Return 0 when attempting to test for existence of
an existed process which has not yet been reaped.

13 years ago* cygheap.h (init_cygheap::ctty): Use base class so that console can join in
Christopher Faylor [Sun, 17 Apr 2011 19:56:25 +0000 (19:56 +0000)]
* cygheap.h (init_cygheap::ctty): Use base class so that console can join in
the fun.
* dtable.cc (dtable::stdio_init): Remove special-case call to set_console_ctty
().
* exceptions.cc (sigpacket::process): Conditionally flush terminal input on
certain signals.
* fhandler.h (fhandler_console::get_tty_stuff): Make non-static.
(fhandler_termios::get_ttyp): Move here.
(fhandler_termios::sigflush): Declare.
(fhandler_tty_common::get_ttyp): Delete.
* fhandler_console.cc (fhandler_console::get_tty_stuff): Pass this as "arch"
argument.
(set_console_ctty): Delete.
(tty_list::get_tty): Just return pointer to shared console region, delaying
get_tty_stuff until open().
(fhandler_console::init): Treat NULL handle as signifying that console should
be opened with O_NOCTTY flag.  Rename handle argument to the more common 'h'.
* fhandler_termios.cc (fhandler_termios::sigflush): Define.
* fhandler_tty.cc (handler_tty_master::init_console): Pass NULL as first
argument to fhandler_console::init.
* pinfo.cc (_pinfo::set_ctty): Change third parameter to fhandler_termios *.
Add extra debugging.
* pinfo.h (_pinfo::set_ctty): Change third parameter to fhandler_termios *.
* sigproc.cc (handle_sigsuspend): Don't special-case non-main threads.

13 years agostrchrnul: avoid segv
Eric Blake [Fri, 15 Apr 2011 20:26:05 +0000 (20:26 +0000)]
strchrnul: avoid segv

* libc/string/strchrnul.c (strchrnul): Fix strchrnul.

13 years agogdb: sim: add style fixes lost between git->cvs
Michael Frysinger [Fri, 15 Apr 2011 16:23:19 +0000 (16:23 +0000)]
gdb: sim: add style fixes lost between git->cvs

13 years ago * elf-bfd.h (struct sdt_note): New struct.
Nick Clifton [Fri, 15 Apr 2011 11:14:01 +0000 (11:14 +0000)]
* elf-bfd.h (struct sdt_note): New struct.
(struct elf_obj_tdata) <sdt_note_head>: New field.
* elf.c (elfobj_grok_stapsdt_note_1): New function.
(elfobj_grok_stapsdt_note): Likewise.
(elf_parse_notes): Added code to treat SystemTap note
sections.
* common.h (NT_STAPSDT): New define.

13 years ago* thread.cc (pthread_setschedprio): New function.
Yaakov Selkowitz [Fri, 15 Apr 2011 09:22:14 +0000 (09:22 +0000)]
* thread.cc (pthread_setschedprio): New function.
* include/pthread.h (pthread_setschedprio): Declare.
* include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.
* cygwin.din (pthread_setschedprio): Export.
* posix.sgml (std-notimpl) Move pthread_setschedprio from here...
(std-susv4) ...to here.

13 years agogdb: sim: add command line completion
Michael Frysinger [Fri, 15 Apr 2011 03:43:45 +0000 (03:43 +0000)]
gdb: sim: add command line completion

For now, only the sub-command name is completed.  No support yet for
completing options to that command.  But even this is a huge step as
currently, nothing is completed, and the basic "help sim" is fairly
obtuse as to what exactly the "sim" command accepts.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
13 years ago2011-04-12 Jon TURNEY <jon.turney@dronecode.org.uk>
Jon TURNEY [Wed, 13 Apr 2011 11:42:43 +0000 (11:42 +0000)]
2011-04-12  Jon TURNEY  <jon.turney@dronecode.org.uk>

        * utils.sgml (strace): Fix a pair of exchanged lines in usage text.

13 years ago PR gas/12296
Nick Clifton [Mon, 11 Apr 2011 15:23:09 +0000 (15:23 +0000)]
PR gas/12296
* arm.h (ARM_AEXT_V7_ARM): Add ARM_EXT_OS.

* gas/arm/arch7.s: Add SVC insn.
* gas/arm/arch7.d: Add disassembly of SVC insn.
* gas/arm/attr-march-armv7.d: Add arch profile tag.

13 years ago* new-features.sgml (ov-new1.7.10): Document /proc/swaps.
Yaakov Selkowitz [Mon, 11 Apr 2011 02:10:35 +0000 (02:10 +0000)]
* new-features.sgml (ov-new1.7.10): Document /proc/swaps.

13 years ago* fhandler_proc.cc (proc_tab): Add /proc/swaps virtual file.
Yaakov Selkowitz [Mon, 11 Apr 2011 02:09:43 +0000 (02:09 +0000)]
* fhandler_proc.cc (proc_tab): Add /proc/swaps virtual file.
(format_proc_swaps): New function.

13 years ago* Makefile.in: Move srcdir definition before others which uses it.
Christopher Faylor [Thu, 7 Apr 2011 06:07:21 +0000 (06:07 +0000)]
* Makefile.in: Move srcdir definition before others which uses it.

13 years ago* dll_init.cc (reserve_at, release_at): New functions.
Christopher Faylor [Wed, 6 Apr 2011 13:58:00 +0000 (13:58 +0000)]
* dll_init.cc (reserve_at, release_at): New functions.
(load_after_fork): If the DLL was loaded higher than the required address,
assume that it loaded at it's base address and also reserve memory there to
force it to be relocated.

13 years ago * configure.ac (build_tools): Remove build-byacc.
Joseph Myers [Wed, 6 Apr 2011 12:21:21 +0000 (12:21 +0000)]
* configure.ac (build_tools): Remove build-byacc.
(host_libs): Remove mmalloc.
(host_tools): Remove byacc make patch prms send-pr ash bash bzip2
autoconf automake libtool diff rcs fileutils shellutils time
textutils wdiff find uudecode hello tar gzip indent recode release
sed perl gawk findutils gettext zip.
(libgcj): Remove target-qthreads.
(target_tools): Remove target-examples target-gperf.
(YACC): Don't handle building byacc.
* configure: Regenerate.
* Makefile.def (ash, autoconf, automake, bash, byacc, bzip2, diff,
dosutils, examples, fileutils, find, findutils, gawk, gettext,
gnuserv, gperf, gzip, hello, indent, libtool, make, mmalloc,
patch, perl, prms, qthreads, rcs, recode, release, sed, send-pr,
shellutils, tar, textutils, time, uudecode, wdiff, zip): Don't
handle building components.
* Makefile.in: Regenerate.

13 years agoSync config.sub from upstream.
Ralf Wildenhues [Tue, 5 Apr 2011 06:03:02 +0000 (06:03 +0000)]
Sync config.sub from upstream.

/:
* config.sub: Sync from upstream.

13 years ago* include/cygwin/types.h: Move #include <sys/sysmacros.h> to
Yaakov Selkowitz [Tue, 5 Apr 2011 00:53:17 +0000 (00:53 +0000)]
* include/cygwin/types.h: Move #include <sys/sysmacros.h> to
end of header so that it gets the dev_t typedef.
* include/sys/sysmacros.h (gnu_dev_major, gnu_dev_minor,
gnu_dev_makedev): Prototype and define as inline functions.
(major, minor, makedev): Redefine in terms of gnu_dev_*.

13 years ago* include/cygwin/types.h: Move multiple inclusion guards to
Yaakov Selkowitz [Tue, 5 Apr 2011 00:50:19 +0000 (00:50 +0000)]
* include/cygwin/types.h: Move multiple inclusion guards to
beginning and end of header.

13 years ago* Makefile.in: Move Makefile.common include earlier to fix problems with
Christopher Faylor [Mon, 4 Apr 2011 15:01:43 +0000 (15:01 +0000)]
* Makefile.in: Move Makefile.common include earlier to fix problems with
relative ${srcdir} path which confuses make.

13 years ago * new-features.sgml (ov-new1.7.10): Document dropped NT4 support.
Corinna Vinschen [Mon, 4 Apr 2011 12:25:37 +0000 (12:25 +0000)]
* new-features.sgml (ov-new1.7.10): Document dropped NT4 support.

13 years ago Drop NT4 support.
Corinna Vinschen [Mon, 4 Apr 2011 12:23:36 +0000 (12:23 +0000)]
Drop NT4 support.
* autoload.cc (DnsQuery_A): Fatal if not available.
(DnsRecordListFree): Ditto.
(DsGetDcNameW): Ditto.
(NetGetAnyDCName): Remove.
(NetGetDCName): Remove.
(EnumProcessModules): Fatal if not available.
(GetModuleFileNameExW): Ditto.
(GetModuleInformation): Ditto.
(GetProcessMemoryInfo): Ditto.
(QueryWorkingSet): Ditto.
(LsaRegisterLogonProcess): Ditto.
* fenv.cc (_feinitialise): Drop supports_sse condition.
* fhandler_disk_file.cc (path_conv::isgood_inode): Fix comment.
(fhandler_base::fstat_by_name): Drop has_fileid_dirinfo condition.
(fhandler_disk_file::opendir): Ditto.
* fhandler_netdrive.cc (fhandler_netdrive::readdir): Fix comment.
* fhandler_proc.cc (format_proc_partitions): Drop NT4-only code.
* fhandler_process.cc (get_process_state): Ditto.
* kernel32.cc (GetWindowsDirectoryW): Remove.
(GetWindowsDirectoryA): Remove.
* miscfuncs.cc (nice_to_winprio): Drop NT4-only code.
* mount.cc (fs_info::update): Fix comments.
* net.cc (get_2k_ifs): Drop NT4-only code.
* sec_auth.cc (get_logon_server): Ditto.
(lsaauth): Drop NT4-specific error handling.
* security.cc (alloc_sd): Set SE_DACL_PROTECTED unconditionally.
* select.cc (select_stuff::wait): Always use MWMO_INPUTAVAILABLE.
(peek_windows): Drop NT4-only condition in call to PeekMessage.
* syscalls.cc (gethostid): Remove NT4-only workaround.
* wincap.cc: Througout, drop has_dacl_protect,
has_broken_if_oper_status, has_process_io_counters,
has_terminal_services, has_extended_priority_class, has_guid_volumes,
has_fileid_dirinfo, has_mwmo_inputavailable and supports_sse from
wincaps.
(wincap_nt4sp4): Remove.
(wincap_minimal): Set to wincap_2000.
(wincapc::init): Rely on availability of OSVERSIONINFOEX structure.
Treat error from GetVersionEx as fatal.  Treat NT4 as fatal.
* wincap.h (struct wincaps): Drop has_dacl_protect,
has_broken_if_oper_status, has_process_io_counters,
has_terminal_services, has_extended_priority_class, has_guid_volumes,
has_fileid_dirinfo, has_mwmo_inputavailable and supports_sse flags
and methods.
* winlean.h (GetWindowsDirectoryW) Define as GetSystemWindowsDirectoryW.
(GetWindowsDirectoryA): Define as GetSystemWindowsDirectoryA.

13 years ago * dtable.cc (dtable::init_std_file_from_handle): Fix a comment to
Corinna Vinschen [Mon, 4 Apr 2011 11:24:20 +0000 (11:24 +0000)]
* dtable.cc (dtable::init_std_file_from_handle): Fix a comment to
reflect the current state.

13 years ago* new-features.sgml (ov-new1.7.10): Document additional information
Yaakov Selkowitz [Mon, 4 Apr 2011 11:14:20 +0000 (11:14 +0000)]
* new-features.sgml (ov-new1.7.10): Document additional information
in /proc/version.

13 years ago* Makefile.in (fhandler_proc_CFLAGS): Define USERNAME, HOSTNAME,
Yaakov Selkowitz [Mon, 4 Apr 2011 11:12:48 +0000 (11:12 +0000)]
* Makefile.in (fhandler_proc_CFLAGS): Define USERNAME, HOSTNAME,
and GCC_VERSION.
* fhandler_proc.cc (format_proc_version):  Add build machine and GCC
version information as on Linux.

13 years ago* devices.h (fh_devices): Define FH_PROC_MIN_MINOR.
Yaakov Selkowitz [Mon, 4 Apr 2011 10:14:27 +0000 (10:14 +0000)]
* devices.h (fh_devices): Define FH_PROC_MIN_MINOR.
Reorder major-0 devices so that all /proc directories fall
between FH_PROC and FH_PROC_MIN_MINOR.
* path.h (isproc_dev): Redefine accordingly.

13 years ago * include/winnt.h (DOMAIN_ALIAS_RID_REMOTE_DESKTOP_USERS): Add.
Corinna Vinschen [Mon, 4 Apr 2011 09:10:41 +0000 (09:10 +0000)]
* include/winnt.h (DOMAIN_ALIAS_RID_REMOTE_DESKTOP_USERS): Add.

13 years ago * passwd.c (main): Add the ability to specify a username for the -R
Corinna Vinschen [Mon, 4 Apr 2011 09:09:43 +0000 (09:09 +0000)]
* passwd.c (main): Add the ability to specify a username for the -R
command.
* utils.sgml: Document the aforementioned change.

13 years ago * cygserver_setpwd.h (setlsapwd): Add username parameter to declaration.
Corinna Vinschen [Mon, 4 Apr 2011 09:04:00 +0000 (09:04 +0000)]
* cygserver_setpwd.h (setlsapwd): Add username parameter to declaration.
* external.cc (cygwin_internal): In the CW_SET_PRIV_KEY case, fetch
additional username parameter.
* setlsapwd.cc (setlsapwd): Add username parameter.  Allow admin to
set the hidden password for other users.

13 years agoAdd ChangeLog missing in previous checkin
Corinna Vinschen [Mon, 4 Apr 2011 09:00:53 +0000 (09:00 +0000)]
Add ChangeLog missing in previous checkin

13 years ago * sec_auth.cc (get_user_groups): Mark well-known groups as well-known.
Corinna Vinschen [Mon, 4 Apr 2011 09:00:02 +0000 (09:00 +0000)]
* sec_auth.cc (get_user_groups): Mark well-known groups as well-known.
(get_user_local_groups): Ditto.
(verify_token): Drop useless label.
* sec_helper.cc (cygsid::get_sid): Check for well-known SID if
well_known isn't set.
* security.h (well_known_sid_type): New inline function.

13 years ago * autoload.cc (FindFirstVolumeA): Remove.
Corinna Vinschen [Sat, 2 Apr 2011 11:43:43 +0000 (11:43 +0000)]
* autoload.cc (FindFirstVolumeA): Remove.
(FindNextVolumeA): Remove.
(FindVolumeClose): Remove.
(GetVolumeNameForVolumeMountPointA): Remove.
* ntdll.h (NtFlushBuffersFile): Declare.
* syscalls.cc (sync_worker): Rewrite using native NT functions.
(sync): Ditto.

13 years ago * fhandler_proc.cc (format_proc_partitions): Express length in WCHAR
Corinna Vinschen [Sat, 2 Apr 2011 11:32:55 +0000 (11:32 +0000)]
* fhandler_proc.cc (format_proc_partitions): Express length in WCHAR
size.

13 years ago * autoload.cc (GetExtendedTcpTable): Remove.
Corinna Vinschen [Sat, 2 Apr 2011 11:30:27 +0000 (11:30 +0000)]
* autoload.cc (GetExtendedTcpTable): Remove.
(GetTcpTable): Remove.
(CharNextExA): Remove.
(FindWindowA): Remove.
(ShowWindowAsync): Remove.
* dcrt0.cc (disable_dep): Remove unused function.
(dll_crt0_0): Drop comment babbling about TS & DEP.
* fhandler_socket.cc (address_in_use): Remove unused function.
* wincap.cc: Throughout, drop ts_has_dep_problem from wincaps.
(wincapc::init): Drop code setting ts_has_dep_problem flag.
* wincap.h (struct wincaps): Drop ts_has_dep_problem flags and method.

13 years agoupdate copyright
Christopher Faylor [Fri, 1 Apr 2011 20:41:32 +0000 (20:41 +0000)]
update copyright

13 years ago* new-features.sgml (ov-new1.7.10): Document /proc/sysvipc/.
Yaakov Selkowitz [Fri, 1 Apr 2011 19:49:16 +0000 (19:49 +0000)]
* new-features.sgml (ov-new1.7.10): Document /proc/sysvipc/.

13 years agoImplement /proc/sysvipc/*
Yaakov Selkowitz [Fri, 1 Apr 2011 19:48:19 +0000 (19:48 +0000)]
Implement /proc/sysvipc/*
* devices.in (dev_procsysvipc_storage): Add.
* devices.cc: Regenerate.
* devices.h (fh_devices): Add FH_PROCSYSVIPC.
* dtable.cc (build_fh_pc): Add case FH_PROCSYSVIPC.
* fhandler.h (class fhandler_procsysvipc): Declare.
(fhandler_union): Add __procsysvipc.
* fhandler_proc.cc (proc_tab): Add sysvipc virt_directory.
* fhandler_procsysvipc.cc: New file.
* Makefile.in (DLL_OFILES): Add fhandler_procsysvipc.o.
* path.h (isproc_dev): Add FH_PROCSYSVIPC to conditional.

13 years ago * configure.ac (avr-*-*): Add comment about why libssp is disabled.
Joseph Myers [Fri, 1 Apr 2011 19:16:09 +0000 (19:16 +0000)]
* configure.ac (avr-*-*): Add comment about why libssp is disabled.
(microblaze*): Don't disable libssp.
* configure: Regenerate.

13 years ago * configure.ac: Remove code setting CONFIG_SHELL, config_shell and
Joseph Myers [Fri, 1 Apr 2011 13:44:53 +0000 (13:44 +0000)]
* configure.ac: Remove code setting CONFIG_SHELL, config_shell and
moveifchange.
* configure: Regenerate.
* Makefile.tpl: Use @SHELL@ not @config_shell@.
* Makefile.in: Regenerate.

13 years ago * configure.ac (*-*-sysv4*): Don't enable libgomp.
Joseph Myers [Fri, 1 Apr 2011 13:42:02 +0000 (13:42 +0000)]
* configure.ac (*-*-sysv4*): Don't enable libgomp.
(alpha*-*-*vms*, i[[34567]]86-*-sco3.2v5*, mn10300-*-*,
powerpc-*-chorusos*, powerpc*-*-eabi*, powerpc*-*-sysv*,
powerpc*-*-kaos*, s390x-ibm-tpf*, sparc64-*-elf*, v850*-*-*,
xtensa*-*-elf*, *-*-beos*, *-*-elf*, *-*-netware*, *-*-rtems*,
*-*-sysv[[45]]*, *-*-vxworks*, *-wrs-windiss): Remove
md_exec_prefix cases.
* configure: Regenerate.

13 years ago * Makefile.in (DLL_OFILES): Add avapi32.o.
Corinna Vinschen [Fri, 1 Apr 2011 12:46:09 +0000 (12:46 +0000)]
* Makefile.in (DLL_OFILES): Add avapi32.o.
* advapi32.cc: New file.
* autoload.cc: Add block of remaining advapi32 functions used by
Cygwin.  Keep commented out.  Explain why.

13 years ago * configure.ac: Separate cases disabling target-libssp,
Joseph Myers [Fri, 1 Apr 2011 12:00:58 +0000 (12:00 +0000)]
* configure.ac: Separate cases disabling target-libssp,
target-libiberty, target-libstdc++-v3 and Fortran from general
case over targets.
* configure: Regenerate.

13 years ago * configure.ac (*-*-chorusos): Don't disable libgcj.
Joseph Myers [Fri, 1 Apr 2011 11:58:07 +0000 (11:58 +0000)]
* configure.ac (*-*-chorusos): Don't disable libgcj.
(*-*-freebsd[[12]] | *-*-freebsd[[12]].* | *-*-freebsd*aout*):
Remove case.
(*-*-kaos*): Don't disable GCC libraries, zlib or fastjar.
(arm-*-coff): Don't disable libgcj.
(arm*-*-linux-gnueabi): Remove useless assignment.
(arm-*-riscix*): Don't disable libgcj.
(bfin-*-*): Don't enable target-bsp and target-cygmon depending on
configuration.
(c4x-*-* | tic4x-*-*): Don't disable GCC libraries.
(c54x*-*-*): Remove case.
(tic54x-*-*): Don't disable GCC or GCC libraries.
(cris-*-* | crisv32-*-*): Don't handle *-*-aout.  Change *-*-elf
to *.
(d10v-*-*): Don't disable GCC libraries.
(d30v-*-*): Don't disable libgcj.
(h8500-*-*): Don't disable GCC libraries.
(i960-*-*): Don't disable libgcj.
(i[[3456789]]86-*-linux*): Don't handle *-*-*libc1*.
(i[[3456789]]86-*-sco3.2v5*, i[[3456789]]86-*-sco*,
i[[3456789]]86-*-sysv4*, i[[3456789]]86-*-beos*): Don't disable
libgcj.
(m68k-*-coff*): Remove case.
(mmix-*-*): Don't disable libgloss on host.
(mn10200-*-*, mn10300-*-*): Remove cases.
(powerpc*-*-winnt* | powerpc*-*-pe*, powerpcle-*-solaris*,
powerpc-*-beos*, m68k-apollo-*, mips*-*-irix5*, mips*-*-bsd*):
Don't disable libgcj.
(romp-*-*): Remove case.
(sparclite-*-*, sparc-*-sunos4*): Don't disable libgcj.
(sparc-*-solaris2.[[0-6]] | sparc-*-solaris2.[[0-6]].*): Remove
case.
(v810-*-*): Don't disable GCC libraries.
(v850*-*-*, vax-*-vms, xtensa*-*-*): Remove cases.
(ip2k-*-*): Don't disable GCC libraries.
* configure: Regenerate.

13 years ago* new-features.sgml (ov-new1.7.10): /proc/loadavg now shows
Yaakov Selkowitz [Fri, 1 Apr 2011 09:01:47 +0000 (09:01 +0000)]
* new-features.sgml (ov-new1.7.10): /proc/loadavg now shows
current running/total processes count.

13 years ago* fhandler_proc.cc (format_proc_loadavg): Add running/total
Yaakov Selkowitz [Fri, 1 Apr 2011 09:00:21 +0000 (09:00 +0000)]
* fhandler_proc.cc (format_proc_loadavg): Add running/total
processes as fourth component of output.
* fhandler_process.cc (get_process_state): Make non-static.
Add FIXME about generating an 'O' flag.

13 years ago * fhandler_random.cc (fhandler_dev_random::crypt_gen_random):
Corinna Vinschen [Fri, 1 Apr 2011 08:41:26 +0000 (08:41 +0000)]
* fhandler_random.cc (fhandler_dev_random::crypt_gen_random):
Use CryptAcquireContextW.
* ntdll.h (STATUS_PROCEDURE_NOT_FOUND): Define.
* sec_auth.cc (open_local_policy): Rename NTSTATUS variable ret to
status.  Drop usage of LsaNtStatusToWinError.
(verify_token): Call NtQuerySecurityObject instead of
GetKernelObjectSecurity.
(create_token): Rename NTSTATUS variable ret to status.  Rename ret2 to
sub_status.  Drop usage of LsaNtStatusToWinError.  In case LsaLogonUser
fails, report the sub_status as well.

13 years ago * libc/strptime.c: Remove misleading comment.
Corinna Vinschen [Fri, 1 Apr 2011 08:37:10 +0000 (08:37 +0000)]
* libc/strptime.c: Remove misleading comment.

This page took 0.084156 seconds and 5 git commands to generate.