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-31
Error Messages
Cause. You used the -set heap_max option, which is an attribute you can set when
you build a program, and you also used the -r option, to tell eld to build another
object file that can be used as linker input, rather than a program.
Effect. Error (The linker cannot do what was requested of it and will eventually stop,
but may continue for the purpose of detecting additional errors before stopping).
Recovery. If your intention is to create a program or DLL, then don’t specify the -r
option. If your intention is to use the -r option to create another object file that can be
used as eld input, then don’t specify the -set heap_max option.
Cause. You used the -set mainstack_max option, which is an attribute you can set
when you build a program, and you also used the -r option, to tell eld to build another
object file that can be used as linker input, rather than a program.
Effect. Error (The linker cannot do what was requested of it and will eventually stop,
but may continue for the purpose of detecting additional errors before stopping).
Recovery. If your intention is to create a program or DLL, then don’t specify the -r
option. If your intention is to use the -r option to create another object file that can be
used as eld input, then don’t specify the -set mainstack_max option.
Cause. You have specified the -import_lib and the -import_lib_stripped options. The -
import_lib option tells eld to make an import library for a DLL, at the same time eld is
building that DLL, and not to strip the DWARF symbols from the import library. The -
import_lib_stripped option also says to make an import library, but to strip the DWARF
symbols. eld will only make one import library, and considers the -import_lib and -
import_lib_stripped options to be inconsistent with each other.
Effect. Fatal error (eld immediately stops without creating an output file).
Recovery. Specify only one of -import_lib and -import_lib_stripped, depending on
what you want to do.
Cause. You used the -set space_guarantee option, which is an attribute you can set
when you build a program, and you also used the
-r option, to tell eld to build another
object file that can be used as linker input, rather than a program.
1191 The 'mainstack_max' attribute is not allowed with the -r
option.
1192 Both the -import_lib and -import_lib_stripped options
were specified.
1193 The 'space_guarantee' attribute is not allowed with the
-r option.










