This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
We have library code which released by thirdparty . It will generate some data which should be defined into specific memory,
Now the problem is that these data was generated into .bss or .common section like:
and the code changed to set pragma for our thirdparty might not be possible.
Do you have any idea how it could be achieved? maybe define something like .bss.test_u8 or test_u8.bss in link file,
compiler version is
ti-cgt-arm_20.2.4.LTS
Hello,
To summarize, the library you received is placing code into .bss, and you do not have access to change the #pragma in the library source code to move these sections.
And you are looking for a way to move the code section used in the library to another section. Is this correct?
Regards,
Erick
Yes, just want to move several variables from *.bss section to another since some variable should be linked into nocache memory area
I presume you want to control the allocation of the variables TI_traceBuffer0 and TI_traceBuffer1. That would allow you to specify the exact address for them. These variables are defined in the .common section.
Unfortunately, the linker supplies no method for doing that. So, I filed the entry EXT_EP-11013 to request a feature be added to the linker which supplies such a method. You are welcome to follow it with that link.
Thanks and regards,
-George