11.83 --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.

Non-ConfidentialPDF file icon PDF versionDUI0803J
Copyright © 2014–2017, 2019 Arm Limited or its affiliates. All rights reserved.