Tool/software: TI C/C++ Compiler
Hello,
In the following function:
When I remark the pragma (line 300) the function runs from FLASH with the following disassmbly:
When I add the pragma, and copy the code from FLASH to RAM, I get the folowing:
As you can see the linker doesn't allocate the array address and instead place a zero address into XAR4.
Of course this break the code :-(
I'm using the latest tools 20.2.1 LTS in EABI mode.
What I'm missing here? Is it a linker bug?


