diff options
author | Roland McGrath <roland@gnu.org> | 2002-08-05 06:38:00 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2002-08-05 06:38:00 +0000 |
commit | a162642d80973c1ca52bf58e0d776060d9746d75 (patch) | |
tree | 896f7a166c18e6beb1d9780adbc86727e586a907 /include/pthread.h | |
parent | 2a185b31a8e3a50fc5fccadfe3c1f7110686baca (diff) | |
download | glibc-a162642d80973c1ca52bf58e0d776060d9746d75.tar.gz glibc-a162642d80973c1ca52bf58e0d776060d9746d75.tar.xz glibc-a162642d80973c1ca52bf58e0d776060d9746d75.zip |
* sysdeps/generic/libc-tls.c (__libc_setup_tls): Make the phdr loop
actually iterate over the elements. Fix typo p_type -> p_vaddr. * include/pthread.h: Don't declare __pthread_initialize_minimal as weak here; we declare it weak or strong in the one place we use it. * sysdeps/generic/libc-start.c: ... which is here. Don't make the decl weak if [USE_TLS], since static programs need TLS setup even when single-threaded.
Diffstat (limited to 'include/pthread.h')
-rw-r--r-- | include/pthread.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/pthread.h b/include/pthread.h index fb37db13bc..f8860bdf93 100644 --- a/include/pthread.h +++ b/include/pthread.h @@ -2,5 +2,3 @@ /* This function is called to initialize the pthread library. */ extern void __pthread_initialize (void) __attribute__ ((weak)); - -extern void __pthread_initialize_minimal (void) __attribute__ ((weak)); |