diff options
author | Roland McGrath <roland@gnu.org> | 2002-12-04 12:27:20 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2002-12-04 12:27:20 +0000 |
commit | 68dc80ca28a192d686b3190373df8468b4ce5cb8 (patch) | |
tree | 0d44f72655d3148c6f830f635f7b019368cc340b /elf | |
parent | 7a5cdb30e31c860ce0314393cc97f161258ff842 (diff) | |
download | glibc-68dc80ca28a192d686b3190373df8468b4ce5cb8.tar.gz glibc-68dc80ca28a192d686b3190373df8468b4ce5cb8.tar.xz glibc-68dc80ca28a192d686b3190373df8468b4ce5cb8.zip |
2002-12-04 Roland McGrath <roland@redhat.com>
* sysdeps/generic/ldsodefs.h (struct rtld_global): Move all [USE_TLS] members to the end, so a libpthread compiled with !USE_TLS will still find other members properly. * sysdeps/generic/dl-tls.c [SHARED] (_dl_tls_setup): New function. * sysdeps/generic/ldsodefs.h: Declare it. * elf/Versions (ld: GLIBC_PRIVATE): Add it. * sysdeps/generic/libc-tls.c (init_slotinfo): New static inline function, broken out of __libc_setup_tls. (init_static_tls): Likewise. (__libc_setup_tls): Call them. (_dl_tls_setup): New function, uses new subroutines. * sysdeps/generic/ldsodefs.h (_dl_next_tls_modid): Declare as hidden. (_dl_determine_tlsoffset): Likewise. * elf/rtld.c (_dl_initial_error_catch_tsd): Renamed from startup_error_tsd, made global. (dl_main): Update initialization. * elf/dl-tsd.c: Likewise. * sysdeps/generic/ldsodefs.h: Declare it.
Diffstat (limited to 'elf')
0 files changed, 0 insertions, 0 deletions