12.115 --reloc

Creates a single relocatable load region with contiguous execution regions.


Only use this option for legacy systems with the type of relocatable ELF images that conform to the ELF for the ARM Architecture specification. The generated image might not be compliant with the ELF for the ARM® Architecture specification.

When relocated MOVT and MOVW instructions are encountered in an image being linked with --reloc, armlink produces the following additional dynamic tags:


The address of a relocation table.


The total size, in bytes, of the DT_RELA relocation table.


The size, in bytes, of the DT_RELA relocation entry.


For new systems, consider using images that conform to the Base Platform Application Binary Interface (BPABI).


You cannot use --reloc with --scatter.

You cannot use this option with --xo_base.

Non-ConfidentialPDF file icon PDF versionARM DUI0474M
Copyright © 2010-2016 ARM Limited or its affiliates. All rights reserved.