Global Offset Table

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

References

    • What is the Symbol Table and What is the Global Offset Table?
    • System V Application Binary Interface
    This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.