summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/sh/setjmp.S
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-02-22 05:29:50 +0000
committerEric Andersen <andersen@codepoet.org>2001-02-22 05:29:50 +0000
commit5b6e897d01a07f8391351a07321f2bcb7c025a7e (patch)
treeed3dfba88ea6c62e0cb584bec74901292510dab3 /libc/sysdeps/linux/sh/setjmp.S
parent2109636071eb7b3c085b6fcefcbed272a61e6713 (diff)
Patch from Jean-Yves Avenard to add missing siglongjmp entry and
fix a bug in setjmp for SH
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 449d936dc..154cef1af 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 - 4 * 5), r4
+ add #(JB_SIZE), r4
stc.l gbr, @-r4
sts.l pr, @-r4
mov.l r15, @-r4