Mauerer runapp05.tex V1 - 09/04/2008 6:13pm Page 1253
Appendix E: The ELF Binary Format
Elf64_Off e_shoff; /* Section header table file offset */
Elf64_Word e_flags;
Elf64_Half e_ehsize;
Elf64_Half e_phentsize;
Elf64_Half e_phnum;
Elf64_Half e_shentsize;
Elf64_Half e_shnum;
Elf64_Half e_shstrndx;
} Elf64_Ehdr;
Table E-2: Architectures Supported by ELF
Value Architecture
EM_SPARC 32-bit Sparc
EM_SPARC32PLUS 32-bit Sparc (‘‘v8 Plus‘‘)
EM_SPARCV9 64-bit Sparc
EM_386andELF_486 IA-32
EM_IA_64 IA-64
EM_X86_64 AMD64
EM_68K Motorola 68k
EM_MIPS Mips
EM_PARISC Hewlet-Packard PA-Risc
EM_PPC PowerPC
EM_PPC64 PowerPC 64
EM_SH Hitachi SuperH
EM_S390 IBM S/390
EM_S390_OLD Former interim value for S390
EM_CRIS Axis Communications Cris
EM_V850 NEC v850
EM_H8_300H Hitachi H8/300H
EM_ALPHA Alpha AXP
EM_M32R Renseas M32R
EM_H8_300 Renseas H8/300
EM_FRV Fujitsu FR-V