C.2 A Typical Linking Loader

We shall now describe in brief a typical linking loader.

C.2.1 Data from Object Modules

The information concerning linking operations is provided by the esd and rld records from object modules.

ESD

Provide the information necessary to build the External Symbols Dictionary or the symbol table. There are three types of external symbols:

Module Definition, MD Name of the module;

Local Definition, LD Label of a locally defined area;

External Reference, ER A symbol which is an MD or LD in exactly one place in some other module.

Each MD and ER is identified by an integer (ID) used for reference in an rld record.

RLD

Records have the following information:

  1. The location and size of each address constant that will change ...

Get Compilers: Principles and Practice now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.