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
Output Listings and Error Handling
eld Manual—527255-009
6-129
Glossary of Errors
correctly specified a filename that eld needed to open, but eld says it can't open it,
then you need to figure out why that is so. It may be that the file does not exist, or it
may be that the file exists but you do not have permission to open it. If it is a file that
eld only needs to read, then you would generally only need permission to read it, not
write it.
Option names. eld has some options whose names are one letter long, and they
take parameters that are not keywords, and a space is not required between the name
of the option and the parameter. The examples are -d, -e, -l, -L, -o, -t,
and -u. If you intended (correctly or not) to specify some other option whose name
began with one of these letters, and what you entered was not the name of an option,
eld will assume you meant to give one of these one-letter options with a parameter,
and provide an error message accordingly. For example, eld has no such option as -
elf, so if you specify -elf, eld will think you are specifying the -e option with the
parameter lf. Many options have synonyms and the name shown in an eld
message does not necessarily match the way it was written on the command line.
Preset. eld is said to "preset" a program or DLL when eld has filled in addresses for
all references and created additional information within the file so that, at runtime, the
operating system can realize that eld has already done this and possibly avoid the
work of redoing it. eld will only mark a file "preset" when there is a chance that the
addresses could be correct at runtime.
Procinfo. This is the name of the section of a linkfile that provides information about
its procedures.
Program. A program is an object file that contains the main code for a process. eld
builds programs out of linkfiles.
Public DLL registry. This is a file that should automatically be found by eld. It tells
eld how to look for public DLL's in a standard location, in addition to other ways that
eld would look for DLL's. Public DLL's are DLL's that are usually distributed by HP,
rather than created by other users.
Read. If eld says that it cannot read a file, it is possible that you specified the wrong
file name, or that eld did not have permission to open and read the file.
Rebase. The -alf option always updates the references within an existing loadfile,
that is, it fills in pointers within this loadfile that contain the addresses of symbols that
are not in this same loadfile but rather are found in other DLL's. In addition, if you tell
the -alf option to change the address of the existing DLL itself, that is called
"rebasing" that DLL.
Reference. A reference to a symbol means that the address of the symbol is needed
in this place for some purpose. That symbol itself may or may not be present in the
same object file.
Relocation table. This is the name a section of an object file that tells the locations of
references and the symbols to which they refer.
Search. When the -l option is used, and its parameter is a simple (unqualified)
filename, that tells eld to search for an archive or DLL based on that name. Some of










