about summary refs log tree commit diff
path: root/sysdeps/arm/setjmp.S
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2014-03-11 10:59:01 -0700
committerRoland McGrath <roland@hack.frob.com>2014-03-11 10:59:01 -0700
commitd7706c32589ef32f4bed3122a2f5c861b214149e (patch)
tree2b775ba9d6486d0663839aad5596d3256ef4937d /sysdeps/arm/setjmp.S
parent4facea473059914983b7da8dd654c06b8e3dcc41 (diff)
downloadglibc-d7706c32589ef32f4bed3122a2f5c861b214149e.tar.gz
glibc-d7706c32589ef32f4bed3122a2f5c861b214149e.tar.xz
glibc-d7706c32589ef32f4bed3122a2f5c861b214149e.zip
ARM: Fix up setjmp/longjmp changes sfi_* macro use.
Diffstat (limited to 'sysdeps/arm/setjmp.S')
-rw-r--r--sysdeps/arm/setjmp.S12
1 files changed, 8 insertions, 4 deletions
diff --git a/sysdeps/arm/setjmp.S b/sysdeps/arm/setjmp.S
index 5e55ca5061..17a16c9b5d 100644
--- a/sysdeps/arm/setjmp.S
+++ b/sysdeps/arm/setjmp.S
@@ -36,12 +36,16 @@ ENTRY (__sigsetjmp)
 #ifdef PTR_MANGLE
 	mov	a4, sp
 	PTR_MANGLE2 (a4, a4, a3)
-	str	a4, [ip], #4
+	sfi_breg ip, \
+	str	a4, [\B], #4
 	PTR_MANGLE2 (a4, lr, a3)
-	str	a4, [ip], #4
+	sfi_breg ip, \
+	str	a4, [\B], #4
 #else
-	str	sp, [ip], #4
-	str	lr, [ip], #4
+	sfi_breg ip, \
+	str	sp, [\B], #4
+	sfi_breg ip, \
+	str	lr, [\B], #4
 #endif
 	/* Save registers */
 	sfi_breg ip, \