]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
22 years ago* cygthread.cc (cygthread::stub): Don't create event for long-running threads.
Christopher Faylor [Sun, 13 Oct 2002 18:16:33 +0000 (18:16 +0000)]
* cygthread.cc (cygthread::stub): Don't create event for long-running threads.
Initialize thread_sync event here which is used to Suspend using an event
rather than relying on SuspendThread/ResumeThread.
(cygthread::init): Save handle to runner thread for future termination.
(cygthread::cygthread): Only resume thread when it is actually suspended.
Otherwise signal thread completion event.
(cygthread::terminate): Forcibly terminate runner thread and any helper
threads.  Call DisableThreadLibrary calls if execing.
* cygthread.h (cygthread::thread_sync): Declare.
* dcrt0.cc (do_exit): Eliminate calls to obsolete window_terminate and
shared_terminate.
* exceptions.cc (events_terminate): Don't bother closing title_mutex since it
is going away anyway.
* pinfo.cc (_pinfo::exit): Call cygthread::terminate to ensure that threads are
shut down before process exit or otherwise strange races seem to occur.
* shared.cc (shared_terminate): Eliminate.
* shared.h (shared_terminate): Eliminate declaration.
* winsup.h (window_terminate): Eliminate declaration.
* spawn.cc (spawn_guts): Call cygthread::terminate early in process if execing.
Call DisableThreadLibrary calls if execing.
* window.cc (Winmain): Call ExitThread to force exit.
(window_terminate): Eliminate.
* dcrt0.cc (do_exit): Track exit state more closely.

22 years ago * include/objbase.h: Include rpc.h and rpcndr.h
Danny Smith [Sun, 13 Oct 2002 03:11:58 +0000 (03:11 +0000)]
* include/objbase.h: Include rpc.h and rpcndr.h
before header guard.

22 years ago * sh.h: Add SH TLS relocs.
Kaz Kojima [Fri, 11 Oct 2002 14:36:03 +0000 (14:36 +0000)]
* sh.h: Add SH TLS relocs.

22 years agoFix attribution. (Tsk, tsk. Force of habit, sorry.)
Richard Sandiford [Fri, 11 Oct 2002 10:30:49 +0000 (10:30 +0000)]
Fix attribution.  (Tsk, tsk.  Force of habit, sorry.)

22 years ago * libc/include/sys/config.h (SIZE_T_SMALLER_THAN_LONG): Undefine.
Richard Sandiford [Fri, 11 Oct 2002 10:28:30 +0000 (10:28 +0000)]
* libc/include/sys/config.h (SIZE_T_SMALLER_THAN_LONG): Undefine.
* libc/stdlib/mallocr.c (long_sub_size_t): Define in a way that
doesn't require the SIZE_T_SMALLER_THAN_LONG macro.

22 years ago * include/olectl.h (PROPPAGEINFO): Change type of
Danny Smith [Fri, 11 Oct 2002 03:40:06 +0000 (03:40 +0000)]
* include/olectl.h (PROPPAGEINFO): Change type of
field cb to ULONG.

22 years ago2002-10-11 Steven Edwards <Steven_Ed4153@yahoo.com>
Danny Smith [Fri, 11 Oct 2002 03:38:14 +0000 (03:38 +0000)]
2002-10-11  Steven Edwards  <Steven_Ed4153@yahoo.com>

* lib/ntdll.def (RtlAcquireResourceExclusive,
RtlAcquireResourceShared, RtlDeleteResource,
RtlInitializeResource, RtlReleaseResource,
RtlTimeToSecondsSince1970) : Added missing exports.
* include/olectl.h (PROPPAGEINFO): Change type of
field cb to ULONG.

22 years ago * include/stdint.h (INT64_C, UINT64_C ): Append suffix to let
Danny Smith [Fri, 11 Oct 2002 02:21:56 +0000 (02:21 +0000)]
* include/stdint.h (INT64_C, UINT64_C ): Append suffix to let
macros work with C89.
(INTMAX_C, UINTMAX_C): Likewise.

22 years ago * include/string.h (strcasecmp): Make extern __inline__.
Danny Smith [Fri, 11 Oct 2002 01:41:31 +0000 (01:41 +0000)]
* include/string.h (strcasecmp): Make extern __inline__.
(strncasecmp): Likewise.
(wcscmpi): Likewise.

22 years ago* window.cc (gethwnd): Use SetThreadPriority method.
Christopher Faylor [Thu, 10 Oct 2002 05:31:43 +0000 (05:31 +0000)]
* window.cc (gethwnd): Use SetThreadPriority method.

22 years ago* Makefile.in (new-cygwin1.dll): Reorganize library order.
Christopher Faylor [Thu, 10 Oct 2002 05:23:23 +0000 (05:23 +0000)]
* Makefile.in (new-cygwin1.dll): Reorganize library order.
* dcrt0.cc (do_exit): Move thread stuff after vfork stuff or threads are
terminated during vfork.
* sigproc.cc (proc_terminate): Grab proc lock prior to signalling subproc
thread exit to avoid an extra "wait-for-thread-to-exit".

22 years ago* cygthread.cc (cygthread::stub): Don't create an event for "cygself" threads.
Christopher Faylor [Wed, 9 Oct 2002 05:55:40 +0000 (05:55 +0000)]
* cygthread.cc (cygthread::stub): Don't create an event for "cygself" threads.
Assume that they exit via an ExitThread call.
* cygthread.h (cygthread::SetThreadPriority): New function.
(cygthread::zap_h): New function.
* dcrt0.cc (do_exit): Move cygthread::terminate earlier and establish
exit_state guard.
* fhandler.h (fhandler_tty_master::output_thread): Delete.
* fhandler_tty.cc (fhandler_tty_master::init): Set priority for threads via
method.  Zap handles when done.  Don't treat process_output specially.
(process_output): Call ExitThread directly.
(fhandler_tty_master::fixup_after_fork): Don't worry about output_thread.
(fhandler_tty_master::fixup_after_exec): Ditto.
* sigproc.cc (proc_terminate): Don't detach from hwait_subproc.  Just let it
exit.
(sigproc_init): Close thread handle after initialization.
(wait_sig): Use GetCurrentThread() as SetThreadPriority call rather than
*event* handle.  Call ExitThread directly on termination.
(wait_subproc): Call ExitThread directly on termination.
* tty.cc (tty_list::terminate): Don't attempt t detach from output_thread.

22 years ago* cygheap.cc (dup_now): Make fatal error a little more informative.
Christopher Faylor [Wed, 9 Oct 2002 04:08:05 +0000 (04:08 +0000)]
* cygheap.cc (dup_now): Make fatal error a little more informative.
(cygheap_setup_for_child): Detect when default size of shared region is less
than the current size and allocate that much.
(_cbrk): Just return NULL on inability to allocate.
(_cmalloc): Ditto.
* cygheap.h (CYGHEAPSIZE): Change size to reflect newer, tinier fhandler sizes.
* spawn.cc (av::error): New element, reflects potential errno from cmalloc.
(av::~av): Don't free NULL pointers.
(av::replace0_maybe): Detect out-of-memory conditions.
(av::dup_maybe): Ditto.
(av::dup_all): Ditto.
(av::unshift): Ditto.
(spawn_guts): Set errno and return if argv creation ran into problems.
* fhandler.h (fhandler_union): Change member names to something safer.
* fhandler_console.cc (fhandler_console::get_tty_stuff): Always set
fhandler_console::dev_state regardless of whether shared region is initialized.
* cygthread.cc (cygthread::runner): Use ExitThread rather than return
(planning for future).

22 years ago2002-10-08 Heiko Gerdau <hg@technosis.de>
Danny Smith [Wed, 9 Oct 2002 00:16:22 +0000 (00:16 +0000)]
2002-10-08  Heiko Gerdau  <hg@technosis.de>

* include/oleacc.h: New file.
* include/winuser.h (ENDSESSION_LOGOFF) Add define.
(OBJID_*) Add defines.
* lib/uuid.c: Add DEFINE_GUID for IID_IAccessible.
* lib/test.c: Include oleacc.h.

22 years ago2002-10-08 Heiko Gerdau <hg@technosis.de>
Danny Smith [Tue, 8 Oct 2002 20:28:14 +0000 (20:28 +0000)]
2002-10-08  Heiko Gerdau  <hg@technosis.de>

* include/tchar.h (_tchdir. _tgetcwd, _tgetdcwd.
_tmkdir, _trmdir, _tstat): Add ASCII and UNICODE
mappings.

22 years ago2002-10-07 Joel Sherrill <joel@OARcorp.com>
Joel Sherrill [Tue, 8 Oct 2002 13:09:05 +0000 (13:09 +0000)]
2002-10-07 Joel Sherrill <joel@OARcorp.com>

* libc/sys/rtems/crt0.c: Add even more symbols so gcc() can link
dummy programs.

22 years ago2002-10-07 Joel Sherrill <joel@OARcorp.com>
Joel Sherrill [Tue, 8 Oct 2002 13:03:07 +0000 (13:03 +0000)]
2002-10-07 Joel Sherrill <joel@OARcorp.com>

* libc/include/pthread.h: Define PTHREAD_CANCELED.

22 years ago2002-10-07 Joel Sherrill <joel@OARcorp.com>
Joel Sherrill [Tue, 8 Oct 2002 13:01:02 +0000 (13:01 +0000)]
2002-10-07 Joel Sherrill <joel@OARcorp.com>

* libc/machine/hppa/DEFS.h, libc/machine/hppa/pcc_prefix.s,
libc/machine/hppa/setjmp.S, libc/machine/hppa/DEFS.h: Make this
compile with current GNU tools.

22 years ago* fhandler.h (dev_console): New class.
Christopher Faylor [Tue, 8 Oct 2002 06:16:16 +0000 (06:16 +0000)]
* fhandler.h (dev_console): New class.
(fhandler_console::dev_state): New class element.
(fhandler_console::mouse_aware): Use dev_state element.
(fhandler_console::get_tty_stuff): Declare new function.
* fhandler_console.cc: Use dev_state fhandler_console element, throughout.
(fhandler_console::get_tty_stuff): Move to fhandler_console class.  Incorporate
dev_console information.  Move constructor stuff here.

22 years ago* dtable.cc (dtable::init_std_file_from_handle): Try to mimic standard open
Christopher Faylor [Tue, 8 Oct 2002 02:44:35 +0000 (02:44 +0000)]
* dtable.cc (dtable::init_std_file_from_handle): Try to mimic standard open
behavior with files redirected from stdin/stdout/stderr, i.e., fmode settings
take precedence over mount settings.

22 years ago2002-10-07 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Mon, 7 Oct 2002 23:10:13 +0000 (23:10 +0000)]
2002-10-07  Jeff Johnston  <jjohnstn@redhat.com>

        * Makefile.am: Add EXTRA_DIRS to allow future dependencies on
        the build library.
        * configure.in: Ditto.
        * Makefile.in: Regenerated.
        * configure: Ditto.
        * libc/sys/linux/Makefile.am: Add EXTRA_SUBDIRS and EXTRA_SUBLIBS
        for specifying configured libraries/directories.
        * libc/sys/linux/configure.in: Ditto.
        * libc/sys/linux/Makefile.in: Regenerated.
        * libc/sys/linux/configure: Ditto.

22 years ago* dtable.cc (unknown_file): New variable.
Christopher Faylor [Mon, 7 Oct 2002 20:06:16 +0000 (20:06 +0000)]
* dtable.cc (unknown_file): New variable.
(dtable::init_std_file_from_handle): Don't set binmode if we couldn't determine
the actual file name on stdin/stdout/stderr.
(handle_to_fn): Return unknown_file when can't determine filename.

22 years agoAdd tic4x target.
Nick Clifton [Mon, 7 Oct 2002 16:40:56 +0000 (16:40 +0000)]
Add tic4x target.

22 years ago * mips/ddb.ld: KEEP .init and .fini.
Richard Sandiford [Mon, 7 Oct 2002 16:24:00 +0000 (16:24 +0000)]
* mips/ddb.ld: KEEP .init and .fini.
* mips/ddb-kseg0.ld: Likewise.

22 years ago* dcrt0.cc (do_exit): Call DisableThreadLibraryCalls since we don't need to
Christopher Faylor [Mon, 7 Oct 2002 04:12:54 +0000 (04:12 +0000)]
* dcrt0.cc (do_exit): Call DisableThreadLibraryCalls since we don't need to
track thread detaches.
* init.cc (dll_entry): Reorganize slightly.  Fix api_fatal message.

22 years ago * mingwex/math/powil.c: Rename powil to __powil.
Danny Smith [Sun, 6 Oct 2002 23:26:43 +0000 (23:26 +0000)]
* mingwex/math/powil.c: Rename powil to __powil.
* mingwex/math/powl.c: Adjust declaration and call
to __powil. Remove comment on powil.
* mingwex/math/powi.c: New file.
* mingwex/math/powif.c: New file.
* mingwex/math/pow.c: New file.
* mingwex/math/cephes_mconf.h. Add double and float
versions of constants.
(polevl): Add double precision function.
(p1evl): Likewise.
* mingwex/Makefile.in (MATH_DISTFILES): Add pow.c,
powi.c, powif.c.
(MATH_OBJS): Add pow.o, powi.o, powif.o.

22 years ago2002-10-06 Casper Hornstrup <chorns@it.dk>
Earnie Boyd [Sun, 6 Oct 2002 22:18:26 +0000 (22:18 +0000)]
2002-10-06  Casper Hornstrup  <chorns@it.dk>

* include/ddk: New subdir.
* lib/ddk: Ditto.
* include/ddk/(atm.h, batclass.h, cfg.h, cfgmgr32.h, d4drvif.h,
d4iface.h, ddkmapi.h, hidclass.h, hidpi.h, hidusage.h, mcd.h,
miniport.h, minitape.h, mountdev.h, mountmgr.h, ndis.h,
ndisquid.h, ndistapi.h, ndisvan.h, netevent.h, netpnp.h,
netdev.h, ntapi.h, ntdd8042.h, ntddbeep.h, ntddcdrm.h,
ntddcdvd.h, ntddchgr.h, ntdddisk.h, ntddk.h, ntddkbd.h,
ntddmou.h, ntddndis.h, ntddpar.h, ntddpcm.h, ntddscsi.h,
ntddser.h, ntddstor.h, ntddtape.h, ntddtdi.h, ntddvdeo.h,
ntddvol.h, ntifs.h, ntpoapi.h, ntstatus.h, parallel.h, pfhook.h,
poclass.h, scsi.h, scsiscan.h, scsiwmi.h, smbus.h, srb.h,
storport.h, tdi.h, tdiinfo.h, tdikrnl.h, tdistat.h, tvout.h,
upssvc.h, usb.h, usb100.h, usbcamdi.h, usbdi.h, usbioctl.h,
usbiodef.h, usbscan.h, usbuser.h, video.h, videoagp.h, win2k.h,
winddi.h, winddk.h, winnt4.h, winxp.h, ws2san.h,
xfilter.h): New files.
* lib/ddk/(Makefile.in, apcups.def, cfgmgr32.def, dxapi.def,
hal.def, hid.def, hidparse.def, mcd.def, ndis.def, ntoskrnl.def,
scsiport.def, tdi.def, usbcamd.def, usbcamd2.def, videoprt.def,
win32k.def): Ditto.

22 years ago* cygthread.cc (cygthread::stub): Very minor cleanup.
Christopher Faylor [Sun, 6 Oct 2002 01:01:58 +0000 (01:01 +0000)]
* cygthread.cc (cygthread::stub): Very minor cleanup.
(cygthread::stub): Report overflows in cygwin thread pool when DEBUGGING is on
and special environment variable is not set.
(cygthread::terminate): Set event only when event actually exists.
* exceptions.cc (signal_exit): Set priority of main thread to low before
setting current thread to high.

22 years agowhitespace
Christopher Faylor [Sat, 5 Oct 2002 17:47:25 +0000 (17:47 +0000)]
whitespace

22 years ago2002-10-04 Steven Edwards <Steven_Ed4153@yahoo.com>
Danny Smith [Fri, 4 Oct 2002 04:39:26 +0000 (04:39 +0000)]
2002-10-04  Steven Edwards  <Steven_Ed4153@yahoo.com>

* lib/ntdll.def (NtAccessCheck, NtAdjustPrivilegesToken,
NtCreateKey, NtDeleteKey, NtDeleteValueKey, NtEnumerateKey,
NtEnumerateValueKey, NtOpenKey, NtOpenProcessToken,
NtOpenThreadToken, NtQueryInformationToken, NtQueryKey,
NtQueryValueKey, NtSetSecurityObject, NtSetValueKey,
RtlAddAccessAllowedAce, RtlCreateAcl,
RtlCreateSecurityDescriptor, RtlCreateUnicodeStringFromAsciiz,
RtlGetAce, RtlGetControlSecurityDescriptor,
RtlGetDaclSecurityDescriptor,RtlGetGroupSecurityDescriptor,
RtlGetOwnerSecurityDescriptor,RtlGetSaclSecurityDescriptor,
RtlImpersonateSelf, RtlIsTextUnicode, RtlLargeIntegerAdd,
RtlLengthSecurityDescriptor, RtlMakeSelfRelativeSD,
RtlMultiByteToUnicodeN RtlMultiByteToUnicodeSize,
RtlOpenCurrentUser, RtlSetDaclSecurityDescriptor,
RtlSetGroupSecurityDescriptor, RtlSetOwnerSecurityDescriptor,
RtlSetSaclSecurityDescriptor, RtlValidSecurityDescriptor,
ZwAccessCheck, ZwAdjustPrivilegesToken, ZwCreateKey,
ZwDeleteValueKey, ZwEnumerateKey, ZwEnumerateValueKey,
ZwOpenKey, ZwOpenProcessToken, ZwOpenThreadToken,
ZwQueryInformationToken, ZwQueryKey, ZwQueryValueKey
ZwSetSecurityObject, ZwSetValueKey): Added missing exports.

ChangeLog whitespace cleanup.

22 years ago2002-10-04 "KJK::Hyperion" <noog@libero.it>
Danny Smith [Fri, 4 Oct 2002 04:25:00 +0000 (04:25 +0000)]
2002-10-04  "KJK::Hyperion"  <noog@libero.it>

*include/windef.h (WPARAM): Update typedef.
(LPARAM): Ditto.
(LRESULT): Ditto.

22 years ago2002-10-04 "KJK::Hyperion" <noog@libero.it>
Danny Smith [Fri, 4 Oct 2002 04:18:55 +0000 (04:18 +0000)]
2002-10-04  "KJK::Hyperion"  <noog@libero.it>

* include/shlobj.h (CSIDL_*): Add defines.

22 years ago2002-10-03 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 3 Oct 2002 19:33:08 +0000 (19:33 +0000)]
2002-10-03  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/reent.h: Update documentation at start of file.

22 years ago2002-10-03 Nathanael Nerode <neroden@gcc.gnu.org>
Nathanael Nerode [Thu, 3 Oct 2002 19:08:53 +0000 (19:08 +0000)]
2002-10-03  Nathanael Nerode  <neroden@gcc.gnu.org>

* Makefile.tpl: Make SET_LIB_PATH substitution more autoconfy.
* Makefile.tpl: Make RPATH_ENVVAR substitution more autoconfy.
* configure.in: Make SET_LIB_PATH substitution more autoconfy.
* configure.in: Make RPATH_ENVVAR substitution more autoconfy.
* Makefile.in: Regenerate.

22 years ago * include/cytpe.h (_imp____mbcur_max): Add missing ';'.
Danny Smith [Thu, 3 Oct 2002 00:51:25 +0000 (00:51 +0000)]
* include/cytpe.h (_imp____mbcur_max): Add missing ';'.
(_imp____mbcur_max_dll): Likewise.

22 years ago * include/fcntl.h (_fmode): Remove declarations and
Danny Smith [Thu, 3 Oct 2002 00:49:21 +0000 (00:49 +0000)]
* include/fcntl.h (_fmode): Remove declarations and
compatibility defines.
(_setmode, setmode): Remove prototypes.
* include/stdlib (_fmode): Add declarations and
compatibility defines.  Change type to int.
* include/io.h (_setmode, setmode): Add prototypes.
* samples/fmode/all.c: Adjust includes.
* samples/fmode/test.c: Likewise.
* crt1.c (_CRT_fmode): Declare as int.
* CRTfmode.c (_CRT_fmode): Likewise.

* include/stdlib: Remove comment about MB_CUR_MAX.

22 years ago2002-10-02 Nathanael Nerode <neroden@gcc.gnu.org>
Nathanael Nerode [Wed, 2 Oct 2002 19:14:25 +0000 (19:14 +0000)]
2002-10-02  Nathanael Nerode  <neroden@gcc.gnu.org>

* Makefile.tpl: Eliminate reference to all-gui, all-libproc.
* Makefile.in: Regenerate.

22 years ago2002-10-02 Nathanael Nerode <neroden@gcc.gnu.org>
Nathanael Nerode [Wed, 2 Oct 2002 06:29:04 +0000 (06:29 +0000)]
2002-10-02  Nathanael Nerode  <neroden@gcc.gnu.org>

* Makefile.def: Remove order dependency comments.
* Makefile.tpl: Add explicit install-install dependencies.
* Makefile.in: Regenerate.

22 years ago2002-10-02 Nathanael Nerode <neroden@gcc.gnu.org>
Nathanael Nerode [Wed, 2 Oct 2002 06:22:08 +0000 (06:22 +0000)]
2002-10-02  Nathanael Nerode  <neroden@gcc.gnu.org>

* Makefile.tpl: Remove material now in src-release.  (Finally!)
* Makefile.in: Regenerate.

22 years ago2002-10-02 Nathanael Nerode <neroden@gcc.gnu.org>
Nathanael Nerode [Wed, 2 Oct 2002 05:37:46 +0000 (05:37 +0000)]
2002-10-02  Nathanael Nerode  <neroden@gcc.gnu.org>

* configure: Restore my original patch by syncing with gcc version.

22 years ago2002-10-02 Nathanael Nerode <neroden@gcc.gnu.org>
Nathanael Nerode [Wed, 2 Oct 2002 05:22:11 +0000 (05:22 +0000)]
2002-10-02  Nathanael Nerode  <neroden@gcc.gnu.org>

* Bring following over from gcc:

2002-09-30  Ulrich Weigand  <uweigand@de.ibm.com>

* configure.in (s390*-*-linux*): Enable libgcj.

22 years ago2002-10-02 Nathanael Nerode <neroden@gcc.gnu.org>
Nathanael Nerode [Wed, 2 Oct 2002 04:40:23 +0000 (04:40 +0000)]
2002-10-02  Nathanael Nerode  <neroden@gcc.gnu.org>

* Makefile.in: Regenerate.  This really ought to fix things. :sigh:

22 years ago * configure: Move stray lines back to where they belong.
Alan Modra [Wed, 2 Oct 2002 03:47:32 +0000 (03:47 +0000)]
* configure: Move stray lines back to where they belong.

22 years ago * include/stdlib.h (_imp____mbcur_max): add missing ';'.
Danny Smith [Wed, 2 Oct 2002 03:43:33 +0000 (03:43 +0000)]
* include/stdlib.h (_imp____mbcur_max): add missing ';'.
(_imp____mbcur_max_dll): Likewise.

22 years ago * configure: Move stray line back to where it belongs.
Alan Modra [Wed, 2 Oct 2002 02:41:36 +0000 (02:41 +0000)]
* configure: Move stray line back to where it belongs.

22 years ago2002-10-01 Nathanael Nerode <neroden@gcc.gnu.org>
Nathanael Nerode [Tue, 1 Oct 2002 23:35:42 +0000 (23:35 +0000)]
2002-10-01  Nathanael Nerode  <neroden@gcc.gnu.org>

* Makefile.tpl: Insert configure-target target, for src-release.

22 years ago2002-10-01 Nathanael Nerode <neroden@gcc.gnu.org>
Nathanael Nerode [Tue, 1 Oct 2002 23:21:51 +0000 (23:21 +0000)]
2002-10-01  Nathanael Nerode  <neroden@gcc.gnu.org>

* configure: Finish reverting change which Andrew Cagney started
reverting.  Should fix bustage.

22 years ago2002-10-01 Nathanael Nerode <neroden@gcc.gnu.org>
Nathanael Nerode [Tue, 1 Oct 2002 22:58:14 +0000 (22:58 +0000)]
2002-10-01  Nathanael Nerode  <neroden@gcc.gnu.org>

* src-release (BINUTILS_SUPPORT_DIRS): Add cpu directory.

22 years ago2002-10-01 Nathanael Nerode <neroden@gcc.gnu.org>
Nathanael Nerode [Tue, 1 Oct 2002 22:34:16 +0000 (22:34 +0000)]
2002-10-01  Nathanael Nerode  <neroden@gcc.gnu.org>

* src-release: New file.  Contains material for making net
releases for gdb, binutils, et al., formerly in Makefile.in.

22 years ago2002-10-01 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Mon, 30 Sep 2002 21:06:05 +0000 (21:06 +0000)]
2002-10-01  Robert Collins <rbtcollins@hotmail.com>

        * thread.cc (pthread_key::keys): Copy on fork. Add a comment explaining
        why.
        (pthreadNull::_instance): Copy on fork. Absolutely no state exists
        in pthreadNull.

22 years ago * cygserver_transport_pipes.cc (transport_layer_pipes::accept):
Conrad Scott [Mon, 30 Sep 2002 18:31:56 +0000 (18:31 +0000)]
* cygserver_transport_pipes.cc (transport_layer_pipes::accept):
Remove trailing \n from debug_printf.

22 years agowhitespace
Christopher Faylor [Mon, 30 Sep 2002 15:17:44 +0000 (15:17 +0000)]
whitespace

22 years ago* thread.cc (pthread_mutex::initMutex): Remove \n from api_fatal.
Christopher Faylor [Mon, 30 Sep 2002 15:11:55 +0000 (15:11 +0000)]
* thread.cc (pthread_mutex::initMutex): Remove \n from api_fatal.

22 years ago* thread.cc (pthread::precreate): Use explicit "no inherit" option when
Christopher Faylor [Mon, 30 Sep 2002 15:05:00 +0000 (15:05 +0000)]
* thread.cc (pthread::precreate): Use explicit "no inherit" option when
creating mutex.
(pthread_mutex::nativeMutex::init): Ditto.
(semaphore::semaphore): Ditto.

22 years ago* thread.cc (pthread_key::keys): Do not copy on fork.
Christopher Faylor [Mon, 30 Sep 2002 15:00:52 +0000 (15:00 +0000)]
* thread.cc (pthread_key::keys): Do not copy on fork.
(pthread_mutex::mutexInitializationLock): Ditto.
(pthreadNull::_instance): Ditto.

22 years ago* exceptions.cc (unused_sig_wrapper): Still need additional level of
Christopher Faylor [Mon, 30 Sep 2002 14:18:43 +0000 (14:18 +0000)]
* exceptions.cc (unused_sig_wrapper): Still need additional level of
indirection when setting errno.

22 years agoFix date in last commit.
Richard Sandiford [Mon, 30 Sep 2002 12:08:05 +0000 (12:08 +0000)]
Fix date in last commit.

22 years ago[include/opcode/]
Richard Sandiford [Mon, 30 Sep 2002 11:58:09 +0000 (11:58 +0000)]
[include/opcode/]
* mips.h: Update comment for new opcodes.
(OP_MASK_VECBYTE, OP_SH_VECBYTE): New.
(OP_MASK_VECALIGN, OP_SH_VECALIGN): New.
(INSN_4111, INSN_4120, INSN_5400, INSN_5500): New.
(CPU_VR4120, CPU_VR5400, CPU_VR5500): New.
(OPCODE_IS_MEMBER): Handle the new CPU_* values and INSN_* flags.
Don't match CPU_R4111 with INSN_4100.

[opcodes/]
* mips-dis.c (print_insn_arg): Handle '[', ']', 'e' and '%'.
(mips_isa_type): Handle bfd_mach_mips4120, bfd_mach_mips5400
and bfd_mach_mips5500.
* mips-opc.c (V1): Include INSN_4111 and INSN_4120.
(N411, N412, N5, N54, N55): New convenience defines.
(mips_builtin_opcodes): Add vr4120, vr5400 and vr5500 opcodes.
Change dmadd16 and madd16 from V1 to N411.

22 years ago[include/elf]
Richard Sandiford [Mon, 30 Sep 2002 11:53:55 +0000 (11:53 +0000)]
[include/elf]
* mips.h (E_MIPS_MACH_4120, E_MIPS_MACH_5400, E_MIPS_MACH_5500): New.

[bfd/]
* archures.c (bfd_mach_mips4120, bfd_mach_mips5400): New.
(bfd_mach_mips5500): New.
* cpu-mips.c (I_mips4120, I_mips5400, I_mips5500): New.
(arch_info_struct): Add corresponding entries here.
* elfxx-mips.c (_bfd_elf_mips_mach): Handle E_MIPS_MACH_4120,
E_MIPS_MACH_5400 and E_MIPS_MACH_5500.
(_bfd_mips_elf_final_write_processing): Handle bfd_mach_mips4120,
bfd_mach_mips5400 and bfd_mach_mips5500.
(_bfd_mips_elf_mach_extends_p): New function.
(_bfd_mips_elf_merge_private_bfd_data): Use it to help merge
the EF_MIPS_MACH flags.
* bfd-in2.h: Regenerate.

22 years ago2002-09-30 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Mon, 30 Sep 2002 11:43:43 +0000 (11:43 +0000)]
2002-09-30  Robert Collins <rbtcollins@hotmail.com>

        * thread.cc (pthread_mutex::initMutex): Use the wrapper init call.
        (pthread_mutex::nativeMutex::init): Implement.
        (pthread_mutex::nativeMutex::lock): Ditto.
        (pthread_mutex::nativeMutex::unlock): Ditto.
        (pthread_mutex::init): Use the wrapper lock and unlockcalls.
        * thread.h (pthread_mutex): Move mutexInitializationLock into a
        nativeMutex wrapper class.

22 years agoAdd cpu directory.
Nick Clifton [Mon, 30 Sep 2002 10:34:06 +0000 (10:34 +0000)]
Add cpu directory.

22 years agoRemove \n from calls to strace class printfs throughout.
Christopher Faylor [Mon, 30 Sep 2002 04:35:18 +0000 (04:35 +0000)]
Remove \n from calls to strace class printfs throughout.

22 years agoremove newline
Christopher Faylor [Mon, 30 Sep 2002 04:27:32 +0000 (04:27 +0000)]
remove newline

22 years ago* exceptions.cc (unused_sig_wrapper): Accommodate newer compilers.
Christopher Faylor [Mon, 30 Sep 2002 04:26:52 +0000 (04:26 +0000)]
* exceptions.cc (unused_sig_wrapper): Accommodate newer compilers.

22 years ago* security.cc (allow_ntsec): Default to zero.
Christopher Faylor [Mon, 30 Sep 2002 03:05:13 +0000 (03:05 +0000)]
* security.cc (allow_ntsec): Default to zero.
* environ.cc (environ_init): Set allow_ntsec to TRUE by default, assuming OS
allows it.

22 years ago* cygpath.cc (close_arg): Remove unused static.
Christopher Faylor [Mon, 30 Sep 2002 03:01:17 +0000 (03:01 +0000)]
* cygpath.cc (close_arg): Remove unused static.
* mkgroup.c (enum_local_users): Avoid compiler warning.
(enum_users): Ditto.
* mkpasswd.c: Ditto throughout.
* ssp.c: Ditto throughout.

22 years ago* environ.cc (environ_init): Avoid a compiler warning.
Christopher Faylor [Mon, 30 Sep 2002 02:51:22 +0000 (02:51 +0000)]
* environ.cc (environ_init): Avoid a compiler warning.
* path.cc (path_conv::check): Ditto.
* path.h (path_conv::operator int): Ditto.
* regex/engine.c: Ditto throughout.
* regex/regcomp.c: Ditto throughout.
* regex/regexec.c: Ditto throughout.

22 years ago* thread.cc: Use "%E" in *_printf throughout rather than calling GetLastError.
Christopher Faylor [Mon, 30 Sep 2002 01:19:45 +0000 (01:19 +0000)]
* thread.cc: Use "%E" in *_printf throughout rather than calling GetLastError.
GNUify comments.
(__pthread_mutex_lock): Don't return error on EBUSY since that just means that
the mutex has already been initialized.

22 years agoGNUify slightly.
Christopher Faylor [Sun, 29 Sep 2002 23:56:57 +0000 (23:56 +0000)]
GNUify slightly.

22 years ago2002-09-30 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Sun, 29 Sep 2002 23:47:45 +0000 (23:47 +0000)]
2002-09-30  Robert Collins <rbtcollins@hotmail.com>

        * pthread.cc (pthread_mutex_init): Use new pthread_mutex::init.
        * thread.cc: Change __pthread_mutex_init to pthread_mutex::init
        throughout.
        (MTinterface::Init): Initialise pthread_mutex support.
        (pthread_mutex::mutexInitializationLock): Instantiate.
        (pthread_mutex::initMutex): New method.
        (__pthread_cond_dowait): Don't dereference untrusted pointers.
        Use the new pthread_mutex::init method.
        (__pthread_condattr_init): Don't dereference untrusted pointers.
        (__pthread_mutex_init): Rename to pthread_mutex::init.
        Lock and release mutexInitializationLock to prevent races on
        mutex initialisation.
        * thread.h (pthread_mutex::initMutex): New method, initialise
        pthread_mutex supporting state on process initialisation.
        (pthread_mutex::init): Initialise a single mutex.
        (pthread_mutex::mutexInitializationLock): A win32 mutex for
        syncronising pthread mutex initialisation.
        (__pthread_mutex_init): Remove this.

22 years ago2002-09-29 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Sun, 29 Sep 2002 17:19:28 +0000 (17:19 +0000)]
2002-09-29  Andrew Cagney  <ac131313@redhat.com>

Revert below (note that src does not contain Makefile.tpl):
* Makefile.tpl: Make subsituted variables more autoconfy.
* Makefile.in: Regenerate.

22 years ago2002-09-29 Nathanael Nerode <neroden@gcc.gnu.org>
Nathanael Nerode [Sun, 29 Sep 2002 16:12:36 +0000 (16:12 +0000)]
2002-09-29  Nathanael Nerode  <neroden@gcc.gnu.org>

* configure: Revert accidentally applied changes.

22 years ago2002-09-29 Nathanael Nerode <neroden@gcc.gnu.org>
Nathanael Nerode [Sun, 29 Sep 2002 15:59:34 +0000 (15:59 +0000)]
2002-09-29  Nathanael Nerode  <neroden@gcc.gnu.org>

* Makefile.tpl: Make more autoconf-friendly.
* Makefile.in: Regenerate.
* configure: Make substitution more autoconf-like.

2002-09-28  Richard Earnshaw  <rearnsha@arm.com>

* configure.in (arm-*-coff, strongarm-*-coff, xscale-*-coff): Use a
single entry to handle all these.
(arm-*-elf, strongarm-*-elf, xscale-*-elf): Likewise.  Also enable
libjava on arm-*-elf.

22 years agoAdd missing ChangeLog entry.
Christopher Faylor [Sun, 29 Sep 2002 03:15:55 +0000 (03:15 +0000)]
Add missing ChangeLog entry.

22 years ago* cygthread.h (cygthread::terminate): Declare new function.
Christopher Faylor [Sun, 29 Sep 2002 02:19:35 +0000 (02:19 +0000)]
* cygthread.h (cygthread::terminate): Declare new function.
(cygthread::initialized): Change to 'int'.
* cygthread.cc (cygthread::stub): Exit thread if initialized < 0.
(cygthread::new): Ditto.
(cygthread::runner): Ditto.  Set initialized using xor to preserve sign.
(cygthread::terminate): New function.
* dcrt0.cc (do_exit): Call cygthread::terminate.

22 years ago* Makefile.in (check): Be more defensive when creating testsuite config.status.
Christopher Faylor [Sat, 28 Sep 2002 03:15:44 +0000 (03:15 +0000)]
* Makefile.in (check): Be more defensive when creating testsuite config.status.

22 years ago * configure.in (powerpc-*-darwin*): Don't configure BFD, TK, or the
Geoffrey Keating [Sat, 28 Sep 2002 01:44:34 +0000 (01:44 +0000)]
* configure.in (powerpc-*-darwin*): Don't configure BFD, TK, or the
things that depend on them.

22 years agoThe v850 does not have a ctbp register.
Jim Wilson [Fri, 27 Sep 2002 20:26:00 +0000 (20:26 +0000)]
The v850 does not have a ctbp register.
Add myself to write-after-approval section of MAINTAINERS file.
* libc/sys/sysnecv850/crt0.S (start): Delete v850 code for initializing
the ctbp register.

22 years ago2002-09-27 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 27 Sep 2002 20:17:52 +0000 (20:17 +0000)]
2002-09-27  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/ctype/jp2uc.c: Change to use multiple arrays in jp2uc.h.
        Also convert to EUCJP before using arrays.  For values not in
        the conversion arrays, return WEOF.
        * libc/ctype/jp2uc.h: Change from one array to a number of
        arrays to account for the fact that the originating table
        is not contiguous for the input values since some are invalid.

22 years agobfd/
Jakub Jelinek [Fri, 27 Sep 2002 19:29:16 +0000 (19:29 +0000)]
bfd/
* reloc.c: Add x86-64 TLS relocs.
* bfd-in2.h, libbfd.h: Rebuilt.
* elf64-x86-64.c (x86_64_elf_howto): Fix size fields for 32-bit
relocs.  Add TLS relocs.
(x86_64_reloc_map): Add TLS relocs.
(elf64_x86_64_info_to_howto): Adjust for added TLS relocs.
(struct elf64_x86_64_link_hash_entry): Add tls_type field.
(GOT_UNKNOWN, GOT_NORMAL, GOT_TLS_GD, GOT_TLS_IE): Define.
(elf64_x86_64_hash_entry): Define.
(struct elf64_x86_64_obj_tdata): New.
(elf64_x86_64_tdata, elf64_x86_64_local_got_tls_type): Define.
(struct elf64_x86_64_link_hash_table): Add tls_ld_got.
(link_hash_newfunc): Initialize tls_type.
(elf64_x86_64_link_hash_table_create): Initialize tls_ld_got.
(elf64_x86_64_copy_indirect_symbol): Swap tls_type if necessary.
(elf64_x86_64_mkobject): New.
(elf64_x86_64_elf_object_p): Allocate struct elf64_x86_64_obj_tdata.
(elf64_x86_64_tls_transition): New.
(elf64_x86_64_check_relocs): Add r_type variable and use it.
Handle TLS relocs.
(elf64_x86_64_gc_sweep_hook): Handle TLS relocs.
(allocate_dynrelocs): Allocate GOT space for TLS relocs.
(elf64_x86_64_size_dynamic_sections): Likewise.
(dtpoff_base, tpoff): New.
(elf64_x86_64_relocate_section): Handle TLS relocs.
(elf64_x86_64_finish_dynamic_symbol): Only handle non-TLS GOT
entries.
(bfd_elf64_mkobject): Define.

* elf32-i386.c (elf_i386_check_relocs) [R_386_TLS_LE]: Set
DF_STATIC_TLS if shared.
gas/
* config/tc-i386.c (tc_i386_fix_adjustable): Add x86-64 TLS relocs.
Define them if not BFD_ASSEMBLER.
(lex_got): Handle @tlsgd, @dtpoff and @tpoff in 64-bit mode, add
@tlsld.
(md_apply_fix3): No addend for BFD_RELOC_X86_64_TLSGD,
BFD_RELOC_X86_64_TLSLD and BFD_RELOC_X86_64_GOTTPOFF.
(tc_gen_reloc): Handle x86-64 TLS relocs.
include/
* elf/x86-64.h: Add TLS relocs.
ld/testsuite/
* lib/ld-lib.exp (run_ld_link_tests): Add.
* ld-sh/sh64/sh64.exp (run_ld_link_tests, regexp_diff,
file_contents): Remove.
(sh64tests): Add 6th field to the tests array.
* ld-i386/i386.exp (run_ld_link_tests): Remove.
* ld-x86-64/x86-64.exp: New.
* ld-x86-64/tlsbin.dd: New test.
* ld-x86-64/tlsbinpic.s: New test.
* ld-x86-64/tlsbin.rd: New test.
* ld-x86-64/tlsbin.s: New test.
* ld-x86-64/tlsbin.sd: New test.
* ld-x86-64/tlsbin.td: New test.
* ld-x86-64/tlslib.s: New test.
* ld-x86-64/tlspic1.s: New test.
* ld-x86-64/tlspic2.s: New test.
* ld-x86-64/tlspic.dd: New test.
* ld-x86-64/tlspic.rd: New test.
* ld-x86-64/tlspic.sd: New test.
* ld-x86-64/tlspic.td: New test.

22 years ago2002-09-27 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Fri, 27 Sep 2002 15:08:50 +0000 (15:08 +0000)]
2002-09-27  Robert Collins <rbtcollins@hotmail.com>

       * thread.cc (pthread_key::run_destructor): Run_destructor is not
       const as it needs to set the key value.
       * thread.h (pthread_key::run_destructor): Ditto.

2002-09-27  Robert Collins <rbtcollins@hotmail.com>

       * thread.cc (pthread_key::run_destructor): Follow opengroup algorithm.
       I.e. only run the destructor NON-NULL key values, and reset the key
       to NULL before running the destructor. Reported by Thomas Pfaff.

22 years ago2002-09-26 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Thu, 26 Sep 2002 19:40:29 +0000 (19:40 +0000)]
2002-09-26  Andrew Cagney  <ac131313@redhat.com>

* regs/: Delete directory.

22 years ago2002-09-25 Nathanael Nerode <neroden@gcc.gnu.org>
Nathanael Nerode [Thu, 26 Sep 2002 04:25:16 +0000 (04:25 +0000)]
2002-09-25  Nathanael Nerode  <neroden@gcc.gnu.org>

* Makefile.tpl: Make subsituted variables more autoconfy.
* Makefile.in: Regenerate.
* configure: Make seds more autoconfy.

22 years ago2002-09-25 Nathanael Nerode <neroden@gcc.gnu.org>
Nathanael Nerode [Wed, 25 Sep 2002 17:25:27 +0000 (17:25 +0000)]
2002-09-25  Nathanael Nerode  <neroden@gcc.gnu.org>

* Makefile.tpl: Rewrite substituted lines to look autoconfy.
* Makefile.in: Regenerate.
* configure.in: Rewrite sed statements to look autoconfy.

22 years agoReally rebuild it this time. :sigh:
Nathanael Nerode [Wed, 25 Sep 2002 16:56:04 +0000 (16:56 +0000)]
Really rebuild it this time. :sigh:

22 years ago2002-09-25 Nathanael Nerode <neroden@gcc.gnu.org>
Nathanael Nerode [Wed, 25 Sep 2002 16:53:08 +0000 (16:53 +0000)]
2002-09-25  Nathanael Nerode  <neroden@gcc.gnu.org>
* Makefile.tpl: Autogenerate *-target-* lists, dependencies of
all-target-foo on configure-target-foo.
* Makefile.def: Ditto.
* Makefile.in: Rebuild.

22 years ago* cygrun.c (main): Fix setting of CYGWIN environment variable.
Christopher Faylor [Wed, 25 Sep 2002 13:53:46 +0000 (13:53 +0000)]
* cygrun.c (main): Fix setting of CYGWIN environment variable.
* Makefile.in: Remove linking of unnecessary libraries.

22 years ago* fhandler_proc.cc (format_process_stat): make ctty a real device number.
Christopher Faylor [Wed, 25 Sep 2002 12:24:23 +0000 (12:24 +0000)]
* fhandler_proc.cc (format_process_stat): make ctty a real device number.
(format_process_status): use effective uid/gid as real and saved uid/gid.

22 years ago2002-09-22 Nathanael Nerode <neroden@gcc.gnu.org>
Nathanael Nerode [Tue, 24 Sep 2002 23:01:30 +0000 (23:01 +0000)]
2002-09-22  Nathanael Nerode  <neroden@gcc.gnu.org>

* Makefile.def: New file.
* Makefile.tpl: New file.
* Makefile.in: Generate from Makefile.tpl with 'autogen Makefile.def'.

* configure.in: Minor rearrangement.  Simplify tests.

22 years ago2002-09-24 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Tue, 24 Sep 2002 21:26:45 +0000 (21:26 +0000)]
2002-09-24  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/time/ctime.c: Fix prototype documentation.

22 years ago * errno.cc (errmap): Map ERROR_INVALID_ADDRESS to new errno code
Corinna Vinschen [Tue, 24 Sep 2002 14:17:50 +0000 (14:17 +0000)]
* errno.cc (errmap): Map ERROR_INVALID_ADDRESS to new errno code
EOVERFLOW.
(_sys_errlist): Add entries for EILSEQ and EOVERFLOW.
(strerror): Ditto.
* mmap.cc (map_map): Set errno in case of error.
(mmap64): Remove setting errno explicitely to ENOMEM.

22 years ago * libc/include/sys/errno.h: Add EOVERFLOW.
Corinna Vinschen [Tue, 24 Sep 2002 14:10:12 +0000 (14:10 +0000)]
* libc/include/sys/errno.h: Add EOVERFLOW.

22 years ago * mmap.cc (map_map): Add debug output.
Corinna Vinschen [Tue, 24 Sep 2002 13:48:07 +0000 (13:48 +0000)]
* mmap.cc (map_map): Add debug output.
(mmap64): Evaluate gran_len correctly even if offset isn't 0.

22 years ago * include/ws2tcpip.h: Throw error if winsock.h, not winsock2.h
Danny Smith [Tue, 24 Sep 2002 01:47:27 +0000 (01:47 +0000)]
* include/ws2tcpip.h: Throw error if winsock.h, not winsock2.h
has been included first.

22 years ago2002-09-24 Rene Moeller Fonseca <fonseca@users.sourceforge.net>
Danny Smith [Tue, 24 Sep 2002 01:28:00 +0000 (01:28 +0000)]
2002-09-24  Rene Moeller Fonseca  <fonseca@users.sourceforge.net>

        * include/winbase.h (FindFirstFileEx): Fixed ANSI mode.
        * include/wingdi.h (PFD_SWAP_LAYER_BUFFERS):Added define.
        * include/winuser.h (AppendMenu[AW]): Fixed prototypes.

22 years ago* configure.in (with_headers): Skip copy if value is "yes".
Jason Thorpe [Mon, 23 Sep 2002 23:36:54 +0000 (23:36 +0000)]
* configure.in (with_headers): Skip copy if value is "yes".
(with_libs): Likewise.

22 years agoMore GNUify non-GNU formatted functions calls throughout.
Christopher Faylor [Mon, 23 Sep 2002 00:31:31 +0000 (00:31 +0000)]
More GNUify non-GNU formatted functions calls throughout.

22 years agoReset ChangeLog dates from cygwin_daemon merge.
Christopher Faylor [Sun, 22 Sep 2002 21:44:17 +0000 (21:44 +0000)]
Reset ChangeLog dates from cygwin_daemon merge.

22 years agowhite space.
Christopher Faylor [Sun, 22 Sep 2002 21:39:03 +0000 (21:39 +0000)]
white space.

22 years ago* Makefile.in (DLL_O_FILES): Restore formatting.
Christopher Faylor [Sun, 22 Sep 2002 16:33:36 +0000 (16:33 +0000)]
* Makefile.in (DLL_O_FILES): Restore formatting.

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