about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2013-05-06 12:52:05 -0700
committerRoland McGrath <roland@hack.frob.com>2013-05-06 12:53:55 -0700
commit12290c0614206ac6e9b52467bcf33f40dea5c2d6 (patch)
treeb6ae5626b84f95646d659cf3a6a3e35ea8c2d149
parent16e616a72f9ac247520c0c7da99b99e229facdf9 (diff)
downloadglibc-12290c0614206ac6e9b52467bcf33f40dea5c2d6.tar.gz
glibc-12290c0614206ac6e9b52467bcf33f40dea5c2d6.tar.xz
glibc-12290c0614206ac6e9b52467bcf33f40dea5c2d6.zip
ARM: Add missing sfi_breg prefix in _dl_tlsdesc_dynamic code.
-rw-r--r--ports/ChangeLog.arm4
-rw-r--r--ports/sysdeps/arm/dl-tlsdesc.S1
2 files changed, 5 insertions, 0 deletions
diff --git a/ports/ChangeLog.arm b/ports/ChangeLog.arm
index 9bd3aad07e..25981d7729 100644
--- a/ports/ChangeLog.arm
+++ b/ports/ChangeLog.arm
@@ -1,3 +1,7 @@
+2013-05-06  Roland McGrath  <roland@hack.frob.com>
+
+	* sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add missing sfi_breg.
+
 2013-04-19  Roland McGrath  <roland@hack.frob.com>
 
 	* sysdeps/arm/sysdep.h
diff --git a/ports/sysdeps/arm/dl-tlsdesc.S b/ports/sysdeps/arm/dl-tlsdesc.S
index 94f6801831..d4b046669a 100644
--- a/ports/sysdeps/arm/dl-tlsdesc.S
+++ b/ports/sysdeps/arm/dl-tlsdesc.S
@@ -115,6 +115,7 @@ _dl_tlsdesc_dynamic:
 #endif
 	cmn	r2, #1
 	ittt	ne
+	sfi_breg r1, \
 	ldrne	r3, [r1, #4]
 	addne	r3, r2, r3
 	rsbne	r0, r4, r3