KallistiOS git master
Independent SDK for the Sega Dreamcast
Loading...
Searching...
No Matches
Section Header Types

ELF section header type values More...

Macros

#define SHT_NULL   0
 Inactive section.
 
#define SHT_PROGBITS   1
 Program code/data.
 
#define SHT_SYMTAB   2
 Full symbol table.
 
#define SHT_STRTAB   3
 String table.
 
#define SHT_RELA   4
 Relocation table, with addends.
 
#define SHT_HASH   5
 Symbol hash table.
 
#define SHT_DYNAMIC   6
 Dynamic linking info.
 
#define SHT_NOTE   7
 Notes section.
 
#define SHT_NOBITS   8
 A section that occupies no space in the file.
 
#define SHT_REL   9
 Relocation table, no addends.
 
#define SHT_SHLIB   10
 Reserved.
 
#define SHT_DYNSYM   11
 Dynamic linker symbol table.
 
#define SHT_INIT_ARRAY   14
 Array of constructors.
 
#define SHT_FINI_ARRAY   15
 Array of destructors.
 
#define SHT_PREINIT_ARRAY   16
 Array of pre-constructors.
 
#define SHT_GROUP   17
 Section group.
 
#define SHT_SYMTAB_SHNDX   18
 Extended section indices.
 
#define SHT_NUM   19
 Number of defined types.
 
#define SHT_LOPROC   0x70000000
 Start of processor specific types.
 
#define SHT_HIPROC   0x7fffffff
 End of processor specific types.
 
#define SHT_LOUSER   0x80000000
 Start of program specific types.
 
#define SHT_HIUSER   0xffffffff
 End of program specific types.
 

Detailed Description

ELF section header type values

These are the various types of section headers that can exist in an ELF file.

Macro Definition Documentation

◆ SHT_DYNAMIC

#define SHT_DYNAMIC   6

Dynamic linking info.

◆ SHT_DYNSYM

#define SHT_DYNSYM   11

Dynamic linker symbol table.

◆ SHT_FINI_ARRAY

#define SHT_FINI_ARRAY   15

Array of destructors.

◆ SHT_GROUP

#define SHT_GROUP   17

Section group.

◆ SHT_HASH

#define SHT_HASH   5

Symbol hash table.

◆ SHT_HIPROC

#define SHT_HIPROC   0x7fffffff

End of processor specific types.

◆ SHT_HIUSER

#define SHT_HIUSER   0xffffffff

End of program specific types.

◆ SHT_INIT_ARRAY

#define SHT_INIT_ARRAY   14

Array of constructors.

◆ SHT_LOPROC

#define SHT_LOPROC   0x70000000

Start of processor specific types.

◆ SHT_LOUSER

#define SHT_LOUSER   0x80000000

Start of program specific types.

◆ SHT_NOBITS

#define SHT_NOBITS   8

A section that occupies no space in the file.

◆ SHT_NOTE

#define SHT_NOTE   7

Notes section.

◆ SHT_NULL

#define SHT_NULL   0

Inactive section.

◆ SHT_NUM

#define SHT_NUM   19

Number of defined types.


◆ SHT_PREINIT_ARRAY

#define SHT_PREINIT_ARRAY   16

Array of pre-constructors.

◆ SHT_PROGBITS

#define SHT_PROGBITS   1

Program code/data.

◆ SHT_REL

#define SHT_REL   9

Relocation table, no addends.

◆ SHT_RELA

#define SHT_RELA   4

Relocation table, with addends.

◆ SHT_SHLIB

#define SHT_SHLIB   10

Reserved.

◆ SHT_STRTAB

#define SHT_STRTAB   3

String table.

◆ SHT_SYMTAB

#define SHT_SYMTAB   2

Full symbol table.

◆ SHT_SYMTAB_SHNDX

#define SHT_SYMTAB_SHNDX   18

Extended section indices.