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/clone.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/clone.S')
-rw-r--r-- | libc/sysdeps/linux/i386/clone.S | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libc/sysdeps/linux/i386/clone.S b/libc/sysdeps/linux/i386/clone.S index c52bb7fd8..93183d208 100644 --- a/libc/sysdeps/linux/i386/clone.S +++ b/libc/sysdeps/linux/i386/clone.S @@ -65,11 +65,11 @@ __clone: CLONE_ERROR_LABEL: negl %eax pushl %eax -#ifdef PIC - call L(here) -L(here): +#ifdef __PIC__ + call .Lhere +.Lhere: popl %ebx - addl $_GLOBAL_OFFSET_TABLE_+[.-L(here)], %ebx + addl $_GLOBAL_OFFSET_TABLE_+[.- .Lhere ], %ebx call __errno_location@PLT #else call __errno_location |