next up previous contents
Next: ELF Sections Up: The ELF File Format Previous: The Program Header Table

The Section 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.
\begin{figure}
\begin{tex2html_preform}\begin{verbatim}
Names of sections Desc...
...ctions\end{verbatim}\end{tex2html_preform}
\rule{6.5in}{0.3mm}
\end{figure}



Michael L. Haungs
1998-09-21