diff options
Diffstat (limited to 'lib/libc/amd64/gen/setjmp.S')
-rw-r--r-- | lib/libc/amd64/gen/setjmp.S | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/libc/amd64/gen/setjmp.S b/lib/libc/amd64/gen/setjmp.S index c82b7f0..32a246e 100644 --- a/lib/libc/amd64/gen/setjmp.S +++ b/lib/libc/amd64/gen/setjmp.S @@ -55,8 +55,7 @@ #include "SYS.h" ENTRY(__setjmp) -.weak setjmp; -.set setjmp, __setjmp; +ENTRY(setjmp) movl 4(%esp),%ecx PIC_PROLOGUE leal 28(%ecx), %eax @@ -83,8 +82,7 @@ ENTRY(__setjmp) ret ENTRY(__longjmp) -.weak longjmp; -.set longjmp, __longjmp; +ENTRY(longjmp) movl 4(%esp),%edx PIC_PROLOGUE pushl $0 /* (sigset_t*)oset */ |