src: i.ytimg.com
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
Video Global Offset Table
See also
- Position-independent code
Maps Global Offset Table
External links
- [1]
src: images.slideplayer.com
References
- What is the Symbol Table and What is the Global Offset Table? [2]
- System V Application Binary Interface [3]
Source of the article : Wikipedia