12.108 --pltgot=type

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.

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.

Non-ConfidentialPDF file icon PDF versionARM DUI0474M
Copyright © 2010-2016 ARM Limited or its affiliates. All rights reserved.