--reloc

This option creates a single relocatable load region with contiguous execution regions.

Show/hideUsage

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:

DT_RELA

The address of a relocation table.

DT_RELASZ

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

DT_RELAENT

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

Show/hideSee also

Copyright © 2008, 2011-2012 ARM. All rights reserved.ARM DUI 0458C
Non-ConfidentialID062912