Ch 4. Creating Executable Program Files [ HP Link Editor/XL Reference Manual ] MPE/iX 5.0 Documentation
HP Link Editor/XL Reference Manual
Chapter 4 Creating Executable Program Files
This chapter discusses executable program files and how HP Link Editor/XL
creates and displays them. It also explains how to display symbols in a
relocatable object file.
The link editor creates executable program files from relocatable object
files and relocatable libraries as follows. First, it merges the
specified relocatable object files and libraries into one module and
resolves inter-module references. Then, it searches the specified
relocatable libraries resolving external references to symbols undefined
after the merge operation. When a relocatable object module in the
library resolves an external reference, the module is merged into the
executable program file that is being built. In the last step, the link
editor assigns virtual addresses to all symbols, binds references to the
known symbols within each relocatable object module, and puts the
resulting executable program in a form that the loader can process.
MPE/iX 5.0 Documentation