You copied the Doc URL to your clipboard.

Arm Compiler armlink User Guide : --got=type

--got=type

Generates Global Offset Tables (GOTs) to resolve GOT relocations in bare metal images. armlink statically resolves the GOT relocations.

Syntax

--got=type

Where type is one of the following:

none
Disables GOT generation.
local
Creates a local offset table for each execution region.

Note

Not supported for AArch32 state.
global
Creates a single offset table for the whole image.

Default

The default for AArch32 state is none.

The default for AArch64 state is local.

Was this page helpful? Yes No