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 --- libc/sysdeps/linux/powerpc/mcount.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libc/sysdeps/linux/powerpc') diff --git a/libc/sysdeps/linux/powerpc/mcount.S b/libc/sysdeps/linux/powerpc/mcount.S index a9e3677a1..303a0dd53 100644 --- a/libc/sysdeps/linux/powerpc/mcount.S +++ b/libc/sysdeps/linux/powerpc/mcount.S @@ -69,7 +69,7 @@ _mcount: stw r10,40(r1) stw r4, 44(r1) stw r5, 8(r1) -#ifdef PIC +#ifdef __PIC__ bl __mcount_internal@plt #else bl __mcount_internal -- cgit v1.2.3