![]() |
Kinetis Bootloader Host
2.0.0
Host Tools for Kinetis devices
|
ELF section header. More...
#include <ELF.h>
Public Attributes | |
| Elf32_Word | sh_name |
| The section's name. Index into the section header string table section. | |
| Elf32_Word | sh_type |
| Section type, describing the contents and semantics. | |
| Elf32_Word | sh_flags |
| Section flags describing various attributes. | |
| Elf32_Addr | sh_addr |
| The address at which the section will appear in the memory image, or 0. | |
| Elf32_Off | sh_offset |
| Offset from beginning of the file to the first byte in the section. | |
| Elf32_Word | sh_size |
| The section's size in bytes. | |
| Elf32_Word | sh_link |
| Section header table link index. Interpretation depends on section type. | |
| Elf32_Word | sh_info |
| Extra information about the section. Depends on section type. | |
| Elf32_Word | sh_addralign |
| Address alignment constraint. Values are 0 and positive powers of 2. | |
| Elf32_Word | sh_entsize |
| Size in bytes of section entries, or 0 if the section does not have fixed-size entries. | |
ELF section header.
An object file's section header table lets one locate all the file's sections. The section header table is an array of Elf32_Shdr structures. A section header table index is a subscript into this array. The ELF header's Elf32_Ehdr::e_shoff member gives the byte offset from the beginning of the file to the section header table; Elf32_Ehdr::e_shnum tells how many entries the section header table contains; Elf32_Ehdr::e_shentsize gives the size in bytes of each entry.
Some section header table indexes are reserved. An object file will not have sections for these special indexes:
| Elf32_Addr Elf32_Shdr::sh_addr |
The address at which the section will appear in the memory image, or 0.
| Elf32_Word Elf32_Shdr::sh_addralign |
Address alignment constraint. Values are 0 and positive powers of 2.
| Elf32_Word Elf32_Shdr::sh_entsize |
Size in bytes of section entries, or 0 if the section does not have fixed-size entries.
| Elf32_Word Elf32_Shdr::sh_flags |
Section flags describing various attributes.
| Elf32_Word Elf32_Shdr::sh_info |
Extra information about the section. Depends on section type.
| Elf32_Word Elf32_Shdr::sh_link |
Section header table link index. Interpretation depends on section type.
| Elf32_Word Elf32_Shdr::sh_name |
The section's name. Index into the section header string table section.
| Elf32_Off Elf32_Shdr::sh_offset |
Offset from beginning of the file to the first byte in the section.
| Elf32_Word Elf32_Shdr::sh_size |
The section's size in bytes.
| Elf32_Word Elf32_Shdr::sh_type |
Section type, describing the contents and semantics.