diff options
Diffstat (limited to 'sysdeps/arm/arm-mcount.S')
-rw-r--r-- | sysdeps/arm/arm-mcount.S | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sysdeps/arm/arm-mcount.S b/sysdeps/arm/arm-mcount.S index d690d7c397..23ea080cf9 100644 --- a/sysdeps/arm/arm-mcount.S +++ b/sysdeps/arm/arm-mcount.S @@ -1,5 +1,5 @@ /* Implementation of profiling support. ARM EABI version. - Copyright (C) 2008-2016 Free Software Foundation, Inc. + Copyright (C) 2008-2018 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -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__) |