User`s guide
ELF Linker and Command Language
Linker Command File Keyword Listing
304
Targeting MC56F83xx/DSP5685x Controllers
OBJECT
The OBJECT keyword allows control over the order in which functions are placed in
the output file.
Prototype
OBJECT (function, sourcefile.c)
It is important to note that if you write an object to the output file using the OBJECT
keyword, the same object will not be written again by either the GROUP keyword or
the '*' wildcard.
REF_INCLUDE
The REF_INCLUDE directive allows you to specify sections that you do not want the
linker to deadstrip, but only if they satisfy a certain condition: the file that contains the
section must be referenced. This is useful if you want to include version information
from your source file components. You must specify the section(s) you want to keep
before you use the SECTIONS
keyword.
Prototype
REF_INCLUDE{ sectionType [, sectionType]}
SECTIONS
A basic SECTIONS directive has the following form:
Prototype
SECTIONS { <section_spec> }
section_spec is one of the following:
• sectionName: [AT (loadAddress)] {contents} > segmentName
• sectionName: [AT (loadAddress]] {contents} >> segmentName