diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-05-23 10:03:56 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-05-23 10:04:53 +0200 |
commit | d5c8756660808bd1a330fd32c07a5ce9d63169bd (patch) | |
tree | 6a4d0b84ffa35e7a31294e6f63edfc596dd41302 | |
parent | posix: clarify expression with parentheses (diff) | |
download | rtems-d5c8756660808bd1a330fd32c07a5ce9d63169bd.tar.bz2 |
arm: Fix profiling support of Thumb-1 targets
Update #2751.
-rw-r--r-- | cpukit/score/cpu/arm/arm_exc_interrupt.S | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cpukit/score/cpu/arm/arm_exc_interrupt.S b/cpukit/score/cpu/arm/arm_exc_interrupt.S index 5f3433d2e3..daa7038b0f 100644 --- a/cpukit/score/cpu/arm/arm_exc_interrupt.S +++ b/cpukit/score/cpu/arm/arm_exc_interrupt.S @@ -270,8 +270,10 @@ _ARMV4_Exception_interrupt: subs pc, lr, #4 #ifdef RTEMS_PROFILING -#ifdef __thumb__ +#ifdef __thumb2__ .thumb +#else +.arm #endif .Lskip_profiling: BLX_TO_THUMB_1 bsp_interrupt_dispatch |