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

ELF section header flags More...

Macros

#define SHF_WRITE   BIT(0)
 Writable data.
 
#define SHF_ALLOC   BIT(1)
 Resident.
 
#define SHF_EXECINSTR   BIT(2)
 Executable instructions.
 
#define SHF_MERGE   BIT(4)
 Might be merged.
 
#define SHF_STRINGS   BIT(5)
 Contains nul-terminated strings.
 
#define SHF_INFO_LINK   BIT(6)
 ‘sh_info’ contains SHT index
 
#define SHF_LINK_ORDER   BIT(7)
 Preserve order after combining.
 
#define SHF_GROUP   BIT(9)
 Section is member of a group.
 
#define SHF_TLS   BIT(10)
 Section hold thread-local data.
 
#define SHF_MASKPROC   0xf0000000
 Processor specific mask.
 

Detailed Description

ELF section header flags

These are the flags that can be set on a section header. These are related to whether the section should reside in memory and permissions on it.

Macro Definition Documentation

◆ SHF_ALLOC

#define SHF_ALLOC   BIT(1)

Resident.

◆ SHF_EXECINSTR

#define SHF_EXECINSTR   BIT(2)

Executable instructions.

◆ SHF_GROUP

#define SHF_GROUP   BIT(9)

Section is member of a group.


◆ SHF_INFO_LINK

#define SHF_INFO_LINK   BIT(6)

‘sh_info’ contains SHT index

◆ SHF_LINK_ORDER

#define SHF_LINK_ORDER   BIT(7)

Preserve order after combining.

◆ SHF_MASKPROC

#define SHF_MASKPROC   0xf0000000

Processor specific mask.

◆ SHF_MERGE

#define SHF_MERGE   BIT(4)

Might be merged.

◆ SHF_STRINGS

#define SHF_STRINGS   BIT(5)

Contains nul-terminated strings.

◆ SHF_TLS

#define SHF_TLS   BIT(10)

Section hold thread-local data.


◆ SHF_WRITE

#define SHF_WRITE   BIT(0)

Writable data.