diff options
author | Ulrich Drepper <drepper@redhat.com> | 2003-01-16 18:24:32 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2003-01-16 18:24:32 +0000 |
commit | 850dcfcafe6c1cc9e59763a882a25a2f0c2c4d68 (patch) | |
tree | 988a3b6a1130ece7cb796db6f01cb8d367dfbf80 /linuxthreads/pthread.c | |
parent | a1f8ec97fdaf3e0636957bfc3861651869c60b40 (diff) | |
download | glibc-850dcfcafe6c1cc9e59763a882a25a2f0c2c4d68.tar.gz glibc-850dcfcafe6c1cc9e59763a882a25a2f0c2c4d68.tar.xz glibc-850dcfcafe6c1cc9e59763a882a25a2f0c2c4d68.zip |
Update.
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.
Diffstat (limited to 'linuxthreads/pthread.c')
-rw-r--r-- | linuxthreads/pthread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linuxthreads/pthread.c b/linuxthreads/pthread.c index f72e20ee09..2888a6a2f7 100644 --- a/linuxthreads/pthread.c +++ b/linuxthreads/pthread.c @@ -305,7 +305,7 @@ __pthread_initialize_minimal(void) taken care of initializing the TLS data structures. */ __libc_setup_tls (TLS_TCB_SIZE, TLS_TCB_ALIGN); # elif !USE___THREAD - if (__builtin_expect (GL(dl_tls_max_dtv_idx) == 0, 0)) + if (__builtin_expect (GL(dl_tls_dtv_slotinfo_list) == NULL, 0)) { tcbhead_t *tcbp; |