summary refs log tree commit diff
path: root/sysdeps/arm/fpu/setjmp.S
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/arm/fpu/setjmp.S')
-rw-r--r--sysdeps/arm/fpu/setjmp.S3
1 files changed, 3 insertions, 0 deletions
diff --git a/sysdeps/arm/fpu/setjmp.S b/sysdeps/arm/fpu/setjmp.S
index 790e7566d4..6ee53c57b0 100644
--- a/sysdeps/arm/fpu/setjmp.S
+++ b/sysdeps/arm/fpu/setjmp.S
@@ -30,6 +30,9 @@ ENTRY (__sigsetjmp)
 	sfmea	f4, 4, [r0]!
 	stmia	r0, {v1-v6, sl, fp, sp, lr}
 
+	/* Restore pointer to jmp_buf */
+	sub	r0, r0, #48
+
 	/* Make a tail call to __sigjmp_save; it takes the same args.  */
 	B	PLTJMP(C_SYMBOL_NAME(__sigjmp_save))
 END (__setjmp)