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/setjmp.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/setjmp.S')
-rw-r--r-- | libc/sysdeps/linux/i386/setjmp.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/i386/setjmp.S b/libc/sysdeps/linux/i386/setjmp.S index debef7017..ef9deebd6 100644 --- a/libc/sysdeps/linux/i386/setjmp.S +++ b/libc/sysdeps/linux/i386/setjmp.S @@ -42,7 +42,7 @@ __sigsetjmp: movl %ebp, (3 *4)(%eax) /* Make a tail call to __sigjmp_save; it takes the same args. */ -#ifdef PIC +#ifdef __PIC__ /* We cannot use the PLT, because it requires that %ebx be set, but we can't save and restore our caller's value. Instead, we do an indirect jump through the GOT, using for the temporary register |