Next: ELF Sections
Up: The ELF File Format
Previous: The Program Header Table
All sections in object files can be found using the Section header table.
The section header, similar to the program header, is an array of structures.
Each entry correlates to a
section in the file. The entry provides the name, type, memory image starting address (if
loadable), file offset, the section’s size in bytes, alignment, and how the information in
the section should be interpreted. Figure 2.8 details
the specific fields of the structure.
The name provided in the structure is actually an index into the string table (a section in
the object file) where the actual string representation of the
name of the section exists.
Sections will be discussed further below.
Figure:
Special Sections. A brief description of sections that can appear in an ELF object file.
 |
Michael L. Haungs
1998-09-21