|
KallistiOS git master
Independent SDK for the Sega Dreamcast
|
Initial bytes of the ELF file, specifying how it should be interpreted. More...
Macros | |
| #define | EI_MAG0 0 |
| File identification: 0x7f. | |
| #define | EI_MAG1 1 |
| File identification: 'E'. | |
| #define | EI_MAG2 2 |
| File identification: 'L'. | |
| #define | EI_MAG3 3 |
| File identification: 'F'. | |
| #define | EI_CLASS 4 |
| File class (32/64-bit) | |
| #define | EI_DATA 5 |
| Data encoding (LSB/MSB) | |
| #define | EI_VERSION 6 |
| File version (must be 1) | |
| #define | EI_OSABI 7 |
| Operating System/ABI identification. | |
| #define | EI_ABIVERSION 8 |
| ABI version. | |
| #define | EI_PAD 9 |
| Start of padding bytes. | |
| #define | EI_NIDENT 16 |
| Size of elf_hdr::ident. | |
| #define | ELFCLASSNONE 0 |
| Invalid class. | |
| #define | ELFCLASS32 1 |
| 32-bit objects | |
| #define | ELFCLASS64 2 |
| 64-bit objects | |
| #define | ELFDATANONE 0 |
| Invalid encoding. | |
| #define | ELFDATA2LSB 1 |
| 2's complement, little endian | |
| #define | ELFDATA2MSB 2 |
| 2's complement, big Endian | |
| #define | EV_NONE 0 |
| Invalid version. | |
| #define | EV_CURRENT 1 |
| Current version. | |
Initial bytes of the ELF file, specifying how it should be interpreted.
This group contains first the indexes of each ident field, then defines for the values they can contain.
Some of these are shared by other header fields.
| #define EI_ABIVERSION 8 |
ABI version.
| #define EI_CLASS 4 |
File class (32/64-bit)
| #define EI_DATA 5 |
Data encoding (LSB/MSB)
| #define EI_MAG0 0 |
File identification: 0x7f.
| #define EI_MAG1 1 |
File identification: 'E'.
| #define EI_MAG2 2 |
File identification: 'L'.
| #define EI_MAG3 3 |
File identification: 'F'.
| #define EI_NIDENT 16 |
Size of elf_hdr::ident.
| #define EI_OSABI 7 |
Operating System/ABI identification.
| #define EI_PAD 9 |
Start of padding bytes.
| #define EI_VERSION 6 |
File version (must be 1)
| #define ELFCLASS32 1 |
32-bit objects
| #define ELFCLASS64 2 |
64-bit objects
| #define ELFCLASSNONE 0 |
Invalid class.
| #define ELFDATA2LSB 1 |
2's complement, little endian
| #define ELFDATA2MSB 2 |
2's complement, big Endian
| #define ELFDATANONE 0 |
Invalid encoding.
| #define EV_CURRENT 1 |
Current version.
| #define EV_NONE 0 |
Invalid version.