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/i386/vfork.S | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'libc/sysdeps/linux/i386/vfork.S') diff --git a/libc/sysdeps/linux/i386/vfork.S b/libc/sysdeps/linux/i386/vfork.S index 176f25cc3..e2d87053b 100644 --- a/libc/sysdeps/linux/i386/vfork.S +++ b/libc/sysdeps/linux/i386/vfork.S @@ -12,13 +12,13 @@ vfork: popl %ecx movl $190,%eax -#ifdef PIC +#ifdef __PIC__ pushl %ebx #endif #APP int $0x80 #NO_APP -#ifdef PIC +#ifdef __PIC__ popl %ebx #endif cmpl $-4095,%eax @@ -28,7 +28,7 @@ vfork: .Lerror: pushl %ecx -#ifdef PIC +#ifdef __PIC__ pushl %ebx call .Lhere .Lhere: @@ -53,7 +53,7 @@ vfork: movl %eax,errno #endif /* __UCLIBC_HAS_THREADS__ */ -#endif /* PIC */ +#endif /* __PIC__ */ movl $-1,%eax ret -- cgit v1.2.3