8.3.5 Inheritance rules for the RELOC address attribute

You can explicitly set the RELOC attribute for a load region. However, an execution region can only inherit the RELOC attribute from the parent load region.

Example

This example shows the inheritance rules for setting the address attributes with RELOC:
LR1 0x8000 RELOC
{ 
    ER1 +0 ; inherits RELOC from LR1
    {
        …
    }
    ER2 +0 ; inherits RELOC from ER1
    {
        …
    }
    ER3 +0 RELOC ; Error cannot explicitly set RELOC on an execution region
    {
        …
    }
}
Related concepts
8.4.5 Considerations when using a relative address +offset for execution regions
8.3.4 Inheritance rules for load region address attributes
8.4.4 Inheritance rules for execution region address attributes
8.3.6 Considerations when using a relative address +offset for a load region
Related reference
8.3.1 Components of a load region description
8.3.2 Syntax of a load region description
8.4.1 Components of an execution region description
Non-ConfidentialPDF file icon PDF versionARM DUI0377G
Copyright © 2007, 2008, 2011, 2012, 2014, 2015 ARM. All rights reserved.