Search code examples
referenceexecutablefile-formatelf

Where can I find a good reference for the ELF file format?


I'm in the process of writing a compiler that will be generating ELF executable files for the i386 platform.

However, I need a good reference for the file format (information on headers, relocations, etc.).

Is there such a reference?


Solution

  • The wikipedia article gives a decent list of ABI documents to choose from. Consider the very System V ABI and the Intel 386 psABI.