Table of Contents        Previous topic       Next topic       

LINKER->Linker Scripts->Linker Script Language->Alignment

The alignment of a section is optional and is specified using the ALIGN keyword:


If no alignment expression is present, then the section will be aligned in accordance with the alignment requirements of the input sections that it contains.

__ttb_low ALIGN(16384) :
    __ttb_low_start = .;
    __ttb_low_end = .;
} > flash

The run-time address of output section __ttb_low can be anywhere in the memory region named flash but it must be start on a 4k byte boundary.