]> begriffs open source - freertos/commit
GCC: ARM_CM0: Fix L6286E error on Keil MDK (#1131)
authorTomas Galbicka <151615323+TomasGalbickaNXP@users.noreply.github.com>
Thu, 29 Aug 2024 08:36:33 +0000 (10:36 +0200)
committerGitHub <noreply@github.com>
Thu, 29 Aug 2024 08:36:33 +0000 (14:06 +0530)
commite6d8308fde19860e4b86c2dfd7a404ff0304a237
treeff2e77a2522f459b3d4ebfd4d42144a0945fd8bc
parent23cfd114d314b0e2dc5e53a3540b0647fc0a1b5b
GCC: ARM_CM0: Fix L6286E error on Keil MDK (#1131)

Change the .b instruction to .bx with higher range to solve error
reported by MDK descibed bellow.

Fix:
Error: L6286E: Relocation #REL:0 in portasm.o(.text.SVC_Handler) with respect to vPortSVCHandler_C. Value(0x1a04) out of range(-0x800 - 0x7fe) for (R_ARM_THM_JUMP11)

Compiler: Keil MDK ARMClang 6.22.0

https://developer.arm.com/documentation/ka002847/latest/
https://developer.arm.com/documentation/dui0496/m/Linker-Errors-and-Warnings/List-of-the-armlink-error-and-warning-messages

Signed-off-by: Tomas Galbicka <tomas.galbicka@nxp.com>
portable/GCC/ARM_CM0/portasm.c