Go to the first, previous, next, last section, table of contents.


Definition of Error Codes

The dld functions return a non-zero error code when they fail. The global variable, dld_errno also contains the most recent error code. The definitions of these error codes are:

@tableindent = 1.5in

DLD_ENOFILE
cannot open file.
DLD_EBADMAGIC
bad magic number.
DLD_EBADHEADER
failure reading header.
DLD_ENOTEXT
premature eof in text section.
DLD_ENOSYMBOLS
premature eof in symbols.
DLD_ENOSTRINGS
bad string table.
DLD_ENOTXTRELOC
premature eof in text relocation.
DLD_ENODATA
premature EOF in data section.
DLD_ENODATRELOC
premature EOF in data relocation.
DLD_EMULTDEFS
multiple definitions of symbol.
DLD_EBADLIBRARY
malformed library archive.
DLD_EBADCOMMON
common block not supported.
DLD_EBADOBJECT
malformed input file (not object file or archive).
DLD_EBADRELOC
bad relocation info.
DLD_ENOMEMORY
virtual memory exhausted.
DLD_EUNDEFSYM
undefined symbol.


Go to the first, previous, next, last section, table of contents.