Download Motorola DSP56800 User`s guide

Transcript
ELF Linker and Command Language
Linker Command File Keyword Listing
Example
SECTIONS {
.text : {
F_textSegmentStart = .;
footpad.c (.text)
. = ALIGN (0x10);
padfoot.c (.text)
F_textSegmentEnd = .;
} > TEXT
.data : { *(.data) } > DATA
.bss
: { *(.bss) > BSS
*(COMMON)
}
}
SIZEOF
The SIZEOF function returns the size of the given segment or section. The return
value is the size in bytes.
Prototype
SIZEOF(sectionName | segmentName | symbol)
NOTE
306
In order to use segmentName with this command, the segmentName
must start with the period character even though segmentNames are
not required to start with the period character by the linker, as is the
case with sectionName.
Targeting MC56F83xx/DSP5685x Controllers