aboutsummaryrefslogtreecommitdiff
path: root/nptl
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-12-28 09:58:41 +0000
committerUlrich Drepper <drepper@redhat.com>2002-12-28 09:58:41 +0000
commitafb2e954009b7ff48379a254926730b303ce7bab (patch)
tree58c37f66a23d8f06a561e1f2c35772d4d0d4d89a /nptl
parent131fd126cddad8379741597892cdfcd5cab3a49f (diff)
downloadglibc-afb2e954009b7ff48379a254926730b303ce7bab.tar
glibc-afb2e954009b7ff48379a254926730b303ce7bab.tar.gz
glibc-afb2e954009b7ff48379a254926730b303ce7bab.tar.bz2
glibc-afb2e954009b7ff48379a254926730b303ce7bab.zip
Update.
2002-12-27 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER): Only define if USE_DL_SYSINFO is defined. 2002-12-22 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/ia64/sysdep.h (INLINE_SYSCALL, INTERNAL_SYSCALL, INTERNAL_SYSCALL_ERROR_P, INTERNAL_SYSCALL_ERROR): Define. Patch by Richard Henderson and Jes Sorensen. (PSEUDO): Remove unnecessary ;;. * elf/rtld.c (dl_main): Initialize TLS even if no PT_TLS segments are found unless TLS_INIT_TP_EXPENSIVE. Use NONTLS_INIT_TP. * sysdeps/generic/libc-tls.c (__libc_setup_tls): Use NONTLS_INIT_TP if not initializing thread pointer. [!USE_TLS && NONTLS_INIT_TP] (__pthread_initialize_minimal): New. * sysdeps/generic/libc-start.c (__pthread_initialize_minimal): Don't make it weak also if NONTLS_INIT_TP. * sysdeps/unix/common/pause.c: Handle cancellation. * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h [DONT_LOAD_G1] (LOADSYSCALL): Remove. (SYSCALL_ERROR_HANDLER_ENTRY): Define. (SYSCALL_ERROR_HANDLER): Use it. (PSEUDO): Don't jump around error handler. * sysdeps/unix/sysv/linux/sparc/sparc32/pipe.S (__libc_pipe): Don't jump around error handler. * sysdeps/unix/sysv/linux/sparc/sparc32/syscall.S (syscall): Likewise. * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S (__socket): Branch to __syscall_error_handler on failure. * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h [DONT_LOAD_G1] (LOADSYSCALL): Remove. (SYSCALL_ERROR_HANDLER_ENTRY): Define. (SYSCALL_ERROR_HANDLER): Use it. (PSEUDO): Don't jump around error handler. * sysdeps/unix/sysv/linux/sparc/sparc64/pipe.S (__libc_pipe): Don't jump around error handler. * sysdeps/unix/sysv/linux/sparc/sparc64/syscall.S (syscall): Likewise. * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S (__socket): Branch to __syscall_error_handler on failure.
Diffstat (limited to 'nptl')
-rw-r--r--nptl/ChangeLog4
-rw-r--r--nptl/descr.h1
2 files changed, 3 insertions, 2 deletions
diff --git a/nptl/ChangeLog b/nptl/ChangeLog
index e9beee6d68..3288bcc7cf 100644
--- a/nptl/ChangeLog
+++ b/nptl/ChangeLog
@@ -1,7 +1,7 @@
2002-12-28 Ulrich Drepper <drepper@redhat.com>
- * descr.h (struct pthread): Move header.data.list to the back of the
- struct.
+ * descr.h: Include <dl-sysdep.h>.
+ (struct pthread): Move header.data.list to the back of the struct.
* sysdeps/i386/tls.h (tcbhead_t): Move list to the back of the struct.
(MULTIPLE_THREADS_OFFSET): Adjust offset.
(SYSINFO_OFFSEET): Likewise.
diff --git a/nptl/descr.h b/nptl/descr.h
index 883078be69..3fe04ec2aa 100644
--- a/nptl/descr.h
+++ b/nptl/descr.h
@@ -29,6 +29,7 @@
#include <list.h>
#include <lowlevellock.h>
#include <pthreaddef.h>
+#include <dl-sysdep.h>
#include "../nptl_db/thread_db.h"