A subset of the load and execution region attributes inform the linker about the content of the region and how it behaves after linking. These attributes are:
The content is placed at a fixed address that does not change after linking.
The content does not depend on any fixed address and might be moved after linking without any extra processing.
The content depends on fixed addresses, relocation information is output to enable the content to be moved to another location by another tool.
You cannot explicitly use this attribute for an execution region.
The content is placed at a fixed address that does not change after linking. The content might overlap with other regions designated as
In general, all the execution regions within a load region have the same address attribute. To make this easy to select, the address attributes can be inherited from a previous region so that they only have to be set in one place. The rules for setting and inheriting address attributes are:
Explicitly setting the address attribute:
A load region can be explicitly set with the
An execution region can be explicitly set with the
OVERLAYattributes. An execution region can only inherit the
RELOCattribute from the parent load region.
Implicitly setting the address attribute when none is specified:
OVERLAYattribute cannot be inherited. A region with the
OVERLAYattribute cannot inherit.
A base address load or execution region always defaults to
+load region inherits the address attribute from the previous load region or
ABSOLUTEif no previous load region exists.
+execution region inherits the address attribute from the previous execution region or parent load region if no previous execution region exists.