You copied the Doc URL to your clipboard.

ARM Compiler armlink User Guide : Syntax of a load region description

Syntax of a load region description

load region can contain one or more execution region descriptions.

The syntax of a load region description, in Backus-Naur Form (BNF), is:

load_region_description ::=
  load_region_name  (base_address  | ("+" offset)) [attribute_list] [max_size]



Names the load region. You can use a quoted name. The name is case-sensitive only if you use any region-related linker-defined symbols.


Specifies the address where objects in the region are to be linked. base_address must satisfy the alignment constraints of the load region.


Describes a base address that is offset bytes beyond the end of the preceding load region. The value of offset must be zero modulo four. If this is the first load region, then +offset means that the base address begins offset bytes from zero.

If you use +offset, then the load region might inherit certain attributes from a previous load region.


The attributes that specify the properties of the load region contents.


Specifies the maximum size of the load region. This is the size of the load region before any decompression or zero initialization take place. If the optional max_size value is specified, armlink generates an error if the region has more than max_size bytes allocated to it.


Specifies the execution region name, address, and contents.


The BNF definitions contain additional line returns and spaces to improve readability. They are not required in scatter-loading descriptions and are ignored if present in a scatter file.