summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/arm/cpu_asm.S
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2014-06-30 16:47:06 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2014-07-01 17:02:41 +0200
commitf28f5c4a1d272f739ce9b520270c8b34b43e13a4 (patch)
treeb05d2632795d2858a20b9beb16730d0ca749aed5 /cpukit/score/cpu/arm/cpu_asm.S
parentbec47309011551f6b18fc6f4de2558cfaa6b796e (diff)
downloadrtems-f28f5c4a1d272f739ce9b520270c8b34b43e13a4.tar.bz2
arm: Use local label in _CPU_Context_restore()
Diffstat (limited to 'cpukit/score/cpu/arm/cpu_asm.S')
-rw-r--r--cpukit/score/cpu/arm/cpu_asm.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/score/cpu/arm/cpu_asm.S b/cpukit/score/cpu/arm/cpu_asm.S
index 0df5ebbb87..7502923974 100644
--- a/cpukit/score/cpu/arm/cpu_asm.S
+++ b/cpukit/score/cpu/arm/cpu_asm.S
@@ -86,7 +86,7 @@ DEFINE_FUNCTION_ARM(_CPU_Context_switch)
#endif
/* Start restoring context */
-_restore:
+.L_restore:
#ifdef ARM_MULTILIB_HAS_LOAD_STORE_EXCLUSIVE
clrex
#endif
@@ -118,6 +118,6 @@ _restore:
*/
DEFINE_FUNCTION_ARM(_CPU_Context_restore)
mov r1, r0
- b _restore
+ b .L_restore
#endif /* ARM_MULTILIB_ARCH_V4 */