diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-11-12 16:52:55 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-11-18 07:30:34 +0100 |
commit | 4924756f69f93da21cd70f6d4e00b2f3e4cc5b43 (patch) | |
tree | 091968726a72a34610f909bfb80c791ada57c7ca /cpukit/score/cpu/arm | |
parent | sparc: Use Per_CPU_Control::isr_dispatch_disable (diff) | |
download | rtems-4924756f69f93da21cd70f6d4e00b2f3e4cc5b43.tar.bz2 |
arm: Use local labels
Diffstat (limited to 'cpukit/score/cpu/arm')
-rw-r--r-- | cpukit/score/cpu/arm/arm_exc_interrupt.S | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/cpukit/score/cpu/arm/arm_exc_interrupt.S b/cpukit/score/cpu/arm/arm_exc_interrupt.S index 61a9c3e65a..28da989d37 100644 --- a/cpukit/score/cpu/arm/arm_exc_interrupt.S +++ b/cpukit/score/cpu/arm/arm_exc_interrupt.S @@ -7,7 +7,7 @@ */ /* - * Copyright (c) 2009-2014 embedded brains GmbH. All rights reserved. + * Copyright (c) 2009, 2016 embedded brains GmbH. All rights reserved. * * embedded brains GmbH * Dornierstr. 4 @@ -114,10 +114,10 @@ _ARMV4_Exception_interrupt: #ifdef RTEMS_PROFILING cmp r2, #1 - bne profiling_entry_done + bne .Lprofiling_entry_done bl _CPU_Counter_read push {r0, r1} -profiling_entry_done: +.Lprofiling_entry_done: #endif /* Call BSP dependent interrupt dispatcher */ @@ -133,14 +133,14 @@ profiling_entry_done: #ifdef RTEMS_PROFILING cmp r2, #0 - bne profiling_exit_done + bne .Lprofiling_exit_done bl _CPU_Counter_read pop {r1, r3} mov r2, r0 mov r0, SELF_CPU_CONTROL bl _Profiling_Outer_most_interrupt_entry_and_exit ldr r3, [SELF_CPU_CONTROL, #PER_CPU_THREAD_DISPATCH_DISABLE_LEVEL] -profiling_exit_done: +.Lprofiling_exit_done: #endif /* Restore stack pointer */ @@ -148,14 +148,14 @@ profiling_exit_done: /* Check thread dispatch disable level */ cmp r3, #0 - bne thread_dispatch_done + bne .Lthread_dispatch_done /* Check context switch necessary */ ldrb r1, [SELF_CPU_CONTROL, #PER_CPU_DISPATCH_NEEDED] cmp r1, #0 - beq thread_dispatch_done + beq .Lthread_dispatch_done - /* This aligns thread_dispatch_done on a 4 byte boundary */ + /* This aligns .Lthread_dispatch_done on a 4 byte boundary */ #ifdef __thumb__ nop #endif /* __thumb__ */ @@ -163,7 +163,7 @@ profiling_exit_done: /* Thread dispatch */ bl _Thread_Dispatch -thread_dispatch_done: +.Lthread_dispatch_done: /* Switch to ARM instructions if necessary */ SWITCH_FROM_THUMB_TO_ARM |