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:
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 is --lto_set_relocation_model=static
.