kopensolaris-gnu/glibc.git
13 years agoInclude <gai_misc.h> not "gai_misc.h".
drepper [Thu, 3 Aug 2006 08:01:22 +0000 (08:01 +0000)]
Include <gai_misc.h> not "gai_misc.h".

13 years ago.
drepper [Thu, 3 Aug 2006 07:55:24 +0000 (07:55 +0000)]
.

13 years agoNPTL specific definitions for async name lookup.
drepper [Thu, 3 Aug 2006 07:54:18 +0000 (07:54 +0000)]
NPTL specific definitions for async name lookup.

13 years ago.
roland [Thu, 3 Aug 2006 01:19:07 +0000 (01:19 +0000)]
.

13 years ago2006-08-02 Thomas Schwinge <tschwinge@gnu.org>
roland [Thu, 3 Aug 2006 01:18:36 +0000 (01:18 +0000)]
2006-08-02  Thomas Schwinge  <tschwinge@gnu.org>

        * hurd/getdport.c (__detdport): Don't return EBADF; instead set
        errno to EBADF and return MACH_PORT_NULL.

13 years ago(_dl_addr): Finish fixup after renaming. fedora-glibc-20060802T1808
drepper [Wed, 2 Aug 2006 17:05:55 +0000 (17:05 +0000)]
(_dl_addr): Finish fixup after renaming.

13 years ago. fedora-glibc-20060802T1650
drepper [Wed, 2 Aug 2006 16:45:53 +0000 (16:45 +0000)]
.

13 years ago(CFLAGS-waitid.c): Add -fasynchronous-unwind-tables.
drepper [Wed, 2 Aug 2006 16:43:46 +0000 (16:43 +0000)]
(CFLAGS-waitid.c): Add -fasynchronous-unwind-tables.

13 years ago(_dl_addr): If GNU-style hash tables are present, walk them instead of
drepper [Wed, 2 Aug 2006 16:39:17 +0000 (16:39 +0000)]
(_dl_addr): If GNU-style hash tables are present, walk them instead of
the symbol table.

13 years agoStrip down, always assume SMP/CMT/SMT.
drepper [Wed, 2 Aug 2006 04:43:48 +0000 (04:43 +0000)]
Strip down, always assume SMP/CMT/SMT.

13 years ago.
drepper [Wed, 2 Aug 2006 02:19:14 +0000 (02:19 +0000)]
.

13 years agoDefine real t_fmt_ampm and am_pm.
drepper [Wed, 2 Aug 2006 02:18:23 +0000 (02:18 +0000)]
Define real t_fmt_ampm and am_pm.

13 years ago.
drepper [Wed, 2 Aug 2006 00:08:03 +0000 (00:08 +0000)]
.

13 years ago(addinitgroupsX): Judge successful lookups by status of NSS calls, not
drepper [Wed, 2 Aug 2006 00:07:31 +0000 (00:07 +0000)]
(addinitgroupsX): Judge successful lookups by status of NSS calls, not
the number of returned entries.

13 years ago(is_smp_system): Fixups.
drepper [Tue, 1 Aug 2006 18:33:14 +0000 (18:33 +0000)]
(is_smp_system): Fixups.

13 years ago.
drepper [Tue, 1 Aug 2006 15:56:17 +0000 (15:56 +0000)]
.

13 years agoUndo last patch.
drepper [Tue, 1 Aug 2006 15:54:36 +0000 (15:54 +0000)]
Undo last patch.

13 years agoRemove add_key, request_key, keyctl.
drepper [Tue, 1 Aug 2006 15:53:14 +0000 (15:53 +0000)]
Remove add_key, request_key, keyctl.

13 years ago.
drepper [Tue, 1 Aug 2006 07:16:26 +0000 (07:16 +0000)]
.

13 years agoFinally add add_key, request_key, and keyctl back.
drepper [Tue, 1 Aug 2006 07:15:45 +0000 (07:15 +0000)]
Finally add add_key, request_key, and keyctl back.

13 years ago.
drepper [Tue, 1 Aug 2006 07:09:14 +0000 (07:09 +0000)]
.

13 years agoCheck for SMP system on Linux/i386.
drepper [Tue, 1 Aug 2006 07:07:53 +0000 (07:07 +0000)]
Check for SMP system on Linux/i386.

13 years ago.
drepper [Tue, 1 Aug 2006 06:55:58 +0000 (06:55 +0000)]
.

13 years agoRemove unnecessary include.
drepper [Tue, 1 Aug 2006 06:55:27 +0000 (06:55 +0000)]
Remove unnecessary include.

13 years ago.
drepper [Tue, 1 Aug 2006 06:49:55 +0000 (06:49 +0000)]
.

13 years agoFix typo in #error.
drepper [Tue, 1 Aug 2006 06:48:46 +0000 (06:48 +0000)]
Fix typo in #error.

Remove code for unsupported architectures.

13 years ago.
drepper [Tue, 1 Aug 2006 06:46:18 +0000 (06:46 +0000)]
.

13 years agoRun cmp in C locale.
drepper [Tue, 1 Aug 2006 06:45:49 +0000 (06:45 +0000)]
Run cmp in C locale.

13 years ago.
drepper [Tue, 1 Aug 2006 06:40:11 +0000 (06:40 +0000)]
.

13 years ago(do_test): Close fd before unlinking file so that directory is empty
drepper [Tue, 1 Aug 2006 06:38:48 +0000 (06:38 +0000)]
(do_test): Close fd before unlinking file so that directory is empty
even on non-POSIX filesystems.

13 years ago.
drepper [Tue, 1 Aug 2006 06:06:32 +0000 (06:06 +0000)]
.

13 years ago(tests): Add tst-getpid3.
drepper [Tue, 1 Aug 2006 06:05:02 +0000 (06:05 +0000)]
(tests): Add tst-getpid3.

13 years ago(__reclaim_stacks): Reset the PID on cached stacks.
drepper [Tue, 1 Aug 2006 06:04:42 +0000 (06:04 +0000)]
(__reclaim_stacks): Reset the PID on cached stacks.

13 years agoTest for PID in thread with stack from stack cache in forked process.
drepper [Tue, 1 Aug 2006 06:04:02 +0000 (06:04 +0000)]
Test for PID in thread with stack from stack cache in forked process.

13 years ago.
drepper [Mon, 31 Jul 2006 23:54:19 +0000 (23:54 +0000)]
.

13 years ago(dl_open_worker): Add branch prediction.
drepper [Mon, 31 Jul 2006 23:53:09 +0000 (23:53 +0000)]
(dl_open_worker): Add branch prediction.

13 years ago.
drepper [Mon, 31 Jul 2006 23:34:45 +0000 (23:34 +0000)]
.

13 years agoAvoid unnecessary setXXent calls into the backend NSS module. If
drepper [Mon, 31 Jul 2006 23:33:04 +0000 (23:33 +0000)]
Avoid unnecessary setXXent calls into the backend NSS module.  If
backend setXXent call failed, don't have internal_setXXent fail.  Just
remember this until it is needed.

13 years ago. fedora-glibc-20060731T0706
roland [Mon, 31 Jul 2006 05:58:50 +0000 (05:58 +0000)]
.

13 years ago2006-07-30 Roland McGrath <roland@redhat.com>
roland [Mon, 31 Jul 2006 05:58:27 +0000 (05:58 +0000)]
2006-07-30  Roland McGrath  <roland@redhat.com>

* sysdeps/unix/sysv/linux/i386/not-cancel.h
(pause_not_cancel): New macro.
(nanosleep_not_cancel): New macro.
(sigsuspend_not_cancel): New macro.
* pthread_mutex_timedlock.c (pthread_mutex_timedlock): Use
nanosleep_not_cancel macro from <not-cancel.h>.
* pthread_mutex_lock.c (__pthread_mutex_lock): Use pause_not_cancel
macro from <not-cancel.h>.

13 years ago2006-07-30 Roland McGrath <roland@redhat.com>
roland [Mon, 31 Jul 2006 05:58:25 +0000 (05:58 +0000)]
2006-07-30  Roland McGrath  <roland@redhat.com>

* Makefile (libpthread-routines): Add ptw-sigsuspend.

13 years ago2006-07-30 Roland McGrath <roland@redhat.com>
roland [Mon, 31 Jul 2006 05:57:58 +0000 (05:57 +0000)]
2006-07-30  Roland McGrath  <roland@redhat.com>

* sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): New macro.
(nanosleep_not_cancel): New macro.
(sigsuspend_not_cancel): new macro.
* sysdeps/unix/sysv/linux/sigsuspend.c [__ASSUME_REALTIME_SIGNALS]
(do_sigsuspend): Define as inline.
(__sigsuspend): Always use do_sigsuspend.
[! NO_CANCELLATION] (__sigsuspend_nocancel): New function.
* include/signal.h: Declare __sigsuspend_nocancel.
* sysdeps/posix/pause.c
[! NO_CANCELLATION] (__pause_nocancel): New function.

13 years ago2006-07-30 Roland McGrath <roland@redhat.com>
roland [Mon, 31 Jul 2006 05:57:55 +0000 (05:57 +0000)]
2006-07-30  Roland McGrath  <roland@redhat.com>

* sysdeps/unix/sysv/linux/ia64/sigsuspend.c: File removed.
* sysdeps/unix/sysv/linux/x86_64/sigsuspend.c: File removed.
* sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c: File removed.
* sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: File removed.

13 years ago2006-07-30 Roland McGrath <roland@redhat.com>
roland [Mon, 31 Jul 2006 05:57:52 +0000 (05:57 +0000)]
2006-07-30  Roland McGrath  <roland@redhat.com>

* include/unistd.h (__pause_nocancel): Add attribute_hidden.
* include/time.h (__nanosleep_nocancel): Likewise.

13 years ago.
drepper [Sun, 30 Jul 2006 22:24:49 +0000 (22:24 +0000)]
.

13 years ago.
drepper [Sun, 30 Jul 2006 22:21:30 +0000 (22:21 +0000)]
.

13 years agoAdd transliateration support to LC_CTYPE.
drepper [Sun, 30 Jul 2006 22:19:43 +0000 (22:19 +0000)]
Add transliateration support to LC_CTYPE.

13 years ago(add_to_readlist): Rename local variables to avoid confusion.
drepper [Sun, 30 Jul 2006 21:38:36 +0000 (21:38 +0000)]
(add_to_readlist): Rename local variables to avoid confusion.

13 years ago(charmap_read): Emit error message if charmap couldn't be found or read.
drepper [Sun, 30 Jul 2006 21:12:52 +0000 (21:12 +0000)]
(charmap_read): Emit error message if charmap couldn't be found or read.

13 years ago. fedora-glibc-20060729T2255
drepper [Sat, 29 Jul 2006 05:07:43 +0000 (05:07 +0000)]
.

13 years agoDefine FUTEX_LOCK_PI, FUTEX_UNLOCK_PI, and FUTEX_TRYLOCK_PI.
drepper [Sat, 29 Jul 2006 05:06:06 +0000 (05:06 +0000)]
Define FUTEX_LOCK_PI, FUTEX_UNLOCK_PI, and FUTEX_TRYLOCK_PI.

13 years ago.
drepper [Sat, 29 Jul 2006 04:46:40 +0000 (04:46 +0000)]
.

13 years ago.
drepper [Sat, 29 Jul 2006 04:45:25 +0000 (04:45 +0000)]
.

13 years agoDeclare __nanosleep_nocancel.
drepper [Sat, 29 Jul 2006 04:44:35 +0000 (04:44 +0000)]
Declare __nanosleep_nocancel.

13 years agoDeclare __pause_nocancel.
drepper [Sat, 29 Jul 2006 04:43:58 +0000 (04:43 +0000)]
Declare __pause_nocancel.

13 years agoDefine __ASSUME_FUTEX_LOCK_PI.
drepper [Sat, 29 Jul 2006 04:43:27 +0000 (04:43 +0000)]
Define __ASSUME_FUTEX_LOCK_PI.

13 years ago.
drepper [Sat, 29 Jul 2006 04:42:09 +0000 (04:42 +0000)]
.

13 years agoAdd the new tests.
drepper [Sat, 29 Jul 2006 04:38:54 +0000 (04:38 +0000)]
Add the new tests.

13 years agoDefine _POSIX_THREAD_PRIO_INHERIT to 200112L.
drepper [Sat, 29 Jul 2006 04:37:12 +0000 (04:37 +0000)]
Define _POSIX_THREAD_PRIO_INHERIT to 200112L.

13 years agoDefine FUTEX_LOCK_PI, FUTEX_UNLOCK_PI, and FUTEX_TRYLOCK_PI.
drepper [Sat, 29 Jul 2006 04:35:58 +0000 (04:35 +0000)]
Define FUTEX_LOCK_PI, FUTEX_UNLOCK_PI, and FUTEX_TRYLOCK_PI.

13 years ago(gen-as-const-header): Add pthread-pi-defines.sym.
drepper [Sat, 29 Jul 2006 04:33:52 +0000 (04:33 +0000)]
(gen-as-const-header): Add pthread-pi-defines.sym.

13 years agoDefines for PI mutexes in assembler code.
drepper [Sat, 29 Jul 2006 04:33:20 +0000 (04:33 +0000)]
Defines for PI mutexes in assembler code.

13 years agoFor PI mutexes wake all mutexes.
drepper [Sat, 29 Jul 2006 04:31:49 +0000 (04:31 +0000)]
For PI mutexes wake all mutexes.

13 years agoTest for robust PI mutex.
drepper [Sat, 29 Jul 2006 04:30:04 +0000 (04:30 +0000)]
Test for robust PI mutex.

13 years agoTest for PI mutex.
drepper [Sat, 29 Jul 2006 04:28:40 +0000 (04:28 +0000)]
Test for PI mutex.

13 years agoAdjust to allow use in PI mutex test.
drepper [Sat, 29 Jul 2006 04:27:22 +0000 (04:27 +0000)]
Adjust to allow use in PI mutex test.

13 years agoAdjust for mutex type name change.
drepper [Sat, 29 Jul 2006 04:25:28 +0000 (04:25 +0000)]
Adjust for mutex type name change.

13 years agoAdd support for priority inheritance mutex.
drepper [Sat, 29 Jul 2006 04:23:47 +0000 (04:23 +0000)]
Add support for priority inheritance mutex.

13 years agoRemove unneeded label.
drepper [Sat, 29 Jul 2006 04:21:27 +0000 (04:21 +0000)]
Remove unneeded label.

13 years ago(start_thread): Add some casts to avoid warnings.
drepper [Sat, 29 Jul 2006 04:21:01 +0000 (04:21 +0000)]
(start_thread): Add some casts to avoid warnings.

13 years agoDefine PTHREAD_MUTEX_PI_* macros for PI mutex types.
drepper [Sat, 29 Jul 2006 04:20:12 +0000 (04:20 +0000)]
Define PTHREAD_MUTEX_PI_* macros for PI mutex types.

13 years agoChange ENQUEUE_MUTEX and DEQUEUE_MUTEX for bit 0 notification of PI
drepper [Sat, 29 Jul 2006 04:19:01 +0000 (04:19 +0000)]
Change ENQUEUE_MUTEX and DEQUEUE_MUTEX for bit 0 notification of PI
mutex.  Add ENQUEUE_MUTEX_PI.

13 years ago.
drepper [Fri, 28 Jul 2006 19:57:56 +0000 (19:57 +0000)]
.

13 years ago(LDLIBS-bug-atexit3-lib.so): Use this instead of LDFLAGS. Add -lgcc_eh
drepper [Fri, 28 Jul 2006 17:37:26 +0000 (17:37 +0000)]
(LDLIBS-bug-atexit3-lib.so): Use this instead of LDFLAGS.  Add -lgcc_eh
and libc_nonshared (again) to make sure we get the __stack_chk_fail_local
definition when it's needed.

13 years ago.
drepper [Thu, 27 Jul 2006 01:31:43 +0000 (01:31 +0000)]
.

13 years agoAdd rules to build and run bug-atexit3.
drepper [Thu, 27 Jul 2006 01:30:44 +0000 (01:30 +0000)]
Add rules to build and run bug-atexit3.

13 years agoTest module for bug-atexit3.
drepper [Thu, 27 Jul 2006 01:30:07 +0000 (01:30 +0000)]
Test module for bug-atexit3.

13 years agoTest program for atexit registering in atexit handler.
drepper [Thu, 27 Jul 2006 01:28:45 +0000 (01:28 +0000)]
Test program for atexit registering in atexit handler.

13 years ago.
drepper [Wed, 26 Jul 2006 08:21:54 +0000 (08:21 +0000)]
.

13 years ago(dlmopen_doit): Don't allow RTLD_GLOBAL to be used when the namespace
drepper [Wed, 26 Jul 2006 08:21:23 +0000 (08:21 +0000)]
(dlmopen_doit): Don't allow RTLD_GLOBAL to be used when the namespace
is not the base namespace.

13 years ago.
drepper [Wed, 26 Jul 2006 07:27:20 +0000 (07:27 +0000)]
.

13 years ago(__cxa_finalize): If destructor registered more exit handlers, call
drepper [Wed, 26 Jul 2006 07:25:44 +0000 (07:25 +0000)]
(__cxa_finalize): If destructor registered more exit handlers, call
them right away.

13 years ago(__new_exitfn_called): New variable.
drepper [Wed, 26 Jul 2006 07:24:45 +0000 (07:24 +0000)]
(__new_exitfn_called): New variable.
(__new_exitfn): Bump it in every successful call.

13 years agoDeclare __new_exitfn_called.
drepper [Wed, 26 Jul 2006 07:23:43 +0000 (07:23 +0000)]
Declare __new_exitfn_called.

13 years ago(__cxa_finalize): Parameter value must be retrieved early, too.
drepper [Wed, 26 Jul 2006 06:56:03 +0000 (06:56 +0000)]
(__cxa_finalize): Parameter value must be retrieved early, too.

13 years ago.
drepper [Wed, 26 Jul 2006 06:44:46 +0000 (06:44 +0000)]
.

13 years ago(__cxa_finalize): Fix race condition when calling registered handler.
drepper [Wed, 26 Jul 2006 06:44:11 +0000 (06:44 +0000)]
(__cxa_finalize): Fix race condition when calling registered handler.

13 years agoUpdate.
drepper [Wed, 26 Jul 2006 01:42:58 +0000 (01:42 +0000)]
Update.

13 years agoFix comment.
drepper [Wed, 26 Jul 2006 01:27:05 +0000 (01:27 +0000)]
Fix comment.

13 years ago. fedora-glibc-20060710T2206
drepper [Mon, 10 Jul 2006 21:59:43 +0000 (21:59 +0000)]
.

13 years ago.
drepper [Mon, 10 Jul 2006 21:58:48 +0000 (21:58 +0000)]
.

13 years ago.
drepper [Mon, 10 Jul 2006 21:57:40 +0000 (21:57 +0000)]
.

13 years agoAdjust _dl_name_match_p prototype.
drepper [Mon, 10 Jul 2006 21:55:55 +0000 (21:55 +0000)]
Adjust _dl_name_match_p prototype.

13 years ago(struct link_map): Add l_gnu_bitmask_idxbits, l_gnu_shift,
drepper [Mon, 10 Jul 2006 21:54:54 +0000 (21:54 +0000)]
(struct link_map): Add l_gnu_bitmask_idxbits, l_gnu_shift,
l_gnu_bitmask, l_gnu_buckets and l_gnu_chain_zero.

13 years agoDefine SHT_GNU_HASH, DT_GNU_HASH, DT_TLSDEC_PLT, DT_TLSDEC_GOT.
drepper [Mon, 10 Jul 2006 21:54:02 +0000 (21:54 +0000)]
Define SHT_GNU_HASH, DT_GNU_HASH, DT_TLSDEC_PLT, DT_TLSDEC_GOT.
Adjust DT_ADDRNUM.

13 years ago(elf_get_dynamic_info): Relocate DT_GNU_HASH entry.
drepper [Mon, 10 Jul 2006 21:52:18 +0000 (21:52 +0000)]
(elf_get_dynamic_info): Relocate DT_GNU_HASH entry.

13 years ago(do_lookup_x): Accept additional parameter with new-style hash value
drepper [Mon, 10 Jul 2006 21:51:32 +0000 (21:51 +0000)]
(do_lookup_x): Accept additional parameter with new-style hash value
and change old-style hash value parameter to be a reference.
Reoganize functions to determine whether new-style hash table is
available.  Only fall back on old-style table.  If old-style hash
value is needed, compute it here.

13 years ago(_dl_name_match_p): Make MAP parameter const.
drepper [Mon, 10 Jul 2006 21:50:36 +0000 (21:50 +0000)]
(_dl_name_match_p): Make MAP parameter const.

13 years ago(dl_new_hash): New functions.
drepper [Mon, 10 Jul 2006 21:49:38 +0000 (21:49 +0000)]
(dl_new_hash): New functions.
(_dl_lookup_symbol_x): Rename hash to old_hash and don't compute
value here.  Compute new-style hash value.  Pass new hash value
and reference to variable with the old value to do_lookup_x.
(_dl_setup_hash): If DT_GNU_HASH is defined, use it and not
old-style hash table.
(_dl_debug_bindings): Pass new hash value and reference to variable
with the old value to do_lookup_x.

13 years agoRegenerated.
drepper [Mon, 10 Jul 2006 21:48:04 +0000 (21:48 +0000)]
Regenerated.