You copied the Doc URL to your clipboard.

--pltgot_opts=mode linker option

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

--pltgot_opts= mode

Where mode is one of the following:


Calls to and from a load region marked RELOC go by way of the PLT.


Generates a NOP for a function call, or zero for data. No PLT entry is generated. Weak references to imported symbols remain unresolved.


Weak references produce a PLT entry. These references must be resolved at a later link stage.


The default is --pltgot_opts=noweakrefs.

Was this page helpful? Yes No