I cannot vouch for FreeBSD, but on Linux elf(5)there are many details in the man page :
NAME
elf - format of Executable and Linking Format (ELF) files
SYNOPSIS
DESCRIPTION
The header file <elf.h> defines the format of ELF executable
binary files. Amongst these files are normal executable
files, relocatable object files, core files and shared
libraries.
...
When I needed to understand ELF, I did not find anything more useful than MuppetLabs Tiny Executable . I am sure that many of the techniques are outdated (and have never been a good idea), but they are very well explained.
source
share