You copied the Doc URL to your clipboard.

Arm Compiler armlink User Guide : --lto_relocation_model

--lto_relocation_model

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

Syntax

--lto_relocation_model=model

Where model is one of the following:

static
The link time optimizer produces absolute code.
pic

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

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

Note

Bare-metal PIE support is deprecated in this release.

Default

The default is --lto_relocation_model=static.

Was this page helpful? Yes No