|Home > Scatter File Syntax > Load region descriptions > Load region attributes|
A load region has attributes that allow you to control where parts of your image are loaded in the target memory.
The load region attributes are:
Increase the alignment constraint for the load region from 4 to
must be a positive power of 2. If
the load region has a
then this must
aligned. If the load region has a
+ then the linker aligns the calculated
base address of the region to an
This can also affect the offset in the ELF file. For example, the following causes
the data for
FOO to be written out at 4k offset into the ELF
FOO +4 ALIGN 4096
NOCOMPRESSkeyword enables you to specify that the contents of a load region must not be compressed in the final image.
OVERLAY keyword enables you to have multiple
load regions at the same address. Arm® tools do not
provide an overlay mechanism. To use multiple load regions at the same address, you
must provide your own overlay manager.
The content is placed at a fixed address that does not change after linking. The
content might overlap with other regions designated as
This region is position independent. The content does not depend on any fixed address and might be moved after linking without any extra processing.
PIis not supported for AArch64 state.
PROTECTED keyword prevents:
This region is relocatable. The content depends on fixed addresses. Relocation information is output to enable the content to be moved to another location by another tool.
RELOCis not supported for AArch64 state.