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/syscall.S | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libc/sysdeps/linux/i386/syscall.S') diff --git a/libc/sysdeps/linux/i386/syscall.S b/libc/sysdeps/linux/i386/syscall.S index a70a99701..69cafd4fe 100644 --- a/libc/sysdeps/linux/i386/syscall.S +++ b/libc/sysdeps/linux/i386/syscall.S @@ -40,7 +40,7 @@ syscall: cmpl $-4095,%eax jbe .Ldone -#ifdef PIC +#ifdef __PIC__ call Lhere Lhere: popl %ebx @@ -63,7 +63,7 @@ Lhere: movl %eax,errno #endif /* __UCLIBC_HAS_THREADS__ */ -#endif /* PIC */ +#endif /* __PIC__ */ movl $-1,%eax .p2align 4,,7 -- cgit v1.2.3