diff options
author | Ulrich Drepper <drepper@redhat.com> | 2003-04-25 09:12:43 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2003-04-25 09:12:43 +0000 |
commit | 299601a1ef8df4532ded24194c4556e294ab1e6e (patch) | |
tree | 7e7338ca0004ce7fdba3e7429677ef0a5786ad8f /nptl/ChangeLog | |
parent | 29bfc9453e2945b476cec5545f8409fd2a2ba886 (diff) | |
download | glibc-299601a1ef8df4532ded24194c4556e294ab1e6e.tar.gz glibc-299601a1ef8df4532ded24194c4556e294ab1e6e.tar.xz glibc-299601a1ef8df4532ded24194c4556e294ab1e6e.zip |
Update.
2003-04-22 Jakub Jelinek <jakub@redhat.com> * include/link.h (NO_TLS_OFFSET): Define to 0 if not defined. * elf/dl-close.c (_dl_close): Use NO_TLS_OFFSET. * elf/dl-object.c (_dl_new_object): Initialize l_tls_offset to NO_TLS_OFFSET. * elf/rtld.c (_dl_start_final, _dl_start): Likewise. * elf/dl-reloc.c (CHECK_STATIC_TLS): Use NO_TLS_OFFSET. * sysdeps/generic/dl-tls.c (_dl_allocate_tls_init): Likewise. * sysdeps/powerpc/dl-tls.h (TLS_TPREL_VALUE): Don't subtract TLS_TCB_SIZE.
Diffstat (limited to 'nptl/ChangeLog')
-rw-r--r-- | nptl/ChangeLog | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/nptl/ChangeLog b/nptl/ChangeLog index b1b68b4b3e..8e76d9e417 100644 --- a/nptl/ChangeLog +++ b/nptl/ChangeLog @@ -1,3 +1,41 @@ +2003-04-22 Jakub Jelinek <jakub@redhat.com> + + * descr.h (p_multiple_threads): Define. + (struct pthread) [TLS_MULTIPLE_THREADS_IN_TCB]: Move + multiple_threads to last int in the structure. + * allocatestack.c (TLS_TPADJ): Add TLS_PRE_TCB_SIZE instead of + sizeof (struct pthread). + (allocate_stack): Subtract TLS_PRE_TCB_SIZE bytes instead of + 1 struct pthread. Use p_multiple_threads macro. + * sysdeps/pthread/createthread.c (create_thread): Use + p_multiple_threads macro if TLS_DTV_AT_TP. + * sysdeps/powerpc/tls.h (TLS_INIT_TCB_SIZE, TLS_TCB_SIZE): Define + to 0. + (TLS_INIT_TCB_ALIGN, TLS_TCB_ALIGN): Define to alignment of + struct pthread. + (TLS_PRE_TCB_SIZE): Increase to cover tcbhead_t preceeded by pad + to 32-bit bytes. + (INSTALL_DTV, GET_DTV, THREAD_DTV): tcbhead_t is immediately before + tcbp. + (TLS_INIT_TP, THREAD_SELF, INIT_THREAD_SELF): Don't add TLS_TCB_SIZE + unneccessarily. + (NO_TLS_OFFSET): Define. + * sysdeps/powerpc/tcb-offsets.sym (MULTIPLE_THREADS): Use + p_multiple_threads macro. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h + (SINGLE_THREAD_P): Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h + (SINGLE_THREAD_P): Likewise. + * sysdeps/unix/sysv/linux/powerpc/createthread.c (TLS_VALUE): Don't + add TLS_TCB_SIZE unnecessarily. + * sysdeps/ia64/tcb-offsets.sym (MULTIPLE_THREADS): Define to + -sizeof(int). + * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (SINGLE_THREAD_P): + Use p_multiple_threads macro. + * sysdeps/sh/tcb-offsets.sym (MULTIPLE_THREADS): Likewise. + * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (SINGLE_THREAD_P): + Likewise. + 2003-04-22 Roland McGrath <roland@redhat.com> * Makeconfig (shared-thread-library): Reverse link order to work |