Next: The Program Header Table
Up: The ELF File Format
Previous: The ELF File Format
The ELF Header
The ELF Header is the only section that has a fixed position in the object file. It is
always the first section of the file. The other sections are not guaranteed to be in any
order or to even be present. The ELF Header describes the type of the object file
(relocatable, executable, shared, core), its target architecture, and the version of ELF it is
using. The location of the Program Header table, Section Header table, and String table
along with associated number and size of entries for each table are also given. Lastly, the
ELF Header contains the location of the first executable instruction. The specific fields
along with their size requirements that are present in the ELF header are shown in Figure 2.6.
Figure:
The Program Header
 |
Michael L. Haungs
1998-09-21