Global Offset Table

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

A Global Offset Table, or GOT, is a table of addresses stored in the data section. It is used by executed programs to find during runtime addresses of global variables, unknown in compile time. The global offset table is updated in process bootstrap by the dynamic linker. Offsets to global variables from dynamic libraries are not known during compile time, this is why they are read from the GOT table during runtime.

related: Procedure Linkage Table contains trampoline code for calling shared functions

See also[edit]

External links[edit]

References[edit]

  • What is the Symbol Table and What is the Global Offset Table? [2]
  • System V Application Binary Interface [3]