about summary refs log tree commit diff
path: root/sysdeps/sh/sh3/setjmp.S
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/sh/sh3/setjmp.S')
-rw-r--r--sysdeps/sh/sh3/setjmp.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/sh/sh3/setjmp.S b/sysdeps/sh/sh3/setjmp.S
index ea41f459de..74c7f707ec 100644
--- a/sysdeps/sh/sh3/setjmp.S
+++ b/sysdeps/sh/sh3/setjmp.S
@@ -1,4 +1,4 @@
-/* setjmp for SH4.
+/* setjmp for SH3.
    Copyright (C) 1999, 2000 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
@@ -27,7 +27,7 @@ ENTRY (__setjmp)
 	mov	#0, r5
 ENTRY (__sigsetjmp)
 	/* Save registers */
-	add	#JB_SIZE, r4
+	add	#(JB_SIZE - 4 * 5), r4
 	stc.l	gbr, @-r4
 	sts.l	pr, @-r4
 	mov.l	r15, @-r4