From a162642d80973c1ca52bf58e0d776060d9746d75 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Mon, 5 Aug 2002 06:38:00 +0000 Subject: * 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. --- include/pthread.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'include') 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)); -- cgit v1.2.3