arm: Fix profiling support of Thumb-1 targets

Update #2751.
This commit is contained in:
Sebastian Huber
2017-05-23 10:03:56 +02:00
parent a330c5dc24
commit d5c8756660

View File

@@ -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