What is Global offset table?

A table of the actual addresses of external variables and functions, filled in by the dynamic linker at run time. Position-independent code refers to them through it, so code pages need no patching.

Field: Linkers, Loaders & Executables

Questions that mention Global offset table (1)

  1. What is the role of the GOT (global offset table) used in shared libraries?

Related terms

Position-independent code Dynamic linker Address space layout randomization (ASLR) BSS section Dynamic linking Entry point Executable and Linkable Format (ELF) Heap memory Linker Linker script

Back to the glossary