You copied the Doc URL to your clipboard.

--lto_set_relocation_model [ALPHA]

Specifies whether the link time optimizer produces absolute or position independent code.

Note

Although this option is fully supported in armlink, it is an [ALPHA] feature in ARM® Compiler 6.

Syntax

--lto_set_relocation_model=model

Where model is one of the following:

default
Use the default relocation model of the code generator. For ARM Compiler 6 this is static.
static
The link time optimizer produces absolute code.
pic

The link time optimizer produces code that uses GOT relative position independent code.

The --lto_set_relocation_model=pic option requires the armlink --bare_metal_pie option.

Note

Bare-metal PIE support is deprecated in this release.

Default

The default for ARM Compiler 6 is --lto_set_relocation_model=static.

Was this page helpful? Yes No