You copied the Doc URL to your clipboard.

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.

Note

RELOC is not supported for AArch64 state.

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
    {
        …
    }
}
Was this page helpful? Yes No