Specifies the type of Procedure Linkage Table (PLT) and Global Offset Table (GOT) to use, corresponding to the different addressing modes of the Base Platform Application Binary Interface (BPABI).
Note:
This option is supported only when using --base_platform or
--bpabi.
Note:
Not supported for AArch64 state.
Syntax
--pltgot=type
Where type is one of the following:
none
References to imported symbols are added as dynamic relocations for processing by a
platform specific post-linker.
direct
References to imported symbols are resolved to read-only pointers to the imported
symbols. These are direct pointer references.
Use this type to turn on PLT generation when using
--base_platform.
indirect
The linker creates a GOT and possibly a PLT entry for the imported symbol. The
reference refers to PLT or GOT entry.
This type is not supported if you have multiple load regions.
sbrel
Same referencing as indirect, except that GOT entries are stored
as offsets from the static base address for the segment held in R9 at runtime.
This type is not supported if you have multiple load regions.
Default
When the --bpabi or --dll options are used, the default
is --pltgot=direct.
When the --base_platform option is used, the default is
--pltgot=none.
Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers of your data.