Relocation (computing) - Relocation Table

Relocation Table

The relocation table is a list of pointers created by the compiler or assembler and stored in the object or executable file. Each entry in the table, or "fixup", is a pointer to an address in the object code that must be changed when the loader relocates the program. Fixups are designed to support relocation of the program as a complete unit. In some cases, each fixup in the table is itself relative to a base address of zero, so the fixups themselves must be changed as the loader moves through the table.

In some architectures a fixup that crosses certain boundaries (such as a segment boundary) or that is not aligned on a word boundary is illegal and flagged as an error by the linker.

Read more about this topic:  Relocation (computing)

Famous quotes containing the word table:

    Thou preparest a table before me in the presence of mine enemies; thou anointest my head with oil; my cup runneth over.
    Bible: Hebrew Psalms, 23:5.