Relocation table

Relocation table

The relocation table is a list of pointers created by the linker and linked into the MSDOS .exe file. The relocation table tells the loader where these segments can be found in program image loaded into memory.

Explanation

Far pointers (32-bit pointers with segment:offset, used to address 20-bit 640 KB memory space available to DOS programs), which point to code or data within an DOS executable (EXE) do not have absolute segments, because the actual address of code/data depends on where the program is loaded in memory and this is not known until the program is loaded.

Instead, segments are relative values in the DOS EXE file. These segments need to be corrected, when the executable has been loaded into memory. The EXE loader uses a relocation table to find the segments which need to be adjusted.

32 Bit Windows Program Files

With the advent of 32 bit operating systems, and EXE files conforming to the PE format (Portable Executable) format, relocation table are no longer required or used in EXE files. Still some compilers and linkers do create windows EXE files with relocation tables.

ee also

*Library (computer science)
*Link editor
*Relocation

External links

* [http://www.windowsitlibrary.com/Content/356/11/5.html Basic Explanation / File Structure of the Relocation Table ]


Wikimedia Foundation. 2010.

Игры ⚽ Нужен реферат?

Look at other dictionaries:

  • relocation table — perkėlimų lentelė statusas T sritis automatika atitikmenys: angl. relocation dictionary; relocation table vok. Relativierungstabelle, f; Schiebetabelle, f; Verschiebungsverzeichnis, n rus. словарь перемещений, m; таблица перемещений, f pranc.… …   Automatikos terminų žodynas

  • Relocation (computer science) — In computer science, relocation is the process of replacing symbolic references or names of libraries with actual usable addresses in memory before running a program. It is typically done by the linker during compilation (at compile time),… …   Wikipedia

  • relocation dictionary — perkėlimų lentelė statusas T sritis automatika atitikmenys: angl. relocation dictionary; relocation table vok. Relativierungstabelle, f; Schiebetabelle, f; Verschiebungsverzeichnis, n rus. словарь перемещений, m; таблица перемещений, f pranc.… …   Automatikos terminų žodynas

  • Relocation services — or employee relocation includes a range of internal business processes that are engaged to transfer employees, their families, and/or entire departments of a business to a new work location. Like other types of employee benefits, these processes… …   Wikipedia

  • Relocation of Moai objects — Since the removal of the first moai Hoa Hakananai a from Easter Island in 1869 by the crew of HMS Topaze , 79 complete moai, heads, torsos, Pukao, and moai figurines are also known to have been removed from their original sites, and transferred… …   Wikipedia

  • Speed table — A speed table is a traffic calming device designed as a long speed hump with a flat section in the middle. Speed tables are generally long enough for the entire wheelbase of a passenger car to rest on top. [cite web |author=ITE title=Traffic… …   Wikipedia

  • Mark-compact algorithm — In computer science, a mark compact algorithm is a type of garbage collection algorithm used to reclaim unreachable memory. Mark compact algorithms can be regarded as a combination of the mark sweep algorithm and Cheney s copying algorithm. First …   Wikipedia

  • Portable Executable — Not to be confused with Portable application. Portable Executable Filename extension .cpl, .exe, .dll, .ocx, .sys, .scr, .drv Developed by Microsoft Type of format Binary, executable, object, shared libraries …   Wikipedia

  • COFF — Filename extension none, .o Developed by AT T Type of format Binary, executable, object, shared libraries Extended to XCOFF, ECOFF, Portable Executable The Common …   Wikipedia

  • Comparison of executable file formats — This is a comparison of executable file formats. Explicit processor declarations Arbitrary sections Metadata[vague] Digital signature String table Symbol table 64 bit Fat binaries Can contain icon a.out …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”