Commit 064fcfca authored by Anas Nashif's avatar Anas Nashif
Browse files

arm: cortex_m: restore fix for loading z_arm_int_exit



This change was in the same commit previously reverted and seem to be
unrelated and should not be reverted.

Fixes the problem:

..... /swap_helper.S:432:(.text.z_arm_svc+0x26):
relocation truncated to fit: R_ARM_THM_JUMP11 against symbol
`z_arm_int_exit' defined in .text._HandlerModeExit section in
....core/cortex_m/libarch__arm__core__cortex_m.a(exc_exit.c.obj)

Signed-off-by: default avatarAnas Nashif <anas.nashif@intel.com>
(cherry picked from commit d9bc0b60)
parent 3993287c
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -429,7 +429,9 @@ _stack_frame_endif:
#endif

    /* exception return is done in z_arm_int_exit() */
    b z_arm_int_exit
    ldr r0, =z_arm_int_exit
    bx r0

#endif

_oops: