summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/sh/setjmp.S
diff options
context:
space:
mode:
authorDavid McCullough <davidm@snapgear.com>2002-01-17 04:12:12 +0000
committerDavid McCullough <davidm@snapgear.com>2002-01-17 04:12:12 +0000
commit36b818352e14ef19f3da291761a06bfb37e06c09 (patch)
tree9477a4c86d6060d6c30605a436d89fb1d3a336ba /libc/sysdeps/linux/sh/setjmp.S
parent9557844c482a3a2302df69e06677178247634d56 (diff)
Add sbrk and friends
Fix bug in setjmp (jmpbuf changed size)
Diffstat (limited to 'libc/sysdeps/linux/sh/setjmp.S')
-rw-r--r--libc/sysdeps/linux/sh/setjmp.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/sh/setjmp.S b/libc/sysdeps/linux/sh/setjmp.S
index 154cef1af..c263dc918 100644
--- a/libc/sysdeps/linux/sh/setjmp.S
+++ b/libc/sysdeps/linux/sh/setjmp.S
@@ -30,7 +30,7 @@ ENTRY (__sigsetjmp)
__sigsetjmp:
*/
/* Save registers */
- add #(JB_SIZE), r4
+ add #(JB_SIZE-5*4), r4 /* this code doesn't do FP yet */
stc.l gbr, @-r4
sts.l pr, @-r4
mov.l r15, @-r4