Q:

global offset table structure

How does structure of global offset table(ELF) look. I am trying to understand dynamic linking. Can any one tell how got data structure looks. I somehow never found it online. 

A:

This is OS and platform-specific, but for x86/x64 Linux, the Global Offset Table is just a bunch of function addresses. There's one entry for each symbol in it. Before symbols are resolved, the addresses (for functions) point back into the Procedure Linkage Table (PLT), but are then updated to point to the actual function locations.

