11.105 --pltgot_opts=mode

Controls the generation of Procedure Linkage Table (PLT) entries for weak references and function calls to relocatable targets within the same file.

Note:

Not supported for AArch64 state.

Syntax

--pltgot_opts=mode[,mode,...]

Where mode is one of the following:

crosslr
Calls to and from a load region marked RELOC go by way of the PLT.
nocrosslr
Calls to and from a load region marked RELOC do not generate PLT entries.
noweakrefs
Generates a NOP for a function call, or zero for data. No PLT entry is generated. Weak references to imported symbols remain unresolved.
weakrefs
Weak references produce a PLT entry. These references must be resolved at a later link stage.

Default

The default is --pltgot_opts=nocrosslr,noweakrefs.

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