From eeb9d29da882153b1fa2b1e00178899bb95659b2 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Fri, 30 May 2003 04:47:47 +0000 Subject: In a number of places we erroneously used tests such as '#ifdef PIC' when we should instead have been testing for '#ifdef __PIC__'. This resulted in NON-PIC code getting mixed into the shared library. Oops!!! -Erik --- libpthread/linuxthreads/weaks.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libpthread/linuxthreads/weaks.c') diff --git a/libpthread/linuxthreads/weaks.c b/libpthread/linuxthreads/weaks.c index 80ee11185..67f1df5b0 100644 --- a/libpthread/linuxthreads/weaks.c +++ b/libpthread/linuxthreads/weaks.c @@ -30,7 +30,7 @@ extern void __pthread_return_void __P ((void)); */ /* Those are pthread functions which return 0 if successful. */ -//#if defined __HAVE_ELF__ && defined PIC && defined DO_VERSIONING +//#if defined __HAVE_ELF__ && defined __PIC__ && defined DO_VERSIONING //weak_alias (__pthread_return_0, __libc_pthread_attr_init_2_0) //symbol_version (__libc_pthread_attr_init_2_0, pthread_attr_init, GLIBC_2.0); //weak_alias (__pthread_return_0, __libc_pthread_attr_init_2_1) -- cgit v1.2.3