User`s guide
ELF Linker and Command Language
Linker Command File Keyword Listing
301Targeting MC56F83xx/DSP5685x Controllers
Example
.code :
{
ALIGNALL(16); // Align code on 16 byte boundary
* (.init)
* (.text)
ALIGNALL(16); //align data on 16 byte boundary
* (.rodata)
} > .text
FORCE_ACTIVE
The FORCE_ACTIVE directive allows you to specify symbols that you do not want
the linker to deadstrip. You must specify the symbol(s) you want to keep before you
use the SECTIONS
keyword.
Prototype
FORCE_ACTIVE{ symbol[, symbol] }
INCLUDE
The INCLUDE command let you include a binary file in the output file.
Prototype
INCLUDE filename