|
KallistiOS git master
Independent SDK for the Sega Dreamcast
|
ELF file header. More...
#include <elf.h>
Data Fields | |
| uint8_t | ident [EI_NIDENT] |
| ELF identifier. | |
| uint16_t | type |
| ELF file type. | |
| uint16_t | machine |
| ELF file architecture. | |
| uint32_t | version |
| Object file version. | |
| uint32_t | entry |
| Entry point. | |
| uint32_t | phoff |
| Program header offset. | |
| uint32_t | shoff |
| Section header offset. | |
| uint32_t | flags |
| Processor flags. | |
| uint16_t | ehsize |
| ELF header size in bytes. | |
| uint16_t | phentsize |
| Program header entry size. | |
| uint16_t | phnum |
| Program header entry count. | |
| uint16_t | shentsize |
| Section header entry size. | |
| uint16_t | shnum |
| Section header entry count. | |
| uint16_t | shstrndx |
| String table section index. | |
ELF file header.
This header is at the beginning of any valid ELF binary and serves to identify the architecture of the binary and various data about it.
| uint16_t elf_hdr_t::ehsize |
ELF header size in bytes.
| uint32_t elf_hdr_t::entry |
Entry point.
| uint32_t elf_hdr_t::flags |
Processor flags.
| uint8_t elf_hdr_t::ident[EI_NIDENT] |
ELF identifier.
| uint16_t elf_hdr_t::machine |
ELF file architecture.
| uint16_t elf_hdr_t::phentsize |
Program header entry size.
| uint16_t elf_hdr_t::phnum |
Program header entry count.
| uint32_t elf_hdr_t::phoff |
Program header offset.
| uint16_t elf_hdr_t::shentsize |
Section header entry size.
| uint16_t elf_hdr_t::shnum |
Section header entry count.
| uint32_t elf_hdr_t::shoff |
Section header offset.
| uint16_t elf_hdr_t::shstrndx |
String table section index.
| uint16_t elf_hdr_t::type |
ELF file type.
| uint32_t elf_hdr_t::version |
Object file version.