We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi,
I am trying to migrate my project targeting an ARM Cortex M4 MCU previously compiled with ARM Compiler 5.06 to ARM Compiler 6.11.
The project uses RTOS Keil RTX v4.81.1
In the linking stage the linker generate the following errors:
project.axf: error: out of range pc-relative fixup value ldr r12,= rt_mut_wait
project.axf: error: out of range pc-relative fixup value ldr r12,= rt_mut_release
I could not find any resources on those errors.
Can it be because the lib used by the project was compiled with compiler 5?
The revision history of RTOSv1 says version 4.81 has added provision for compiler 6.
Please enlighten!
Thanks in advance.
Seng Tak
Should be a method/directive to force the assembler to flush/output the literal pool in close proximity to the code in question.