What Is a Relocation Table?
A relocation table is metadata in an object or executable file that records each spot referring to an address that is not yet final. The linker or loader uses it to fix up those references once it decides where sections will live in memory. Each entry names the location to patch and how to compute the corrected value.
Why it matters
Relocations are what let code be compiled before its final memory layout is known and then assembled into a working program. They are central to how linkers and loaders produce runnable binaries.
Related guides
What Is Symbol Resolution?Symbol resolution is the linker step that matches each reference to a name, such as a function or variable, w…
What Is Position-Independent Code (PIC)?Position-independent code runs correctly regardless of the address it is loaded at, by addressing data and ca…
What Is a Dynamic Linker?A dynamic linker loads the shared libraries a program depends on at startup and binds its references to the f…