HP eld Manual page 237

Table of Contents

Advertisement

Output Listings and Error Handling
Glossary of Errors
DLL registry. This is a file that can be used to tell eld which addresses to use when
creating a DLL, and/or to record the choices eld made about such addresse.
DWARF. This is the name for the industry-standard format of the symbol table
information that is used for debugging (not for most linking activities).
ELF. This is the name for the industry-standard object file format upon which our
object files are based.
Export. Symbols that exist in a DLL are not visible outside that DLL, to resolve
references in other programs and DLL's, unless they are exported. Some symbols are
marked for export by the compiler, and others can be specified to be exported by using
eld options such as -export or -export_all.
Filecode. On Guardian, files have "filecodes". TNS/E object files are always given file
code 800.
Find. See "Search".
Floating point. Guardian supports two types of floating point formats, named
"tandem" and "ieee". Normally, you should compile all your files the same way so as
not to mix the two types.
Gateway. This is code that eld creates for callable procedures to perform appropriate
steps to enter privileged mode.
GP-relative addressing. This refers to a method of addressing data that adds a 22-bit
value to the contents of a specific register called the GP register. Therefore, all the
data that is addressed this way, within a given program or DLL, must lie within a range
of 4 MB, as laid out by eld, or else eld reports an error. Data that requires GP-
relative addressing includes data so specified by compilers (often called "short data")
and various tables created by eld. If you are building a loadfile that runs into this error
situation you must try to link it a different way, perhaps splitting it up into multiple DLL's
rather than making it a single program or DLL. If an input file defines a symbol named
"__gp", that affects the value that is in the GP register and therefore can lead to this
error situation, even if the amount of data that requires GP-relative addressing is not
large.
Implicit DLL's. These are the DLL's that collectively form "system library", and are
collectively represented by the special import library called the zimpimp file.
Import controls. When a program or DLL is built, you specify whether it will be
"localized", "globalized", or "semi-globalized" by using the -b localized, -b
globalized, or -b semiglobalized options. The default is localized. Also,
when you build a DLL, and it refers to other DLL's by use of -l options, you specify
whether those other DLL's are "reexported" by using the -reexport option. By
default, DLL's are not reexported. If you are building a program or a DLL, and there is
a reference to a symbol, and the symbol is not present in the same file, then eld will
look for it at least in the other DLL's that you specify on the command line, such as with
-l options. eld will also look in other DLL's ("indirect DLL's") pointed at by DLL's it
has already opened, but only if you are building a file that is globalized or semi-
globalized, or if the DLL's that point at such indirect DLL's also reexport them.
eld Manual—527255-009
6-127

Advertisement

Table of Contents
loading

Table of Contents