eld Manual

Table Of Contents
eld Manual527255-009
ix
About This Manual
This publication describes how programmers can use eld, the object file linker for
TNS/E, to create loadfiles for execution on H-series software NonStop servers.
Section 1, Introduction to eld consists of the following topics:
eld Overview - explains the general functionality of the product.
Native Object Files - introduces the different types of object files.
The Linker Command Stream - shows the conventions for entering tokens
(options, parameters and filenames) on the command line.
Example of Use - presents an example of using eld to link a main program and
a DLL .
Section 2, eld Input and Output consists of the following topics:
Host Platforms - where the linker may be used.
Target Platforms - where the output from the linker may be used.
Output Object Files - what forms (libraries, loadfiles and DLLs) that output may
take.
The Creation of Output Object Files - how you control that process.
Creating Segments of the Output Loadfile - how parts of a loadfile are created.
Using a DLL Registry - how you can manage DLL addressing.
Input Object Files - which files you can use as input.
Using Archives - how you can group multiple input or output files together.
Section 3, Binding of References consists of the following topics:
Overview - an overview of symbol resolution and code relocation.
Presetting Loadfiles - the process of resolving references to DLLs at linktime.
To Preset or Not to Preset, and Creation of the LIC - eld rules for presetting.
Handling Unresolved References - what happens if a symbol is not found in
any loadfile in the linker’s search list?
Using User Libraries - introduces the libname options.
Creating Import Libraries - three types are available.
Ignoring Optional Libraries - a command stream toggle is available.