diff options
author | Eric Andersen <andersen@codepoet.org> | 2003-05-30 04:47:47 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2003-05-30 04:47:47 +0000 |
commit | eeb9d29da882153b1fa2b1e00178899bb95659b2 (patch) | |
tree | f3821d10909b9dab15f70169b1488002e6be770a /libc/sysdeps/linux/i386/syscall.S | |
parent | 4352cfec686d850f4bd5a27d9afb99867db01a54 (diff) |
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
Diffstat (limited to 'libc/sysdeps/linux/i386/syscall.S')
-rw-r--r-- | libc/sysdeps/linux/i386/syscall.S | 4 |
1 files changed, 2 insertions, 2 deletions
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 |