summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--arch/sh/bits/setjmp.h2
-rw-r--r--src/signal/sh/sigsetjmp.s4
2 files changed, 3 insertions, 3 deletions
diff --git a/arch/sh/bits/setjmp.h b/arch/sh/bits/setjmp.h
index bef7fe2a..05dbdc71 100644
--- a/arch/sh/bits/setjmp.h
+++ b/arch/sh/bits/setjmp.h
@@ -1 +1 @@
-typedef unsigned long __jmp_buf[13];
+typedef unsigned long __jmp_buf[15];
diff --git a/src/signal/sh/sigsetjmp.s b/src/signal/sh/sigsetjmp.s
index 16256e5f..1e2270be 100644
--- a/src/signal/sh/sigsetjmp.s
+++ b/src/signal/sh/sigsetjmp.s
@@ -8,7 +8,7 @@ __sigsetjmp:
bt 9f
mov r4, r6
- add #52, r6
+ add #60, r6
sts pr, r0
mov.l r0, @r6
mov.l r8, @(4+8,r6)
@@ -20,7 +20,7 @@ __sigsetjmp:
mov r0, r5
mov r8, r4
mov r4, r6
- add #52, r6
+ add #60, r6
mov.l @r6, r0
lds r0, pr