roland [Sun, 29 Dec 2002 21:00:52 +0000 (21:00 +0000)]
2002-12-29 Roland McGrath <roland@redhat.com>
* Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Fix sed
pattern for prepending $(..) so it doesn't affect $(foo).
roland [Sun, 29 Dec 2002 20:56:59 +0000 (20:56 +0000)]
.
roland [Sun, 29 Dec 2002 20:56:54 +0000 (20:56 +0000)]
2002-12-29 Roland McGrath <roland@redhat.com>
* math/Makefile (generated): Add $(addsuffix .c .S,$(calls:s_%=m_%)).
drepper [Sun, 29 Dec 2002 19:30:24 +0000 (19:30 +0000)]
Update.
drepper [Sun, 29 Dec 2002 19:15:46 +0000 (19:15 +0000)]
(add_to_cache): Don't loop forever with 1ULL << 63 set in hwcap.
drepper [Sun, 29 Dec 2002 10:19:13 +0000 (10:19 +0000)]
Update.
drepper [Sun, 29 Dec 2002 10:18:47 +0000 (10:18 +0000)]
Hasn't been used at all.
drepper [Sat, 28 Dec 2002 22:19:04 +0000 (22:19 +0000)]
Update.
drepper [Sat, 28 Dec 2002 22:17:04 +0000 (22:17 +0000)]
Add line continuations.
drepper [Sat, 28 Dec 2002 22:16:42 +0000 (22:16 +0000)]
(__pthread_initialize_manager): Remove MULTIPLE_THREADS_OFFSET cbeck.
drepper [Sat, 28 Dec 2002 22:16:04 +0000 (22:16 +0000)]
(MULTIPLE_THREADS_OFFSET): Remove.
drepper [Sat, 28 Dec 2002 22:15:31 +0000 (22:15 +0000)]
(MULTIPLE_THREADS_OFFSET): Remove.
Replace defined MULTIPLE_THREADS_OFFSET
with defined FLOATING_STACKS && USE___THREAD.
drepper [Sat, 28 Dec 2002 22:14:59 +0000 (22:14 +0000)]
(MULTIPLE_THREADS_OFFSET): Remove.
Replace defined MULTIPLE_THREADS_OFFSET
with defined FLOATING_STACKS && USE___THREAD.
drepper [Sat, 28 Dec 2002 22:14:19 +0000 (22:14 +0000)]
TCB offset definitions for ia64.
drepper [Sat, 28 Dec 2002 22:13:47 +0000 (22:13 +0000)]
Makefile for ia64.
drepper [Sat, 28 Dec 2002 22:12:57 +0000 (22:12 +0000)]
Include tcb-offsets.h in assembler.
drepper [Sat, 28 Dec 2002 22:12:30 +0000 (22:12 +0000)]
Definition of TCB offsets for SPARC.
drepper [Sat, 28 Dec 2002 22:11:46 +0000 (22:11 +0000)]
Makefile for SPARC.
drepper [Sat, 28 Dec 2002 22:10:45 +0000 (22:10 +0000)]
TLS definitions for SPARC.
drepper [Sat, 28 Dec 2002 22:09:42 +0000 (22:09 +0000)]
Use generic SPARC version.
drepper [Sat, 28 Dec 2002 22:08:39 +0000 (22:08 +0000)]
Dummy file for TCB offset definitions.
drepper [Sat, 28 Dec 2002 22:07:24 +0000 (22:07 +0000)]
Definitions of needed TCB offsets.
drepper [Sat, 28 Dec 2002 22:06:49 +0000 (22:06 +0000)]
[csu] (gen-as-const-headers): Add tcb-offsets.sym.
drepper [Sat, 28 Dec 2002 22:06:29 +0000 (22:06 +0000)]
Include tcb-offsets.h in assembler.
(SYSINFO_OFFSET): Remove.
drepper [Sat, 28 Dec 2002 22:06:09 +0000 (22:06 +0000)]
(__libc_pthread_init): Remove MULTIPLE_THREADS_OFFSET check.
drepper [Sat, 28 Dec 2002 22:05:03 +0000 (22:05 +0000)]
Update.
drepper [Sat, 28 Dec 2002 22:04:37 +0000 (22:04 +0000)]
[libc] (GLIBC_PRIVATE): Move __register_atfork...
(GLIBC_2.3.2): ...here.
drepper [Sat, 28 Dec 2002 22:03:52 +0000 (22:03 +0000)]
(__libc_pthread_init): Remove MULTIPLE_THREADS_OFFSET and SYSINFO_OFFSET checks.
drepper [Sat, 28 Dec 2002 22:03:31 +0000 (22:03 +0000)]
Dummy file for TCB offset values.
drepper [Sat, 28 Dec 2002 22:02:42 +0000 (22:02 +0000)]
Definition of needed offset values.
drepper [Sat, 28 Dec 2002 22:01:39 +0000 (22:01 +0000)]
Makefile for i386
drepper [Sat, 28 Dec 2002 22:00:52 +0000 (22:00 +0000)]
Include tcb-offsets.h in assembler.
(SYSINFO_OFFSET, MULTIPLE_THREADS_OFFSET): Remove.
drepper [Sat, 28 Dec 2002 21:59:05 +0000 (21:59 +0000)]
Mark pthread_attr_getstackaddr and pthread_attr_setstackaddr with
__attribute_deprecated__.
drepper [Sat, 28 Dec 2002 21:58:13 +0000 (21:58 +0000)]
Update.
drepper [Sat, 28 Dec 2002 21:57:17 +0000 (21:57 +0000)]
(__attribute_deprecated__): New #define.
drepper [Sat, 28 Dec 2002 21:08:38 +0000 (21:08 +0000)]
Update.
drepper [Sat, 28 Dec 2002 20:40:31 +0000 (20:40 +0000)]
(process_elf_file): Cast value to avoid warning.
drepper [Sat, 28 Dec 2002 20:39:25 +0000 (20:39 +0000)]
(_dl_load_cache_lookup): Cast value to avoid warning.
drepper [Sat, 28 Dec 2002 10:24:40 +0000 (10:24 +0000)]
Update.
drepper [Sat, 28 Dec 2002 10:23:15 +0000 (10:23 +0000)]
Allow pt-system.o* to not use the cancellation routines. CVS: ----------------------------------------------------------------------
drepper [Sat, 28 Dec 2002 10:23:04 +0000 (10:23 +0000)]
(system): Remove cancellation handling.
drepper [Sat, 28 Dec 2002 10:21:58 +0000 (10:21 +0000)]
Update.
drepper [Sat, 28 Dec 2002 10:20:35 +0000 (10:20 +0000)]
Allow pt-system.o* to not use the cancellation routines.
drepper [Sat, 28 Dec 2002 10:20:17 +0000 (10:20 +0000)]
(system): Remove cancellation handling.
drepper [Sat, 28 Dec 2002 10:20:03 +0000 (10:20 +0000)]
(routines): Remove no-tsd. Add alloca_cutoff.
drepper [Sat, 28 Dec 2002 10:19:43 +0000 (10:19 +0000)]
Not needed anymore.
drepper [Sat, 28 Dec 2002 10:18:52 +0000 (10:18 +0000)]
LinuxThreads specific implementation of function to get alloca cutoff value.
drepper [Sat, 28 Dec 2002 10:18:20 +0000 (10:18 +0000)]
(libpthread): Remove __libc_alloca_cutoff@GLIBC_PRIVATE.
drepper [Sat, 28 Dec 2002 10:18:05 +0000 (10:18 +0000)]
(pthread_functions) [!USE_TLS && !HAVE___THREAD]:
Initialize ptr_pthread_internal_tsd_([sg]et|address) fields.
drepper [Sat, 28 Dec 2002 10:17:43 +0000 (10:17 +0000)]
[!NOT_IN_libc] (LIBC_THREAD_GETMEM, LIBC_THREAD_SETMEM): Define.
(__pthread_internal_tsd_set, __pthread_internal_tsd_get,
__pthread_internal_tsd_address): New prototypes.
(struct pthread_functions): Add
ptr_pthread_internal_tsd_([sg]et|address) fields.
[!NOT_IN_libc && !FLOATING_STACKS] (thread_self): Define.
drepper [Sat, 28 Dec 2002 10:17:25 +0000 (10:17 +0000)]
(libc_internal_tsd_set): Renamed to...
__pthread_internal_tsd_set. Remove static.
(libc_internal_tsd_get): Renamed to...
__pthread_internal_tsd_get. Remove static.
(libc_internal_tsd_address): Renamed to...
__pthread_internal_tsd_address. Remove static.
(__libc_internal_tsd_set, __libc_internal_tsd_get,
__libc_internal_tsd_address, __libc_alloca_cutoff): Remove.
drepper [Sat, 28 Dec 2002 10:17:08 +0000 (10:17 +0000)]
(THREAD_GETMEM, THREAD_SETMEM): Remove.
(__libc_enable_asynccancel, __libc_disable_asynccancel): Use
thread_self unconditionally. Use LIBC_THREAD_[SG]ETMEM instead
of THREAD_[SG]ETMEM.
drepper [Sat, 28 Dec 2002 10:16:49 +0000 (10:16 +0000)]
LinuxThreads specific function to get resolver state variable address.
drepper [Sat, 28 Dec 2002 10:15:48 +0000 (10:15 +0000)]
LinuxThreads specific function to get h_errno address.
drepper [Sat, 28 Dec 2002 10:15:04 +0000 (10:15 +0000)]
LinuxThreads specific function to get errno address.
drepper [Sat, 28 Dec 2002 10:14:16 +0000 (10:14 +0000)]
iDefine __libc_tsd_key_t.
drepper [Sat, 28 Dec 2002 10:13:56 +0000 (10:13 +0000)]
Include linuxthreads/descr.h and bits/libc-lock.h.
(__libc_internal_tsd_get, __libc_internal_tsd_set,
__libc_internal_tsd_address): Remove.
(__pthread_internal_tsd_address, __pthread_internal_tsd_get,
__pthread_internal_tsd_set): New weak_externs.
(__libc_tsd_address, __libc_tsd_get, __libc_tsd_set): Define
using __libc_maybe_call2.
(__libc_tsd_key_t): Move to descr.h.
drepper [Sat, 28 Dec 2002 10:13:02 +0000 (10:13 +0000)]
Update.
drepper [Sat, 28 Dec 2002 10:10:57 +0000 (10:10 +0000)]
Generic function to get resolver state variable.
drepper [Sat, 28 Dec 2002 10:09:44 +0000 (10:09 +0000)]
Generic implementation of function to get h_errno address.
drepper [Sat, 28 Dec 2002 10:09:04 +0000 (10:09 +0000)]
(routines): Add res-state.
drepper [Sat, 28 Dec 2002 10:08:47 +0000 (10:08 +0000)]
(__res_state): Remove.
drepper [Sat, 28 Dec 2002 10:08:28 +0000 (10:08 +0000)]
(routines): Add herrno-loc.
drepper [Sat, 28 Dec 2002 10:08:10 +0000 (10:08 +0000)]
(__h_errno_location): Remove.
drepper [Sat, 28 Dec 2002 09:58:41 +0000 (09:58 +0000)]
Update.
drepper [Sat, 28 Dec 2002 09:58:11 +0000 (09:58 +0000)]
Include <dl-sysdep.h>.
drepper [Sat, 28 Dec 2002 09:27:26 +0000 (09:27 +0000)]
Update.
drepper [Sat, 28 Dec 2002 09:27:04 +0000 (09:27 +0000)]
(tcbhead_t): Move list to the back of the struct.
(MULTIPLE_THREADS_OFFSET): Adjust offset.
(SYSINFO_OFFSEET): Likewise.
drepper [Sat, 28 Dec 2002 09:24:43 +0000 (09:24 +0000)]
(struct pthread): Move header.data.list to the back of the struct.
drepper [Sat, 28 Dec 2002 09:23:53 +0000 (09:23 +0000)]
(USE_DL_SYSINFO): Define.
(DL_SYSINFO_DEFAULT): Cast to uintptr_t to avoid warnings.
drepper [Sat, 28 Dec 2002 09:23:38 +0000 (09:23 +0000)]
(NEED_DL_SYSINFO, DL_SYSINFO_DEFAULT, DL_SYSINFO_IMPLEMENTATION):
Define. (USE_DL_SYSINFO): Undef.
drepper [Sat, 28 Dec 2002 09:23:19 +0000 (09:23 +0000)]
(tf_write, tf_writev): Increase buf sizes so that it is bigger than
pipe buffer size even on arches with bigger page size.
(tf_usleep): Cast usleep argument to useconds_t to avoid warnings.
drepper [Sat, 28 Dec 2002 09:23:01 +0000 (09:23 +0000)]
(tests-reverse): Use $(objpfx)../libc.so instead of $(common-objpfx)libc.so.
drepper [Sat, 28 Dec 2002 09:22:07 +0000 (09:22 +0000)]
Update.
drepper [Sat, 28 Dec 2002 09:20:26 +0000 (09:20 +0000)]
[DONT_LOAD_G1] (LOADSYSCALL): Remove.
(SYSCALL_ERROR_HANDLER_ENTRY): Define.
(SYSCALL_ERROR_HANDLER): Use it.
(PSEUDO): Don't jump around error handler.
drepper [Sat, 28 Dec 2002 09:20:01 +0000 (09:20 +0000)]
(syscall): Don't jump around error handler.
drepper [Sat, 28 Dec 2002 09:19:30 +0000 (09:19 +0000)]
(__socket): Branch to __syscall_error_handler on failure.
drepper [Sat, 28 Dec 2002 09:19:08 +0000 (09:19 +0000)]
(__libc_pipe): Don't jump around error handler.
drepper [Sat, 28 Dec 2002 09:18:52 +0000 (09:18 +0000)]
[DONT_LOAD_G1] (LOADSYSCALL): Remove.
(SYSCALL_ERROR_HANDLER_ENTRY): Define.
(SYSCALL_ERROR_HANDLER): Use it.
(PSEUDO): Don't jump around error handler.
drepper [Sat, 28 Dec 2002 09:18:34 +0000 (09:18 +0000)]
(syscall): Don't jump around error handler.
drepper [Sat, 28 Dec 2002 09:18:09 +0000 (09:18 +0000)]
(__socket): Branch to __syscall_error_handler on failure.
drepper [Sat, 28 Dec 2002 09:17:54 +0000 (09:17 +0000)]
(__libc_pipe): Don't jump around error handler.
drepper [Sat, 28 Dec 2002 09:17:31 +0000 (09:17 +0000)]
(INLINE_SYSCALL, INTERNAL_SYSCALL, INTERNAL_SYSCALL_ERROR_P,
INTERNAL_SYSCALL_ERROR): Define. Patch by Richard Henderson and Jes Sorensen.
(PSEUDO): Remove unnecessary ;;.
drepper [Sat, 28 Dec 2002 09:17:03 +0000 (09:17 +0000)]
(I386_USE_SYSENTER): Only define if USE_DL_SYSINFO is defined.
drepper [Sat, 28 Dec 2002 09:16:36 +0000 (09:16 +0000)]
Handle cancellation.
drepper [Sat, 28 Dec 2002 09:15:39 +0000 (09:15 +0000)]
(__libc_setup_tls): Use NONTLS_INIT_TP if not initializing thread pointer.
[!USE_TLS && NONTLS_INIT_TP] (__pthread_initialize_minimal): New.
drepper [Sat, 28 Dec 2002 09:14:52 +0000 (09:14 +0000)]
(__pthread_initialize_minimal): Don't make it weak also if NONTLS_INIT_TP.
drepper [Sat, 28 Dec 2002 09:14:21 +0000 (09:14 +0000)]
(dl_main): Initialize TLS even if no PT_TLS segments are found unless
TLS_INIT_TP_EXPENSIVE. Use NONTLS_INIT_TP.
drepper [Sat, 28 Dec 2002 09:12:19 +0000 (09:12 +0000)]
Update.
drepper [Sat, 28 Dec 2002 09:11:29 +0000 (09:11 +0000)]
(TLS_INIT_TP_EXPENSIVE): Define.
drepper [Sat, 28 Dec 2002 09:10:50 +0000 (09:10 +0000)]
Cancellation handling for SPARC32 syscalls.
drepper [Sat, 28 Dec 2002 09:08:46 +0000 (09:08 +0000)]
Cancellation handling for SPARC64 syscalls.
drepper [Sat, 28 Dec 2002 09:00:53 +0000 (09:00 +0000)]
Cancellation wrapper for ia64 syscalls.
drepper [Sat, 28 Dec 2002 08:52:02 +0000 (08:52 +0000)]
Linux/IA-64 LinuxThreads Makefile.
drepper [Sat, 28 Dec 2002 08:50:07 +0000 (08:50 +0000)]
(MULTIPLE_THREADS_OFFSET): Adjust.
drepper [Sat, 28 Dec 2002 08:49:39 +0000 (08:49 +0000)]
Linux/i386 LinuxThreads definitions for ld.so.
drepper [Sat, 28 Dec 2002 08:48:49 +0000 (08:48 +0000)]
TLS definitions for SPARC64 LinuxThreads.
drepper [Sat, 28 Dec 2002 08:48:26 +0000 (08:48 +0000)]
TLS definitions for SPARC32 LinuxThreads.
drepper [Sat, 28 Dec 2002 08:47:52 +0000 (08:47 +0000)]
(__libc_maybe_call, __libc_maybe_call2): In _LIBC check SHARED define.
drepper [Sat, 28 Dec 2002 08:47:27 +0000 (08:47 +0000)]
TLS definitions for IA-64 LinuxThreads.