[uClibc-cvs] uClibc/libc/sysdeps/linux/powerpc mcount.S,1.1,1.2

Erik Andersen andersen at uclibc.org
Fri May 30 04:47:50 UTC 2003

Update of /var/cvs/uClibc/libc/sysdeps/linux/powerpc
In directory winder:/tmp/cvs-serv14565/libc/sysdeps/linux/powerpc

Modified Files:
Log Message:
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!!!

Index: mcount.S
RCS file: /var/cvs/uClibc/libc/sysdeps/linux/powerpc/mcount.S,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- mcount.S	6 Mar 2003 15:03:33 -0000	1.1
+++ mcount.S	30 May 2003 04:47:46 -0000	1.2
@@ -69,7 +69,7 @@
 	stw	r10,40(r1)
 	stw	r4, 44(r1)
 	stw	r5,  8(r1)
-#ifdef PIC
+#ifdef __PIC__
 	bl	__mcount_internal at plt
 	bl	__mcount_internal

More information about the uClibc-cvs mailing list