You copied the Doc URL to your clipboard.

--pltgot_opts

This option enables or disables weak references when generating Procedure Linkage Table (PLT) entries.

Note

Not supported for AArch64 state.

Syntax

--pltgot_opts=mode

Where mode is one of the following:

crosslr

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

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=noweakrefs.

See also

Was this page helpful? Yes No