about summary refs log tree commit diff
path: root/sysdeps/arm/arm-mcount.S
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/arm/arm-mcount.S')
-rw-r--r--sysdeps/arm/arm-mcount.S3
1 files changed, 1 insertions, 2 deletions
diff --git a/sysdeps/arm/arm-mcount.S b/sysdeps/arm/arm-mcount.S
index b08a8dd0d8..df2601b4a6 100644
--- a/sysdeps/arm/arm-mcount.S
+++ b/sysdeps/arm/arm-mcount.S
@@ -90,8 +90,7 @@ ENTRY(__mcount_arm_compat)
 	cfi_rel_offset (lr, 20)
 	movs r0, fp
 	ittt ne
-	sfi_breg r0, \
-	ldrne r0, [\B, #-4]
+	ldrne r0, [r0, #-4]
 	movsne r1, lr
 	blne __mcount_internal
 # if defined (__ARM_ARCH_4T__) && defined (__THUMB_INTERWORK__)