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?
The wikipedia article gives a decent list of ABI documents to choose from. Consider the very System V ABI and the Intel 386 psABI.