eld Manual
Table Of Contents
- eld Manual
- Legal Notices
- Contents
- What’s New in This Manual
- Manual Information
- New and Changed Information
- About This Manual
- Notation Conventions
- 1 Introduction to eld
- 2 eld Input and Output
- 3 Binding of References
- Overview
- Presetting Loadfiles
- To Preset or Not to Preset, and Creation of the LIC
- Handling Unresolved References
- Using User Libraries
- Creating Import Libraries
- Ignoring Optional Libraries
- Merging Symbols Found in Input Linkfiles
- Accepting Multiply-Defined Symbols
- Using the -cross_dll_cleanup option
- Specifying Which Symbols to Export, and Creating the Export Digest
- Public Libraries and DLLs
- The Public Library Registry
- 4 Other eld Processing
- Adjusting Loadfiles: The -alf Option
- Additional rules about -alf
- The -set and -change Options
- eld Functionality for 64-Bit
- Checking the C++ Language Dialect
- Renaming Symbols
- Creating Linker-Defined Symbols
- Updating Or Stripping DWARF Symbol Table Information
- Modifying the Data Sections that Contain Stack Unwinding Information
- Creating the MCB
- Processing of Floating Point Versions and Data Models
- Specification of the Main Entry Point
- Specifying Runtime Search Path Information for DLLs
- Merging Source RTDUs
- 5 Summary of Linker Options
- 6 Output Listings and Error Handling
- A TNS/E Native Object Files
- Glossary
- Index

eld Manual—527255-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.










