summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/bfin/bsd-_setjmp.S
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-03-12 18:48:13 +0000
committerMike Frysinger <vapier@gentoo.org>2007-03-12 18:48:13 +0000
commit3c744cd1780793df6193f3b83630702b35ab1e02 (patch)
tree5affb82a78364f53ce587ba26efacf777433ec52 /libc/sysdeps/linux/bfin/bsd-_setjmp.S
parent4bb5454cbdfe9f3e0c5d6ea3239de3ee1995bb2e (diff)
fix from upstream blackfin repo for sigsetjmp
Diffstat (limited to 'libc/sysdeps/linux/bfin/bsd-_setjmp.S')
-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