We shall now describe in brief a typical linking loader.
The information concerning linking operations is provided by the esd and rld records from object modules.
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.
Records have the following information:
A linker operates in two phases – Pass-I and Pass-II.
IPLA Initial program load address – supplied by either the O/S or the programmer.
PLA Program load address – keeps track of each module's assigned location.
GEST Global external symbol table – stores each external symbol and its assigned address. This is prepared by Pass-I.
Load-map A listing showing each external symbol and its assigned value.
LESA Local external symbol array – used to establish a map between the ESD ID numbers and corresponding external symbol's address value.
18.117.137.12