[uClibc-cvs] uClibc/libpthread/linuxthreads attr.c,1.2,1.3 oldsemaphore.c,1.2,1.3

Erik Andersen andersen at uclibc.org
Mon Jun 2 17:51:36 UTC 2003


Update of /var/cvs/uClibc/libpthread/linuxthreads
In directory winder:/tmp/cvs-serv7178/libpthread/linuxthreads

Modified Files:
	attr.c oldsemaphore.c 
Log Message:
Patch from Peter S. Mazinger to fix some leftover problems
from converting "PIC" to "__PIC__"


Index: attr.c
===================================================================
RCS file: /var/cvs/uClibc/libpthread/linuxthreads/attr.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- attr.c	31 Oct 2002 18:20:18 -0000	1.2
+++ attr.c	2 Jun 2003 17:51:32 -0000	1.3
@@ -50,7 +50,7 @@
 
 /* uClibc: leave out this for now. */
 #if DO_PTHREAD_VERSIONING_WITH_UCLIBC
-#if defined __HAVE_ELF__ && defined PIC && defined DO_VERSIONING
+#if defined __HAVE_ELF__ && defined __PIC__ && defined DO_VERSIONING
 default_symbol_version (__pthread_attr_init_2_1, pthread_attr_init, GLIBC_2.1);
 
 int __pthread_attr_init_2_0(pthread_attr_t *attr)

Index: oldsemaphore.c
===================================================================
RCS file: /var/cvs/uClibc/libpthread/linuxthreads/oldsemaphore.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- oldsemaphore.c	30 May 2003 04:47:47 -0000	1.2
+++ oldsemaphore.c	2 Jun 2003 17:51:32 -0000	1.3
@@ -224,7 +224,7 @@
   }
 }
 
-#if defined __PIC__ && DO_VERSIONING
+#if defined __PIC__ && defined DO_VERSIONING
 symbol_version (__old_sem_init, sem_init, GLIBC_2.0);
 symbol_version (__old_sem_wait, sem_wait, GLIBC_2.0);
 symbol_version (__old_sem_trywait, sem_trywait, GLIBC_2.0);



More information about the uClibc-cvs mailing list