User`s guide
ELF Linker and Command Language
Linker Command File Syntax
291Targeting MC56F83xx/DSP5685x Controllers
Listing 10.7 Sample ALIGNALL Command Usage
file.c (.text)
ALIGNALL (0x10); #everything past this point aligned on 16 bytes
file.c (.data)
Arithmetic Operations
Standard C arithmetic and logical operations may be used to define and use symbols in
the linker command file. Table 10.1
shows the order of precedence for each operator.
All operators are left-associative.
Comments
Comments may be added by using the pound character (#) or C++ style double-
slashes (//). C-style comments are not accepted by the LCF parser. Listing 10.8
shows examples of valid comments.
Listing 10.8 Sample Comments
# This is a one-line comment
* (.text) // This is a partial-line comment
Table 10.1 Arithmetic Operators
Precedence Operators
highest (1) - ˜ !
2 * / %
3 + -
4 >> <<
5 == != > < <= >=
6 &
7 |
8 &&
9 ||