SHT_DYNAMIC | 0x6 | The section holds information for dynamic linking. Currently, an object file shall have only one dynamic section, but this restriction may be relaxed in the future. See `Dynamic Section' in Chapter 5 of System V ABI Update for details. |
SHT_DYNSYM | 0xb | This section holds a minimal set of symbols adequate for dynamic linking. See
also SHT_SYMTAB. Currently, an object file may have either a section of
SHT_SYMTAB type or a section of SHT_DYNSYM type, but not both. This restriction
may be relaxed in the future. |
SHT_FINI_ARRAY | 0xf | This section contains an array of pointers to termination functions, as described in `Initialization and Termination Functions' in Chapter 5 of System V ABI Update. Each pointer in the array is taken as a parameterless procedure with a void return. |
SHT_HASH | 0x5 | The section holds a symbol hash table. Currently, an object file shall have only one hash table, but this restriction may be relaxed in the future. See `Hash Table' in Chapter 5 of System V ABI Update for details. |
SHT_INIT_ARRAY | 0xe | This section contains an array of pointers to initialization functions, as described in `Initialization and Termination Functions' in Chapter 5 of System V ABI Update. Each pointer in the array is taken as a parameterless procedure with a void return. |
SHT_NOBITS | 0x8 | A section of this type occupies no space in the file but otherwise resembles SHT_PROGBITS. Although this section contains no bytes, the sh_offset member contains the conceptual file offset. |
SHT_NOTE | 0x7 | The section holds information that marks the file in some way. See `Note Section' in Chapter 5 of System V ABI Update for details. |
SHT_NULL | 0x0 | This value marks the section header as inactive; it does not have an associated section. Other members of the section header have undefined values. |
SHT_PREINIT_ARRAY | 0x10 | This section contains an array of pointers to functions that are invoked before all other initialization functions, as described in `Initialization and Termination Functions' in Chapter 5 of System V ABI Update. Each pointer in the array is taken as a parameterless proceure with a void return. |
SHT_PROGBITS | 0x1 | The section holds information defined by the program, whose format and meaning are determined solely by the program. |
SHT_REL | 0x9 | The section holds relocation entries without explicit addends, such as type Elf32_Rel for the 32-bit class of object files or type Elf64_Rel for the 64-bit class of object files. An object file may have multiple relocation sections. See `Relocation' in Chapter 4 of System V ABI Update for details. |
SHT_RELA | 0x4 | The section holds relocation entries with explicit addends, such as type Elf32_Rela for the 32-bit class of object files or type Elf64_Rela for the 64-bit class of object files. An object file may have multiple relocation sections. See `Relocation' in Chapter 4 of System V ABI Update for details. |
SHT_STRTAB | 0x3 | The section holds a string table. An object file may have multiple string table sections. See `String Table' in Chapter 4 of System V ABI Update for details. |
SHT_SYMTAB | 0x2 | This section holds a symbol table. Currently, an object file may have either a
section of SHT_SYMTAB type or a section of SHT_DYNSYM type, but not both. This
restriction may be relaxed in the future. Typically, SHT_SYMTAB provides
symbols for link editing, though it may also be used for dynamic linking. As a
complete symbol table, it may contain many symbols unnecessary for dynamic
linking. |