www.delorie.com/gnu/docs/dld/dld_17.html   search  
 
Buy GNU books!


Dld

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

3.12 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:

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.


  webmaster   donations   bookstore     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003