Hello,
I am referring to the following web site:
https://software-dl.ti.com/ccs/esd/documents/sdto_cgt_Linker-Command-File-Primer.html
where it is stated:
“If you see code in your linker command file which is not described in this article, please post to the E2E forum about it. The forum reply will usually result in an addition or change to this article.”
Comment 1
I believe the LOAD_SIZE instruction is not being explained inside chapter ‘Load at One Address, Run from a Different Address’ and it may be worth to be at least mentioned.
Like in this example:
ipcConst
{
driverlib.lib<ipc.obj>(.const)
} LOAD = FLASH5, RUN = RAMLS0,
LOAD_START(constLoadStart),
LOAD_SIZE(constLoadSize),
RUN_START(constRunStart), ALIGN(8)
Comment 2
I also identified memory alignment instructions in my linker command file (in the above example the ALIGN(8)) and I wonder if the website ‘software-dl.ti.com/.../sdto_cgt_Linker-Command-File-Primer.html’ should also explain the memory alignment option?
Thanks,
Inno