diff options
-rw-r--r-- | lib/libc/amd64/gen/setjmp.S | 2 | ||||
-rw-r--r-- | lib/libc/i386/gen/setjmp.S | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/amd64/gen/setjmp.S b/lib/libc/amd64/gen/setjmp.S index e70879a..4a85658 100644 --- a/lib/libc/amd64/gen/setjmp.S +++ b/lib/libc/amd64/gen/setjmp.S @@ -55,8 +55,8 @@ #include "SYS.h" ENTRY(setjmp) - PIC_PROLOGUE movl 4(%esp),%ecx + PIC_PROLOGUE leal 28(%ecx), %eax pushl %eax /* (sigset_t*)oset */ pushl $0 /* (sigset_t*)set */ diff --git a/lib/libc/i386/gen/setjmp.S b/lib/libc/i386/gen/setjmp.S index e70879a..4a85658 100644 --- a/lib/libc/i386/gen/setjmp.S +++ b/lib/libc/i386/gen/setjmp.S @@ -55,8 +55,8 @@ #include "SYS.h" ENTRY(setjmp) - PIC_PROLOGUE movl 4(%esp),%ecx + PIC_PROLOGUE leal 28(%ecx), %eax pushl %eax /* (sigset_t*)oset */ pushl $0 /* (sigset_t*)set */ |