kopensolaris-gnu/glibc.git
18 years agoDefine HAVE_CMOV and include i486 version.
drepper [Tue, 3 Dec 2002 20:21:08 +0000 (20:21 +0000)]
Define HAVE_CMOV and include i486 version.

18 years agoi486 version of pthread_spin_trylock.
drepper [Tue, 3 Dec 2002 20:20:50 +0000 (20:20 +0000)]
i486 version of pthread_spin_trylock.

18 years agoi586 version of pthread_spin_trylock.
drepper [Tue, 3 Dec 2002 20:20:23 +0000 (20:20 +0000)]
i586 version of pthread_spin_trylock.

18 years agoUpdate.
drepper [Tue, 3 Dec 2002 20:07:12 +0000 (20:07 +0000)]
Update.

18 years ago(get_cached_stack): Don't crash if we first found a stack with a
drepper [Tue, 3 Dec 2002 20:06:21 +0000 (20:06 +0000)]
(get_cached_stack): Don't crash if we first found a stack with a
larger size then needed.

18 years ago.
aj [Tue, 3 Dec 2002 15:39:42 +0000 (15:39 +0000)]
.

18 years agoRegenerated.
aj [Tue, 3 Dec 2002 15:39:37 +0000 (15:39 +0000)]
Regenerated.

18 years agoUpdate.
drepper [Tue, 3 Dec 2002 10:34:23 +0000 (10:34 +0000)]
Update.

18 years ago(tests): Add tst-sysconf.
drepper [Tue, 3 Dec 2002 10:33:31 +0000 (10:33 +0000)]
(tests): Add tst-sysconf.

18 years agoCheck values sysconf returns.
drepper [Tue, 3 Dec 2002 10:33:10 +0000 (10:33 +0000)]
Check values sysconf returns.

18 years agoUndefine PTHREAD_THREADS_MAX.
drepper [Tue, 3 Dec 2002 10:22:07 +0000 (10:22 +0000)]
Undefine PTHREAD_THREADS_MAX.

18 years agoUpdate.
drepper [Tue, 3 Dec 2002 09:01:03 +0000 (09:01 +0000)]
Update.

18 years ago(do_system): Make signal handler installation thread safe.
drepper [Tue, 3 Dec 2002 08:58:31 +0000 (08:58 +0000)]
(do_system): Make signal handler installation thread safe.

18 years agoCorrect rule to create tst-locale1.
drepper [Tue, 3 Dec 2002 08:57:59 +0000 (08:57 +0000)]
Correct rule to create tst-locale1.

18 years ago.
roland [Tue, 3 Dec 2002 07:28:17 +0000 (07:28 +0000)]
.

18 years ago2002-12-02 Roland McGrath <roland@redhat.com>
roland [Tue, 3 Dec 2002 07:28:08 +0000 (07:28 +0000)]
2002-12-02  Roland McGrath  <roland@redhat.com>

* sysdeps/unix/sysv/linux/alpha/syscalls.list (readahead): Change
caller from EXTRA to -.
* sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.

18 years agoUpdate.
drepper [Tue, 3 Dec 2002 06:27:43 +0000 (06:27 +0000)]
Update.

18 years agoUpdate.
drepper [Tue, 3 Dec 2002 06:03:55 +0000 (06:03 +0000)]
Update.

18 years ago(tests): Add tst-locale1. If buid-static is yes link statically.
drepper [Tue, 3 Dec 2002 06:02:27 +0000 (06:02 +0000)]
(tests): Add tst-locale1.  If buid-static is yes link statically.

18 years agoTest use of locale functions in statically linked apps.
drepper [Tue, 3 Dec 2002 06:01:38 +0000 (06:01 +0000)]
Test use of locale functions in statically linked apps.

18 years ago.
roland [Tue, 3 Dec 2002 02:50:58 +0000 (02:50 +0000)]
.

18 years ago2002-12-02 Carlos O'Donell <carlos@baldric.uwo.ca>
roland [Tue, 3 Dec 2002 02:50:52 +0000 (02:50 +0000)]
2002-12-02  Carlos O'Donell  <carlos@baldric.uwo.ca>

* sysdeps/hppa/fpu/fesetround.c (fesetround): Use ~FE_DOWNWARD so both
bits of RM are cleared.

18 years ago.
roland [Tue, 3 Dec 2002 02:32:47 +0000 (02:32 +0000)]
.

18 years ago2002-12-02 Roland McGrath <roland@redhat.com>
roland [Tue, 3 Dec 2002 02:32:37 +0000 (02:32 +0000)]
2002-12-02  Roland McGrath  <roland@redhat.com>

* td_ta_map_lwp2thr.c (td_ta_map_lwp2thr): Fetch inferior registers to
see its %gs value, not our own.

18 years ago2002-12-02 Roland McGrath <roland@redhat.com>
roland [Tue, 3 Dec 2002 02:32:32 +0000 (02:32 +0000)]
2002-12-02  Roland McGrath  <roland@redhat.com>

* td_symbol_list.c (symbol_list_arr): pthread_keys -> __pthread_keys

18 years ago.
roland [Tue, 3 Dec 2002 02:32:17 +0000 (02:32 +0000)]
.

18 years ago2002-12-02 Roland McGrath <roland@redhat.com>
roland [Tue, 3 Dec 2002 02:31:51 +0000 (02:31 +0000)]
2002-12-02  Roland McGrath  <roland@redhat.com>

* pthreadP.h (__stack_user, __nptl_create_event, __nptl_death_event):
Declare using hidden_proto instead of attribute_hidden, so there are
non-.hidden static symbols for gdb to find.
(__pthread_keys): Likewise.
* events.c (__nptl_create_event, __nptl_death_event): Add hidden_def.
* allocatestack.c (__stack_user): Likewise.
* pthread_create.c (__pthread_keys): Likewise.
(__nptl_threads_events, __nptl_last_event): Make these static instead
of hidden.
* pthread_key_create.c (__pthread_pthread_keys_max,
__pthread_pthread_key_2ndlevel_size): Renamed from __linuxthreads_*.

18 years ago.
roland [Tue, 3 Dec 2002 01:51:07 +0000 (01:51 +0000)]
.

18 years ago2002-11-28 Roland McGrath <roland@redhat.com>
roland [Tue, 3 Dec 2002 01:50:54 +0000 (01:50 +0000)]
2002-11-28  Roland McGrath  <roland@redhat.com>

* tst-context.c: #define IS_IN_libpthread around #include <tls.h>
before other headers, so FLOATING_STACKS is not defined wrongly.

18 years ago2002-11-28 Roland McGrath <roland@redhat.com>
roland [Tue, 3 Dec 2002 01:50:52 +0000 (01:50 +0000)]
2002-11-28  Roland McGrath  <roland@redhat.com>

* sysdeps/i386/tls.h [!IS_IN_libpthread]: Enable TLS support
even if [! FLOATING_STACKS].
(TLS_DO_MODIFY_LDT_KERNEL_CHECK): New macro.
If not under [__ASSUME_LDT_WORKS > 0], then do a runtime check of
dl_osversion >= 2.3.99 and fatal if not.
(TLS_DO_MODIFY_LDT): Use it.

18 years ago2002-12-02 Roland McGrath <roland@redhat.com>
roland [Tue, 3 Dec 2002 01:50:25 +0000 (01:50 +0000)]
2002-12-02  Roland McGrath  <roland@redhat.com>

* elf/tst-tls4.c: Define an unused TLS variable here, so that no lazy
TLS setup is required.
* elf/tst-tls5.c: Likewise.
* elf/tst-tls6.c: Likewise.
* elf/tst-tls7.c: Likewise.
* elf/tst-tls8.c: Likewise.
* elf/tst-tls9.c: Likewise.

18 years ago2002-12-02 Roland McGrath <roland@redhat.com>
roland [Tue, 3 Dec 2002 01:50:23 +0000 (01:50 +0000)]
2002-12-02  Roland McGrath  <roland@redhat.com>

* elf/rtld.c (dl_main): Remove [! SHARED] conditional from
`if (GL(dl_tls_max_dtv_idx) > 0)' tests for doing TLS setup.
* elf/dl-close.c (libc_freeres_fn): Check GL(dl_tls_dtv_slotinfo_list)
for being null before calling free_slotinfo.
* elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: For PT_TLS in
dynamic loading, bail with error if GL(dl_tls_max_dtv_idx) is zero.

18 years agoAdd some items, tweak another.
roland [Tue, 3 Dec 2002 00:54:55 +0000 (00:54 +0000)]
Add some items, tweak another.

18 years agoUpdate.
drepper [Mon, 2 Dec 2002 22:39:58 +0000 (22:39 +0000)]
Update.

18 years agoUpdate.
drepper [Mon, 2 Dec 2002 22:38:13 +0000 (22:38 +0000)]
Update.

18 years agoTweak comment.
drepper [Mon, 2 Dec 2002 22:33:55 +0000 (22:33 +0000)]
Tweak comment.

18 years ago(__ibm943sb_to_ucs4_idx): Remove array.
drepper [Mon, 2 Dec 2002 22:24:08 +0000 (22:24 +0000)]
(__ibm943sb_to_ucs4_idx): Remove array.

18 years agoInclude <stdbool.h>.
drepper [Mon, 2 Dec 2002 22:22:52 +0000 (22:22 +0000)]
Include <stdbool.h>.
(TRUE, FALSE): Remove macros.
(BODY for FROM_LOOP): Remove unused variable rp1.
(ONEBYTE_BODY): New macro.
(BODY for TO_LOOP): Use bool.

18 years ago(__ibm932sb_to_ucs4_idx): Remove array.
drepper [Mon, 2 Dec 2002 22:22:29 +0000 (22:22 +0000)]
(__ibm932sb_to_ucs4_idx): Remove array.

18 years agoInclude <stdbool.h>.
drepper [Mon, 2 Dec 2002 22:20:56 +0000 (22:20 +0000)]
Include <stdbool.h>.
(TRUE, FALSE): Remove macros.
(BODY for FROM_LOOP): Remove unused variable rp1.
(ONEBYTE_BODY): New macro.
(BODY for TO_LOOP): Use bool.

18 years ago(HAS_HOLES): Set to 1.
drepper [Mon, 2 Dec 2002 22:20:29 +0000 (22:20 +0000)]
(HAS_HOLES): Set to 1.
(NONNUL): New macro.

18 years ago(NONNUL): New macro.
drepper [Mon, 2 Dec 2002 22:20:12 +0000 (22:20 +0000)]
(NONNUL): New macro.
(BODY for FROM_LOOP): Use it.
(ONEBYTE_BODY): New macro.

18 years ago(ONEBYTE_BODY): New macro.
drepper [Mon, 2 Dec 2002 22:07:52 +0000 (22:07 +0000)]
(ONEBYTE_BODY): New macro.

18 years agoUpdate.
drepper [Mon, 2 Dec 2002 21:59:51 +0000 (21:59 +0000)]
Update.

18 years agoDocument ONEBYTE_BODY.
drepper [Mon, 2 Dec 2002 21:50:05 +0000 (21:50 +0000)]
Document ONEBYTE_BODY.
(gconv_btowc, FROM_ONEBYTE): Define if ONEBYTE_BODY is defined.
Undefine ONEBYTE_BODY at the end.

18 years agoDocument STORE_REST and FROM_ONEBYTE.
drepper [Mon, 2 Dec 2002 21:49:35 +0000 (21:49 +0000)]
Document STORE_REST and FROM_ONEBYTE.
(gconv_init): Initialize __btowc_fct field.
Undefine EXTRA_LOOP_ARGS and FROM_ONEBYTE at the end.

18 years ago(to_wc, to_mb): Initialize __btowc_fct field.
drepper [Mon, 2 Dec 2002 21:49:12 +0000 (21:49 +0000)]
(to_wc, to_mb): Initialize __btowc_fct field.

18 years agoteps, increment_counter): Initialize __btowc_fct field.
drepper [Mon, 2 Dec 2002 21:48:36 +0000 (21:48 +0000)]
teps, increment_counter): Initialize __btowc_fct field.

18 years ago(map): New field btowc_fct.
drepper [Mon, 2 Dec 2002 21:48:08 +0000 (21:48 +0000)]
(map): New field btowc_fct.
(BUILTIN_TRANSFORMATION): Add BtowcFct argument. Use it to initialize
btowc_fct field.
(__gconv_get_builtin_trans): Initialize __btowc_fct field.

18 years ago(map): New field btowc_fct.
drepper [Mon, 2 Dec 2002 21:47:10 +0000 (21:47 +0000)]
(map): New field btowc_fct.
(BUILTIN_TRANSFORMATION): Add BtowcFct argument. Use it to initialize
btowc_fct field.
(__gconv_get_builtin_trans): Initialize __btowc_fct field.

18 years ago(BUILTIN_TRANSFORMATION): Add BtowcFct argument.
drepper [Mon, 2 Dec 2002 21:46:44 +0000 (21:46 +0000)]
(BUILTIN_TRANSFORMATION): Add BtowcFct argument.

18 years agoAdd BtowcFct argument to all BUILTIN_TRANSFORMATION invocations.
drepper [Mon, 2 Dec 2002 21:46:00 +0000 (21:46 +0000)]
Add BtowcFct argument to all BUILTIN_TRANSFORMATION invocations.

18 years ago(BUILTIN_TRANSFORMATION): Add BtowcFct argument.
drepper [Mon, 2 Dec 2002 21:45:37 +0000 (21:45 +0000)]
(BUILTIN_TRANSFORMATION): Add BtowcFct argument.
(__gconv_btwoc_ascii): New function.

18 years ago(__BUILTIN_TRANSFORM): Renamed from __BUILTIN_TRANS.
drepper [Mon, 2 Dec 2002 21:45:11 +0000 (21:45 +0000)]
(__BUILTIN_TRANSFORM): Renamed from __BUILTIN_TRANS.
(__gconv_btwoc_ascii): New declaration.

18 years ago(__btowc): Use the __btowc_fct shortcut if possible.
drepper [Mon, 2 Dec 2002 21:44:42 +0000 (21:44 +0000)]
(__btowc): Use the __btowc_fct shortcut if possible.

18 years ago(__gconv_btowc_fct): New typedef.
drepper [Mon, 2 Dec 2002 21:44:26 +0000 (21:44 +0000)]
(__gconv_btowc_fct): New typedef.
(struct __gconv_step): New field __btowc_fct.

18 years ago.
roland [Mon, 2 Dec 2002 21:21:32 +0000 (21:21 +0000)]
.

18 years ago2002-12-01 Roland McGrath <roland@redhat.com>
roland [Mon, 2 Dec 2002 21:01:50 +0000 (21:01 +0000)]
2002-12-01  Roland McGrath  <roland@redhat.com>

* sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Fix condition
testing getdents64 return value.

18 years agoUpdate.
drepper [Mon, 2 Dec 2002 19:19:37 +0000 (19:19 +0000)]
Update.

18 years agoInclude <stdlib.h>.
drepper [Mon, 2 Dec 2002 19:19:24 +0000 (19:19 +0000)]
Include <stdlib.h>.

18 years agoUpdate.
drepper [Mon, 2 Dec 2002 18:14:24 +0000 (18:14 +0000)]
Update.

18 years agoUpdate from translation team.
drepper [Mon, 2 Dec 2002 18:12:48 +0000 (18:12 +0000)]
Update from translation team.

18 years ago(work): Fix comment.
drepper [Mon, 2 Dec 2002 09:08:00 +0000 (09:08 +0000)]
(work): Fix comment.

18 years agoUpdate.
drepper [Mon, 2 Dec 2002 09:06:27 +0000 (09:06 +0000)]
Update.

18 years agoUpdate.
drepper [Mon, 2 Dec 2002 08:08:28 +0000 (08:08 +0000)]
Update.

18 years ago(tests): Add tst-fork2 and tst-fork3.
drepper [Mon, 2 Dec 2002 08:07:52 +0000 (08:07 +0000)]
(tests): Add tst-fork2 and tst-fork3.

18 years agoTests for getppid in MT applications.
drepper [Mon, 2 Dec 2002 08:07:18 +0000 (08:07 +0000)]
Tests for getppid in MT applications.

18 years ago.
roland [Mon, 2 Dec 2002 06:31:28 +0000 (06:31 +0000)]
.

18 years ago2002-12-01 Roland McGrath <roland@redhat.com>
roland [Mon, 2 Dec 2002 06:31:19 +0000 (06:31 +0000)]
2002-12-01  Roland McGrath  <roland@redhat.com>

* scripts/versions.awk: Don't pass -n flag to sort command.

18 years ago.
roland [Sun, 1 Dec 2002 23:17:11 +0000 (23:17 +0000)]
.

18 years ago2002-12-01 Roland McGrath <roland@redhat.com>
roland [Sun, 1 Dec 2002 23:16:53 +0000 (23:16 +0000)]
2002-12-01  Roland McGrath  <roland@redhat.com>

* posix/bug-regex13.c: Include <string.h>.

18 years ago2002-12-01 Roland McGrath <roland@frob.com>
roland [Sun, 1 Dec 2002 22:15:02 +0000 (22:15 +0000)]
2002-12-01  Roland McGrath  <roland@frob.com>

* sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_FSYNC): Set to 200112L.
(_POSIX_SPAWN, _POSIX_MAPPED_FILES, _POSIX_MEMLOCK_RANGE,
_POSIX_MEMORY_PROTECTION): Likewise.
(_POSIX_POLL, _POSIX_SELECT): Removed.

18 years ago.
roland [Sun, 1 Dec 2002 22:14:57 +0000 (22:14 +0000)]
.

18 years ago2002-12-01 Roland McGrath <roland@redhat.com>
roland [Sun, 1 Dec 2002 22:14:40 +0000 (22:14 +0000)]
2002-12-01  Roland McGrath  <roland@redhat.com>

* sysdeps/generic/libc-start.c (__libc_start_main): Do
DL_SYSDEP_OSCHECK here.
* sysdeps/unix/sysv/linux/init-first.c (init): Not here.
* sysdeps/unix/sysv/linux/dl-osinfo.h: Include <fcntl.h>.

18 years ago2002-12-01 Roland McGrath <roland@redhat.com>
roland [Sun, 1 Dec 2002 22:14:38 +0000 (22:14 +0000)]
2002-12-01  Roland McGrath  <roland@redhat.com>

* sysdeps/generic/libc-tls.c (__libc_setup_tls): Bail if
argument TCBSIZE <= TLS_INIT_TCB_SIZE, not just if it's zero.

18 years ago2002-12-01 Roland McGrath <roland@redhat.com>
roland [Sun, 1 Dec 2002 22:13:45 +0000 (22:13 +0000)]
2002-12-01  Roland McGrath  <roland@redhat.com>

* sysdeps/generic/dl-tls.c (_dl_allocate_tls_init): Check l_tls_offset
instead of l_type to decide whether to use TLS_DTV_UNALLOCATED.

18 years ago2002-12-01 Roland McGrath <roland@redhat.com>
roland [Sun, 1 Dec 2002 22:13:42 +0000 (22:13 +0000)]
2002-12-01  Roland McGrath  <roland@redhat.com>

* include/link.h: Comment typo fix.

18 years agoUpdate.
drepper [Fri, 29 Nov 2002 02:17:58 +0000 (02:17 +0000)]
Update.

18 years agoUpdate.
drepper [Fri, 29 Nov 2002 01:53:43 +0000 (01:53 +0000)]
Update.

18 years agoLinux/i386 POSIX definitions.
drepper [Fri, 29 Nov 2002 01:52:49 +0000 (01:52 +0000)]
Linux/i386 POSIX definitions.

18 years agoDefine macros which require it to 200112L.
drepper [Fri, 29 Nov 2002 01:49:56 +0000 (01:49 +0000)]
Define macros which require it to 200112L.

18 years agoDefine macros which require it to 200112L.
drepper [Fri, 29 Nov 2002 01:48:23 +0000 (01:48 +0000)]
Define macros which require it to 200112L.

18 years agoDefine macros which require it to 200112L.
drepper [Fri, 29 Nov 2002 01:47:54 +0000 (01:47 +0000)]
Define macros which require it to 200112L.

18 years agoDefine macros which require it to 200112L. Remove _POSIX_POLL and
drepper [Fri, 29 Nov 2002 01:45:10 +0000 (01:45 +0000)]
Define macros which require it to 200112L.  Remove _POSIX_POLL and
_POSIX_SELECT.

18 years agoUpdate.
drepper [Fri, 29 Nov 2002 01:35:13 +0000 (01:35 +0000)]
Update.

18 years agoDefine macros which require it to 200112L. Remove _POSIX_POLL and
drepper [Fri, 29 Nov 2002 01:32:46 +0000 (01:32 +0000)]
Define macros which require it to 200112L.  Remove _POSIX_POLL and
_POSIX_SELECT.

18 years agoAdd autom4te.cache.
schwab [Fri, 29 Nov 2002 00:38:06 +0000 (00:38 +0000)]
Add autom4te.cache.

18 years agoDefine HAVE_CMOV.
drepper [Thu, 28 Nov 2002 23:52:24 +0000 (23:52 +0000)]
Define HAVE_CMOV.

18 years agoUse cmov instruction only if HAVE_CMOV is defined.
drepper [Thu, 28 Nov 2002 23:52:04 +0000 (23:52 +0000)]
Use cmov instruction only if HAVE_CMOV is defined.

18 years agoUpdate.
drepper [Thu, 28 Nov 2002 23:01:45 +0000 (23:01 +0000)]
Update.

18 years ago(inline_syscall*): Avoid "=v" constraints.
drepper [Thu, 28 Nov 2002 22:47:27 +0000 (22:47 +0000)]
(inline_syscall*): Avoid "=v" constraints.

18 years agoChange defined(USE___THREAD) to USE___THREAD.
drepper [Thu, 28 Nov 2002 22:47:04 +0000 (22:47 +0000)]
Change defined(USE___THREAD) to USE___THREAD.

18 years agoUpdate.
drepper [Thu, 28 Nov 2002 10:11:51 +0000 (10:11 +0000)]
Update.

18 years agosemaphore.h definitions for x86-64.
drepper [Thu, 28 Nov 2002 10:11:26 +0000 (10:11 +0000)]
semaphore.h definitions for x86-64.

18 years agoUpdate.
drepper [Thu, 28 Nov 2002 10:08:49 +0000 (10:08 +0000)]
Update.

18 years agopthread_once implementation for x86-64.
drepper [Thu, 28 Nov 2002 10:08:40 +0000 (10:08 +0000)]
pthread_once implementation for x86-64.

18 years agoThread type for x86-64.
drepper [Thu, 28 Nov 2002 09:17:31 +0000 (09:17 +0000)]
Thread type for x86-64.

18 years agovfork implementation for libpthread on x86-64.
drepper [Thu, 28 Nov 2002 08:34:22 +0000 (08:34 +0000)]
vfork implementation for libpthread on x86-64.

18 years agoUpdate.
drepper [Thu, 28 Nov 2002 08:32:24 +0000 (08:32 +0000)]
Update.

18 years agoDon't trash the CPU's branch prediction buffers by using unpaired call/ret.
drepper [Thu, 28 Nov 2002 08:29:20 +0000 (08:29 +0000)]
Don't trash the CPU's branch prediction buffers by using unpaired call/ret.