glibc/include/pthread.h
Roland McGrath a162642d80 * 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.
2002-08-05 06:38:00 +00:00

5 lines
157 B
C

#include_next <pthread.h>
/* This function is called to initialize the pthread library. */
extern void __pthread_initialize (void) __attribute__ ((weak));