| |||
| Home > Linker command-line options > --pltgot_opts=mode | |||
This option enables or disables weak references when generating Procedure Linkage Table (PLT) entries.
--pltgot_opts=mode
Where is
one of the following:mode
crosslrCalls to and from a load region marked RELOC go
by way of the PLT.
noweakrefsGenerates
a NOP for a function call, or zero for data.
No PLT entry is generated. Weak references to imported symbols remain
unresolved.
weakrefsWeak references produce a PLT entry. These references must be resolved at a later link stage.