* sysdeps/generic/libc-tls.c (__libc_setup_tls): Make the phdr loop
authorRoland McGrath <roland@gnu.org>
Mon, 5 Aug 2002 06:38:00 +0000 (06:38 +0000)
committerRoland McGrath <roland@gnu.org>
Mon, 5 Aug 2002 06:38:00 +0000 (06:38 +0000)
commita162642d80973c1ca52bf58e0d776060d9746d75
tree896f7a166c18e6beb1d9780adbc86727e586a907
parent2a185b31a8e3a50fc5fccadfe3c1f7110686baca
* 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.
ChangeLog
include/pthread.h
sysdeps/generic/libc-start.c
sysdeps/generic/libc-tls.c