mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-28 05:21:13 +00:00
850dcfcafe
2003-01-16 Jakub Jelinek <jakub@redhat.com> * elf/dl-load.c (_dl_map_object_from_fd): Use GL(dl_tls_dtv_slotinfo_list) != NULL to check whether TLS has been already initialized.
10 lines
268 B
Plaintext
10 lines
268 B
Plaintext
#include <sysdep.h>
|
|
#include <tls.h>
|
|
|
|
--
|
|
#ifdef USE_TLS
|
|
MULTIPLE_THREADS_OFFSET offsetof (struct _pthread_descr_struct, p_header.data.multiple_threads) - sizeof (struct _pthread_descr_struct)
|
|
#else
|
|
MULTIPLE_THREADS_OFFSET offsetof (tcbhead_t, multiple_threads)
|
|
#endif
|