[rtems commit] arm: Use local label in _CPU_Context_restore()

Sebastian Huber sebh at rtems.org
Tue Jul 1 14:56:00 UTC 2014


Module:    rtems
Branch:    master
Commit:    f28f5c4a1d272f739ce9b520270c8b34b43e13a4
Changeset: http://git.rtems.org/rtems/commit/?id=f28f5c4a1d272f739ce9b520270c8b34b43e13a4

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Mon Jun 30 16:47:06 2014 +0200

arm: Use local label in _CPU_Context_restore()

---

 cpukit/score/cpu/arm/cpu_asm.S |    4 ++--
 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 0df5ebb..7502923 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 */



More information about the vc mailing list