summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/mips/syscall.S
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-05-30 04:47:47 +0000
committerEric Andersen <andersen@codepoet.org>2003-05-30 04:47:47 +0000
commiteeb9d29da882153b1fa2b1e00178899bb95659b2 (patch)
treef3821d10909b9dab15f70169b1488002e6be770a /libc/sysdeps/linux/mips/syscall.S
parent4352cfec686d850f4bd5a27d9afb99867db01a54 (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/mips/syscall.S')
-rw-r--r--libc/sysdeps/linux/mips/syscall.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/mips/syscall.S b/libc/sysdeps/linux/mips/syscall.S
index c197a25c0..b270e315b 100644
--- a/libc/sysdeps/linux/mips/syscall.S
+++ b/libc/sysdeps/linux/mips/syscall.S
@@ -20,7 +20,7 @@
#include <asm/asm.h>
#include <asm/regdef.h>
-#ifdef PIC
+#ifdef __PIC__
.option pic2
#endif
.text