Non-Confidential | ![]() | DUI0803J | ||
| ||||
Home > Scatter File Syntax > Execution region descriptions > Considerations when using a relative address +offset for execution regions |
There are some considerations to be aware of when using a relative address for execution regions.
When using +
to specify an execution region base
address:offset
The first execution region inherits the attributes of the parent load region, unless an attribute is explicitly set on that execution region.
A +
execution region ER2 inherits the
attributes of the execution region ER1 immediately before it, unless:offset
ER1 has the OVERLAY
attribute.
ER2 has an explicit attribute set.
If an execution region is unable to inherit an attribute, then it gets the attribute
ABSOLUTE
.
If the parent load region has the RELOC
attribute, then all
execution regions within that load region must have a
+
base address.offset