[rtems commit] arm: Fix profiling support of Thumb-1 targets
Sebastian Huber
sebh at rtems.org
Tue May 23 08:05:12 UTC 2017
Module: rtems
Branch: master
Commit: d5c8756660808bd1a330fd32c07a5ce9d63169bd
Changeset: http://git.rtems.org/rtems/commit/?id=d5c8756660808bd1a330fd32c07a5ce9d63169bd
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Tue May 23 10:03:56 2017 +0200
arm: Fix profiling support of Thumb-1 targets
Update #2751.
---
cpukit/score/cpu/arm/arm_exc_interrupt.S | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/cpukit/score/cpu/arm/arm_exc_interrupt.S b/cpukit/score/cpu/arm/arm_exc_interrupt.S
index 5f3433d..daa7038 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
More information about the vc
mailing list