Skip to content
Latchkey

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

Tired of flaky CI? Latchkey auto-heals failed jobs and retries them for you. Start free →