summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/bfin
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/bfin')
-rw-r--r--libc/sysdeps/linux/bfin/bsd-_setjmp.S5
1 files changed, 3 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/bfin/bsd-_setjmp.S b/libc/sysdeps/linux/bfin/bsd-_setjmp.S
index e2338d6cc..8ca2bbec9 100644
--- a/libc/sysdeps/linux/bfin/bsd-_setjmp.S
+++ b/libc/sysdeps/linux/bfin/bsd-_setjmp.S
@@ -90,7 +90,8 @@ __setjmp:
R0 = RETS;
[P0 + 0x9C] = R0;
- R0 = 0;
+ R0 = [P0 + 0x20];
+ R1 = 0;
+ JUMP.L ___sigjmp_save;
- RTS;
.size __setjmp,.-__setjmp