User`s guide

ELF Linker and Command Language
Linker Command File Keyword Listing
300
Targeting MC56F83xx/DSP5685x Controllers
NOTE 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.
ALIGN
The ALIGN function returns the value of the location counter aligned on a boundary
specified by the value of alignValue. The alignValue must be a power of two.
Prototype
ALIGN(alignValue)
Note that ALIGN does not update the location counter; it only performs arithmetic. To
update the location counter, use an assignment such as:
Example
. = ALIGN(0x10); #update location counter to 16
#byte alignment
ALIGNALL
ALIGNALL is the command version of the ALIGN function. It forces the minimum
alignment for all the objects in the current segment to the value of alignValue. The
alignValue must be a power of two.
Prototype
ALIGNALL(alignValue);
Unlike its counterpart ALIGN, ALIGNALL is an actual command. It updates the
location counter as each object is written to the output.