You copied the Doc URL to your clipboard.

--lto_set_relocation_model

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

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.

Default

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

Was this page helpful? Yes No