KallistiOS git master
Independent SDK for the Sega Dreamcast
Loading...
Searching...
No Matches
elf_shdr_t Struct Reference

ELF Section header. More...

#include <kos/elf.h>

Data Fields

uint32 name
 Index into string table.
 
uint32 type
 Section type.
 
uint32 flags
 Section flags.
 
uint32 addr
 In-memory offset.
 
uint32 offset
 On-disk offset.
 
uint32 size
 Size (if SHT_NOBITS, amount of 0s needed)
 
uint32 link
 Section header table index link.
 
uint32 info
 Section header extra info.
 
uint32 addralign
 Alignment constraints.
 
uint32 entsize
 Fixed-size table entry sizes.
 

Detailed Description

ELF Section header.

This structure represents the header on each ELF section.

Field Documentation

◆ addr

uint32 elf_shdr_t::addr

In-memory offset.

◆ addralign

uint32 elf_shdr_t::addralign

Alignment constraints.

◆ entsize

uint32 elf_shdr_t::entsize

Fixed-size table entry sizes.

◆ flags

uint32 elf_shdr_t::flags

Section flags.

See also
Section Header Flags

◆ info

uint32 elf_shdr_t::info

Section header extra info.

◆ link

uint32 elf_shdr_t::link

Section header table index link.

◆ name

uint32 elf_shdr_t::name

Index into string table.

◆ offset

uint32 elf_shdr_t::offset

On-disk offset.

◆ size

uint32 elf_shdr_t::size

Size (if SHT_NOBITS, amount of 0s needed)

◆ type

uint32 elf_shdr_t::type

Section type.

See also
Section Header Types

The documentation for this struct was generated from the following file: