exec_elf.h File Reference

Back to the index.

Classes | Macros | Typedefs
exec_elf.h File Reference
#include <inttypes.h>

Go to the source code of this file.

Classes

struct  Elf32_Ehdr
 
struct  Elf64_Ehdr
 
struct  Elf32_Phdr
 
struct  Elf64_Phdr
 
struct  Elf32_Shdr
 
struct  Elf64_Shdr
 
struct  Elf32_Sym
 
struct  Elf64_Sym
 
struct  Elf32_Rel
 
struct  Elf32_Rela
 
struct  Elf64_Rel
 
struct  Elf64_Rela
 
struct  Elf32_Dyn
 
struct  Elf64_Dyn
 
struct  Aux32Info
 
struct  Aux64Info
 
struct  Elf32_Nhdr
 
struct  Elf64_Nhdr
 

Macros

#define ELF32_FSZ_ADDR   4
 
#define ELF32_FSZ_OFF   4
 
#define ELF32_FSZ_SWORD   4
 
#define ELF32_FSZ_WORD   4
 
#define ELF32_FSZ_HALF   2
 
#define ELF64_FSZ_ADDR   8
 
#define ELF64_FSZ_OFF   8
 
#define ELF64_FSZ_SHALF   4
 
#define ELF64_FSZ_SWORD   8
 
#define ELF64_FSZ_WORD   8
 
#define ELF64_FSZ_XWORD   8
 
#define ELF64_FSZ_XWORD   8
 
#define ELF64_FSZ_HALF   4
 
#define ELF64_FSZ_QUARTER   2
 
#define ELF_NIDENT   16
 
#define EI_MAG0   0 /* '\177' */
 
#define EI_MAG1   1 /* 'E' */
 
#define EI_MAG2   2 /* 'L' */
 
#define EI_MAG3   3 /* 'F' */
 
#define EI_CLASS   4 /* File class */
 
#define EI_DATA   5 /* Data encoding */
 
#define EI_VERSION   6 /* File version */
 
#define EI_OSABI   7 /* Operating system/ABI identification */
 
#define EI_ABIVERSION   8 /* ABI version */
 
#define EI_PAD   9 /* Start of padding bytes up to EI_NIDENT*/
 
#define ELFMAG0   0x7f
 
#define ELFMAG1   'E'
 
#define ELFMAG2   'L'
 
#define ELFMAG3   'F'
 
#define ELFMAG   "\177ELF"
 
#define SELFMAG   4
 
#define ELFCLASSNONE   0 /* Invalid class */
 
#define ELFCLASS32   1 /* 32-bit objects */
 
#define ELFCLASS64   2 /* 64-bit objects */
 
#define ELFCLASSNUM   3
 
#define ELFDATANONE   0 /* Invalid data encoding */
 
#define ELFDATA2LSB   1 /* 2's complement values, LSB first */
 
#define ELFDATA2MSB   2 /* 2's complement values, MSB first */
 
#define EV_NONE   0 /* Invalid version */
 
#define EV_CURRENT   1 /* Current version */
 
#define EV_NUM   2
 
#define ELFOSABI_SYSV   0 /* UNIX System V ABI */
 
#define ELFOSABI_HPUX   1 /* HP-UX operating system */
 
#define ELFOSABI_NETBSD   2 /* NetBSD */
 
#define ELFOSABI_LINUX   3 /* GNU/Linux */
 
#define ELFOSABI_HURD   4 /* GNU/Hurd */
 
#define ELFOSABI_86OPEN   5 /* 86Open */
 
#define ELFOSABI_SOLARIS   6 /* Solaris */
 
#define ELFOSABI_MONTEREY   7 /* Monterey */
 
#define ELFOSABI_IRIX   8 /* IRIX */
 
#define ELFOSABI_FREEBSD   9 /* FreeBSD */
 
#define ELFOSABI_TRU64   10 /* TRU64 UNIX */
 
#define ELFOSABI_MODESTO   11 /* Novell Modesto */
 
#define ELFOSABI_OPENBSD   12 /* OpenBSD */
 
#define ELFOSABI_OPENVMS   13 /* OpenVMS */
 
#define ELFOSABI_NSK   14 /* HP Non-Stop Kernel */
 
#define ELFOSABI_AROS   15 /* Amiga Research OS */
 
#define ELFOSABI_ARM   97 /* ARM */
 
#define ELFOSABI_STANDALONE   255 /* Standalone (embedded) application */
 
#define ELFOSABI_NONE   ELFOSABI_SYSV
 
#define ELFOSABI_AIX   ELFOSABI_MONTEREY
 
#define ET_NONE   0 /* No file type */
 
#define ET_REL   1 /* Relocatable file */
 
#define ET_EXEC   2 /* Executable file */
 
#define ET_DYN   3 /* Shared object file */
 
#define ET_CORE   4 /* Core file */
 
#define ET_NUM   5
 
#define ET_LOOS   0xfe00 /* Operating system specific range */
 
#define ET_HIOS   0xfeff
 
#define ET_LOPROC   0xff00 /* Processor-specific range */
 
#define ET_HIPROC   0xffff
 
#define EM_NONE   0 /* No machine */
 
#define EM_M32   1 /* AT&T WE 32100 */
 
#define EM_SPARC   2 /* SPARC */
 
#define EM_386   3 /* Intel 80386 */
 
#define EM_68K   4 /* Motorola 68000 */
 
#define EM_88K   5 /* Motorola 88000 */
 
#define EM_486   6 /* Intel 80486 [old] */
 
#define EM_IAMCU   6 /* Intel MCU. */
 
#define EM_860   7 /* Intel 80860 */
 
#define EM_MIPS   8 /* MIPS I Architecture */
 
#define EM_S370   9 /* Amdahl UTS on System/370 */
 
#define EM_MIPS_RS3_LE   10 /* MIPS RS3000 Little-endian */
 
#define EM_RS6000   11 /* IBM RS/6000 XXX reserved */
 
#define EM_PARISC   15 /* Hewlett-Packard PA-RISC */
 
#define EM_NCUBE   16 /* NCube XXX reserved */
 
#define EM_VPP500   17 /* Fujitsu VPP500 */
 
#define EM_SPARC32PLUS   18 /* Enhanced instruction set SPARC */
 
#define EM_960   19 /* Intel 80960 */
 
#define EM_PPC   20 /* PowerPC */
 
#define EM_PPC64   21 /* 64-bit PowerPC */
 
#define EM_S390   22 /* System/390 XXX reserved */
 
#define EM_V800   36 /* NEC V800 */
 
#define EM_FR20   37 /* Fujitsu FR20 */
 
#define EM_RH32   38 /* TRW RH-32 */
 
#define EM_RCE   39 /* Motorola RCE */
 
#define EM_ARM   40 /* Advanced RISC Machines ARM */
 
#define EM_ALPHA   41 /* DIGITAL Alpha */
 
#define EM_SH   42 /* Hitachi Super-H */
 
#define EM_SPARCV9   43 /* SPARC Version 9 */
 
#define EM_TRICORE   44 /* Siemens Tricore */
 
#define EM_ARC   45 /* Argonaut RISC Core */
 
#define EM_H8_300   46 /* Hitachi H8/300 */
 
#define EM_H8_300H   47 /* Hitachi H8/300H */
 
#define EM_H8S   48 /* Hitachi H8S */
 
#define EM_H8_500   49 /* Hitachi H8/500 */
 
#define EM_IA_64   50 /* Intel Merced Processor */
 
#define EM_MIPS_X   51 /* Stanford MIPS-X */
 
#define EM_COLDFIRE   52 /* Motorola Coldfire */
 
#define EM_68HC12   53 /* Motorola MC68HC12 */
 
#define EM_MMA   54 /* Fujitsu MMA Multimedia Accelerator */
 
#define EM_PCP   55 /* Siemens PCP */
 
#define EM_NCPU   56 /* Sony nCPU embedded RISC processor */
 
#define EM_NDR1   57 /* Denso NDR1 microprocessor */
 
#define EM_STARCORE   58 /* Motorola Star*Core processor */
 
#define EM_ME16   59 /* Toyota ME16 processor */
 
#define EM_ST100   60 /* STMicroelectronics ST100 processor */
 
#define EM_TINYJ   61 /* Advanced Logic Corp. TinyJ embedded family processor */
 
#define EM_X86_64   62 /* AMD x86-64 architecture */
 
#define EM_PDSP   63 /* Sony DSP Processor */
 
#define EM_PDP10   64 /* Digital Equipment Corp. PDP-10 */
 
#define EM_PDP11   65 /* Digital Equipment Corp. PDP-11 */
 
#define EM_FX66   66 /* Siemens FX66 microcontroller */
 
#define EM_ST9PLUS   67 /* STMicroelectronics ST9+ 8/16 bit microcontroller */
 
#define EM_ST7   68 /* STMicroelectronics ST7 8-bit microcontroller */
 
#define EM_68HC16   69 /* Motorola MC68HC16 Microcontroller */
 
#define EM_68HC11   70 /* Motorola MC68HC11 Microcontroller */
 
#define EM_68HC08   71 /* Motorola MC68HC08 Microcontroller */
 
#define EM_68HC05   72 /* Motorola MC68HC05 Microcontroller */
 
#define EM_SVX   73 /* Silicon Graphics SVx */
 
#define EM_ST19   74 /* STMicroelectronics ST19 8-bit CPU */
 
#define EM_VAX   75 /* Digital VAX */
 
#define EM_CRIS   76 /* Axis Communications 32-bit embedded processor */
 
#define EM_JAVELIN   77 /* Infineon Technologies 32-bit embedded CPU */
 
#define EM_FIREPATH   78 /* Element 14 64-bit DSP processor */
 
#define EM_ZSP   79 /* LSI Logic's 16-bit DSP processor */
 
#define EM_MMIX   80 /* Donald Knuth's educational 64-bit processor */
 
#define EM_HUANY   81 /* Harvard's machine-independent format */
 
#define EM_PRISM   82 /* SiTera Prism */
 
#define EM_AVR   83 /* Atmel AVR 8-bit microcontroller */
 
#define EM_FR30   84 /* Fujitsu FR30 */
 
#define EM_D10V   85 /* Mitsubishi D10V */
 
#define EM_D30V   86 /* Mitsubishi D30V */
 
#define EM_V850   87 /* NEC v850 */
 
#define EM_M32R   88 /* Mitsubishi M32R */
 
#define EM_MN10300   89 /* Matsushita MN10300 */
 
#define EM_MN10200   90 /* Matsushita MN10200 */
 
#define EM_PJ   91 /* picoJava */
 
#define EM_OR1K   92 /* OpenRISC 32-bit embedded processor */
 
#define EM_OPENRISC   EM_OR1K
 
#define EM_ARC_A5   93 /* ARC Cores Tangent-A5 */
 
#define EM_XTENSA   94 /* Tensilica Xtensa Architecture */
 
#define EM_VIDEOCORE   95 /* Alphamosaic VideoCore processor */
 
#define EM_TMM_GPP   96 /* Thompson Multimedia General Purpose Processor */
 
#define EM_NS32K   97 /* National Semiconductor 32000 series */
 
#define EM_TPC   98 /* Tenor Network TPC processor */
 
#define EM_SNP1K   99 /* Trebia SNP 1000 processor */
 
#define EM_ST200   100 /* STMicroelectronics ST200 microcontroller */
 
#define EM_IP2K   101 /* Ubicom IP2xxx microcontroller family */
 
#define EM_MAX   102 /* MAX processor */
 
#define EM_CR   103 /* National Semiconductor CompactRISC micorprocessor */
 
#define EM_F2MC16   104 /* Fujitsu F2MC16 */
 
#define EM_MSP430   105 /* Texas Instruments MSP430 */
 
#define EM_BLACKFIN   106 /* Analog Devices Blackfin DSP */
 
#define EM_SE_C33   107 /* Seiko Epson S1C33 family */
 
#define EM_SEP   108 /* Sharp embedded microprocessor */
 
#define EM_ARCA   109 /* Arca RISC microprocessor */
 
#define EM_UNICORE   110 /* UNICORE from PKU-Unity Ltd. and MPRC Peking University */
 
#define EM_ALTERA_NIOS2   113 /* Altera Nios II soft-core processor */
 
#define EM_AARCH64   183 /* AArch64 64-bit ARM microprocessor */
 
#define EM_AVR32   185 /* Atmel Corporation 32-bit microprocessor family*/
 
#define EM_TILE64   187 /* Tilera TILE64 multicore architecture family */
 
#define EM_TILEPRO   188 /* Tilera TILEPro multicore architecture family */
 
#define EM_MICROBLAZE   189 /* Xilinx MicroBlaze 32-bit RISC soft processor core */
 
#define EM_TILEGX   192 /* Tilera TILE-GX multicore architecture family */
 
#define EM_Z80   220 /* Zilog Z80 */
 
#define EM_RISCV   243 /* RISC-V */
 
#define PT_NULL   0 /* Program header table entry unused */
 
#define PT_LOAD   1 /* Loadable program segment */
 
#define PT_DYNAMIC   2 /* Dynamic linking information */
 
#define PT_INTERP   3 /* Program interpreter */
 
#define PT_NOTE   4 /* Auxiliary information */
 
#define PT_SHLIB   5 /* Reserved, unspecified semantics */
 
#define PT_PHDR   6 /* Entry for header table itself */
 
#define PT_NUM   7
 
#define PF_R   0x4 /* Segment is readable */
 
#define PF_W   0x2 /* Segment is writable */
 
#define PF_X   0x1 /* Segment is executable */
 
#define PF_MASKOS   0x0ff00000 /* Opersting system specific values */
 
#define PF_MASKPROC   0xf0000000 /* Processor-specific values */
 
#define PT_LOPROC   0x70000000 /* Processor-specific range */
 
#define PT_HIPROC   0x7fffffff
 
#define PT_MIPS_REGINFO   0x70000000
 
#define SHT_NULL   0
 
#define SHT_PROGBITS   1
 
#define SHT_SYMTAB   2
 
#define SHT_STRTAB   3
 
#define SHT_RELA   4
 
#define SHT_HASH   5
 
#define SHT_DYNAMIC   6
 
#define SHT_NOTE   7
 
#define SHT_NOBITS   8
 
#define SHT_REL   9
 
#define SHT_SHLIB   10
 
#define SHT_DYNSYM   11
 
#define SHT_NUM   12
 
#define SHT_LOOS   0x60000000 /* Operating system specific range */
 
#define SHT_HIOS   0x6fffffff
 
#define SHT_LOPROC   0x70000000 /* Processor-specific range */
 
#define SHT_HIPROC   0x7fffffff
 
#define SHT_LOUSER   0x80000000 /* Application-specific range */
 
#define SHT_HIUSER   0xffffffff
 
#define SHF_WRITE   0x1 /* Section contains writable data */
 
#define SHF_ALLOC   0x2 /* Section occupies memory */
 
#define SHF_EXECINSTR   0x4 /* Section contains executable insns */
 
#define SHF_MASKOS   0x0f000000 /* Operating system specific values */
 
#define SHF_MASKPROC   0xf0000000 /* Processor-specific values */
 
#define ELF_SYM_UNDEFINED   0
 
#define STB_LOCAL   0 /* local symbol */
 
#define STB_GLOBAL   1 /* global symbol */
 
#define STB_WEAK   2 /* weakly defined global symbol */
 
#define STB_NUM   3
 
#define STB_LOOS   10 /* Operating system specific range */
 
#define STB_HIOS   12
 
#define STB_LOPROC   13 /* Processor-specific range */
 
#define STB_HIPROC   15
 
#define STT_NOTYPE   0 /* Type not specified */
 
#define STT_OBJECT   1 /* Associated with a data object */
 
#define STT_FUNC   2 /* Associated with a function */
 
#define STT_SECTION   3 /* Associated with a section */
 
#define STT_FILE   4 /* Associated with a file name */
 
#define STT_NUM   5
 
#define STT_LOOS   10 /* Operating system specific range */
 
#define STT_HIOS   12
 
#define STT_LOPROC   13 /* Processor-specific range */
 
#define STT_HIPROC   15
 
#define ELF32_ST_BIND(info)   ((Elf32_Word)(info) >> 4)
 
#define ELF32_ST_TYPE(info)   ((Elf32_Word)(info) & 0xf)
 
#define ELF32_ST_INFO(bind, type)   ((Elf_Byte)(((bind) << 4) | ((type) & 0xf)))
 
#define ELF64_ST_BIND(info)   ((Elf64_Xword)(info) >> 4)
 
#define ELF64_ST_TYPE(info)   ((Elf64_Xword)(info) & 0xf)
 
#define ELF64_ST_INFO(bind, type)   ((Elf_Byte)(((bind) << 4) | ((type) & 0xf)))
 
#define SHN_UNDEF   0 /* Undefined section */
 
#define SHN_LORESERVE   0xff00 /* Reserved range */
 
#define SHN_ABS   0xfff1 /* Absolute symbols */
 
#define SHN_COMMON   0xfff2 /* Common symbols */
 
#define SHN_HIRESERVE   0xffff
 
#define SHN_LOPROC   0xff00 /* Processor-specific range */
 
#define SHN_HIPROC   0xff1f
 
#define SHN_LOOS   0xff20 /* Operating system specific range */
 
#define SHN_HIOS   0xff3f
 
#define SHN_MIPS_ACOMMON   0xff00
 
#define SHN_MIPS_TEXT   0xff01
 
#define SHN_MIPS_DATA   0xff02
 
#define SHN_MIPS_SCOMMON   0xff03
 
#define ELF32_R_SYM(info)   ((info) >> 8)
 
#define ELF32_R_TYPE(info)   ((info) & 0xff)
 
#define ELF32_R_INFO(sym, type)   (((sym) << 8) + (unsigned char)(type))
 
#define ELF64_R_SYM(info)   ((info) >> 32)
 
#define ELF64_R_TYPE(info)   ((info) & 0xffffffff)
 
#define ELF64_R_INFO(sym, type)   (((sym) << 32) + (type))
 
#define DT_NULL   0 /* Marks end of dynamic array */
 
#define DT_NEEDED   1 /* Name of needed library (DT_STRTAB offset) */
 
#define DT_PLTRELSZ   2 /* Size, in bytes, of relocations in PLT */
 
#define DT_PLTGOT   3 /* Address of PLT and/or GOT */
 
#define DT_HASH   4 /* Address of symbol hash table */
 
#define DT_STRTAB   5 /* Address of string table */
 
#define DT_SYMTAB   6 /* Address of symbol table */
 
#define DT_RELA   7 /* Address of Rela relocation table */
 
#define DT_RELASZ   8 /* Size, in bytes, of DT_RELA table */
 
#define DT_RELAENT   9 /* Size, in bytes, of one DT_RELA entry */
 
#define DT_STRSZ   10 /* Size, in bytes, of DT_STRTAB table */
 
#define DT_SYMENT   11 /* Size, in bytes, of one DT_SYMTAB entry */
 
#define DT_INIT   12 /* Address of initialization function */
 
#define DT_FINI   13 /* Address of termination function */
 
#define DT_SONAME   14 /* Shared object name (DT_STRTAB offset) */
 
#define DT_RPATH   15 /* Library search path (DT_STRTAB offset) */
 
#define DT_SYMBOLIC   16 /* Start symbol search within local object */
 
#define DT_REL   17 /* Address of Rel relocation table */
 
#define DT_RELSZ   18 /* Size, in bytes, of DT_REL table */
 
#define DT_RELENT   19 /* Size, in bytes, of one DT_REL entry */
 
#define DT_PLTREL   20 /* Type of PLT relocation entries */
 
#define DT_DEBUG   21 /* Used for debugging; unspecified */
 
#define DT_TEXTREL   22 /* Relocations might modify non-writable seg */
 
#define DT_JMPREL   23 /* Address of relocations associated with PLT */
 
#define DT_BIND_NOW   24 /* Process all relocations at load-time */
 
#define DT_INIT_ARRAY   25 /* Address of initialization function array */
 
#define DT_FINI_ARRAY   26 /* Size, in bytes, of DT_INIT_ARRAY array */
 
#define DT_INIT_ARRAYSZ   27 /* Address of termination function array */
 
#define DT_FINI_ARRAYSZ   28 /* Size, in bytes, of DT_FINI_ARRAY array*/
 
#define DT_NUM   29
 
#define DT_LOOS   0x60000000 /* Operating system specific range */
 
#define DT_HIOS   0x6fffffff
 
#define DT_LOPROC   0x70000000 /* Processor-specific range */
 
#define DT_HIPROC   0x7fffffff
 
#define AT_NULL   0 /* Marks end of array */
 
#define AT_IGNORE   1 /* No meaning, a_un is undefined */
 
#define AT_EXECFD   2 /* Open file descriptor of object file */
 
#define AT_PHDR   3 /* &phdr[0] */
 
#define AT_PHENT   4 /* sizeof(phdr[0]) */
 
#define AT_PHNUM   5 /* # phdr entries */
 
#define AT_PAGESZ   6 /* PAGESIZE */
 
#define AT_BASE   7 /* Interpreter base addr */
 
#define AT_FLAGS   8 /* Processor flags */
 
#define AT_ENTRY   9 /* Entry address of executable */
 
#define AT_DCACHEBSIZE   10 /* Data cache block size */
 
#define AT_ICACHEBSIZE   11 /* Instruction cache block size */
 
#define AT_UCACHEBSIZE   12 /* Unified cache block size */
 
#define AT_MIPS_NOTELF   10 /* XXX a_val != 0 -> MIPS XCOFF executable */
 
#define AT_SUN_UID   2000 /* euid */
 
#define AT_SUN_RUID   2001 /* ruid */
 
#define AT_SUN_GID   2002 /* egid */
 
#define AT_SUN_RGID   2003 /* rgid */
 
#define AT_SUN_LDELF   2004 /* dynamic linker's ELF header */
 
#define AT_SUN_LDSHDR   2005 /* dynamic linker's section header */
 
#define AT_SUN_LDNAME   2006 /* dynamic linker's name */
 
#define AT_SUN_LPGSIZE   2007 /* large pagesize */
 
#define AT_SUN_PLATFORM   2008 /* sysinfo(SI_PLATFORM) */
 
#define AT_SUN_HWCAP   2009 /* process hardware capabilities */
 
#define AT_SUN_IFLUSH   2010 /* do we need to flush the instruction cache? */
 
#define AT_SUN_CPU   2011 /* cpu name */
 
#define AT_SUN_EMUL_ENTRY   2012 /* coff entry point */
 
#define AT_SUN_EMUL_EXECFD   2013 /* coff file descriptor */
 
#define AT_SUN_EXECNAME   2014
 
#define ELF_NOTE_TYPE_OSVERSION   1
 
#define ELF_NOTE_NETBSD_TYPE_OSVERSION   ELF_NOTE_TYPE_OSVERSION
 
#define ELF_NOTE_NETBSD_TYPE_EMULNAME   2
 
#define ELF_NOTE_NETBSD_NAMESZ   7
 
#define ELF_NOTE_NETBSD_DESCSZ   4
 
#define ELF_NOTE_NETBSD_NAME   "NetBSD\0\0"
 
#define ELF_NOTE_GNU_NAMESZ   4
 
#define ELF_NOTE_GNU_DESCSZ   4
 
#define ELF_NOTE_GNU_NAME   "GNU\0"
 
#define ELF_NOTE_GNU_OSMASK   (u_int32_t)0xff000000
 
#define ELF_NOTE_GNU_OSLINUX   (u_int32_t)0x01000000
 
#define ELF_NOTE_GNU_OSMACH   (u_int32_t)0x00000000
 

Typedefs

typedef uint8_t Elf_Byte
 
typedef uint32_t Elf32_Addr
 
typedef uint32_t Elf32_Off
 
typedef int32_t Elf32_Sword
 
typedef uint32_t Elf32_Word
 
typedef uint16_t Elf32_Half
 
typedef uint64_t Elf64_Addr
 
typedef uint64_t Elf64_Off
 
typedef int32_t Elf64_Shalf
 
typedef int64_t Elf64_Sword
 
typedef uint64_t Elf64_Word
 
typedef int64_t Elf64_Sxword
 
typedef uint64_t Elf64_Xword
 
typedef uint32_t Elf64_Half
 
typedef uint16_t Elf64_Quarter
 

Macro Definition Documentation

◆ AT_BASE

#define AT_BASE   7 /* Interpreter base addr */

Definition at line 607 of file exec_elf.h.

◆ AT_DCACHEBSIZE

#define AT_DCACHEBSIZE   10 /* Data cache block size */

Definition at line 610 of file exec_elf.h.

◆ AT_ENTRY

#define AT_ENTRY   9 /* Entry address of executable */

Definition at line 609 of file exec_elf.h.

◆ AT_EXECFD

#define AT_EXECFD   2 /* Open file descriptor of object file */

Definition at line 602 of file exec_elf.h.

◆ AT_FLAGS

#define AT_FLAGS   8 /* Processor flags */

Definition at line 608 of file exec_elf.h.

◆ AT_ICACHEBSIZE

#define AT_ICACHEBSIZE   11 /* Instruction cache block size */

Definition at line 611 of file exec_elf.h.

◆ AT_IGNORE

#define AT_IGNORE   1 /* No meaning, a_un is undefined */

Definition at line 601 of file exec_elf.h.

◆ AT_MIPS_NOTELF

#define AT_MIPS_NOTELF   10 /* XXX a_val != 0 -> MIPS XCOFF executable */

Definition at line 615 of file exec_elf.h.

◆ AT_NULL

#define AT_NULL   0 /* Marks end of array */

Definition at line 600 of file exec_elf.h.

◆ AT_PAGESZ

#define AT_PAGESZ   6 /* PAGESIZE */

Definition at line 606 of file exec_elf.h.

◆ AT_PHDR

#define AT_PHDR   3 /* &phdr[0] */

Definition at line 603 of file exec_elf.h.

◆ AT_PHENT

#define AT_PHENT   4 /* sizeof(phdr[0]) */

Definition at line 604 of file exec_elf.h.

◆ AT_PHNUM

#define AT_PHNUM   5 /* # phdr entries */

Definition at line 605 of file exec_elf.h.

◆ AT_SUN_CPU

#define AT_SUN_CPU   2011 /* cpu name */

Definition at line 632 of file exec_elf.h.

◆ AT_SUN_EMUL_ENTRY

#define AT_SUN_EMUL_ENTRY   2012 /* coff entry point */

Definition at line 634 of file exec_elf.h.

◆ AT_SUN_EMUL_EXECFD

#define AT_SUN_EMUL_EXECFD   2013 /* coff file descriptor */

Definition at line 635 of file exec_elf.h.

◆ AT_SUN_EXECNAME

#define AT_SUN_EXECNAME   2014

Definition at line 637 of file exec_elf.h.

◆ AT_SUN_GID

#define AT_SUN_GID   2002 /* egid */

Definition at line 619 of file exec_elf.h.

◆ AT_SUN_HWCAP

#define AT_SUN_HWCAP   2009 /* process hardware capabilities */

Definition at line 630 of file exec_elf.h.

◆ AT_SUN_IFLUSH

#define AT_SUN_IFLUSH   2010 /* do we need to flush the instruction cache? */

Definition at line 631 of file exec_elf.h.

◆ AT_SUN_LDELF

#define AT_SUN_LDELF   2004 /* dynamic linker's ELF header */

Definition at line 623 of file exec_elf.h.

◆ AT_SUN_LDNAME

#define AT_SUN_LDNAME   2006 /* dynamic linker's name */

Definition at line 625 of file exec_elf.h.

◆ AT_SUN_LDSHDR

#define AT_SUN_LDSHDR   2005 /* dynamic linker's section header */

Definition at line 624 of file exec_elf.h.

◆ AT_SUN_LPGSIZE

#define AT_SUN_LPGSIZE   2007 /* large pagesize */

Definition at line 626 of file exec_elf.h.

◆ AT_SUN_PLATFORM

#define AT_SUN_PLATFORM   2008 /* sysinfo(SI_PLATFORM) */

Definition at line 629 of file exec_elf.h.

◆ AT_SUN_RGID

#define AT_SUN_RGID   2003 /* rgid */

Definition at line 620 of file exec_elf.h.

◆ AT_SUN_RUID

#define AT_SUN_RUID   2001 /* ruid */

Definition at line 618 of file exec_elf.h.

◆ AT_SUN_UID

#define AT_SUN_UID   2000 /* euid */

Definition at line 617 of file exec_elf.h.

◆ AT_UCACHEBSIZE

#define AT_UCACHEBSIZE   12 /* Unified cache block size */

Definition at line 612 of file exec_elf.h.

◆ DT_BIND_NOW

#define DT_BIND_NOW   24 /* Process all relocations at load-time */

Definition at line 574 of file exec_elf.h.

◆ DT_DEBUG

#define DT_DEBUG   21 /* Used for debugging; unspecified */

Definition at line 571 of file exec_elf.h.

◆ DT_FINI

#define DT_FINI   13 /* Address of termination function */

Definition at line 563 of file exec_elf.h.

◆ DT_FINI_ARRAY

#define DT_FINI_ARRAY   26 /* Size, in bytes, of DT_INIT_ARRAY array */

Definition at line 576 of file exec_elf.h.

◆ DT_FINI_ARRAYSZ

#define DT_FINI_ARRAYSZ   28 /* Size, in bytes, of DT_FINI_ARRAY array*/

Definition at line 578 of file exec_elf.h.

◆ DT_HASH

#define DT_HASH   4 /* Address of symbol hash table */

Definition at line 554 of file exec_elf.h.

◆ DT_HIOS

#define DT_HIOS   0x6fffffff

Definition at line 582 of file exec_elf.h.

◆ DT_HIPROC

#define DT_HIPROC   0x7fffffff

Definition at line 584 of file exec_elf.h.

◆ DT_INIT

#define DT_INIT   12 /* Address of initialization function */

Definition at line 562 of file exec_elf.h.

◆ DT_INIT_ARRAY

#define DT_INIT_ARRAY   25 /* Address of initialization function array */

Definition at line 575 of file exec_elf.h.

◆ DT_INIT_ARRAYSZ

#define DT_INIT_ARRAYSZ   27 /* Address of termination function array */

Definition at line 577 of file exec_elf.h.

◆ DT_JMPREL

#define DT_JMPREL   23 /* Address of relocations associated with PLT */

Definition at line 573 of file exec_elf.h.

◆ DT_LOOS

#define DT_LOOS   0x60000000 /* Operating system specific range */

Definition at line 581 of file exec_elf.h.

◆ DT_LOPROC

#define DT_LOPROC   0x70000000 /* Processor-specific range */

Definition at line 583 of file exec_elf.h.

◆ DT_NEEDED

#define DT_NEEDED   1 /* Name of needed library (DT_STRTAB offset) */

Definition at line 551 of file exec_elf.h.

◆ DT_NULL

#define DT_NULL   0 /* Marks end of dynamic array */

Definition at line 550 of file exec_elf.h.

◆ DT_NUM

#define DT_NUM   29

Definition at line 579 of file exec_elf.h.

◆ DT_PLTGOT

#define DT_PLTGOT   3 /* Address of PLT and/or GOT */

Definition at line 553 of file exec_elf.h.

◆ DT_PLTREL

#define DT_PLTREL   20 /* Type of PLT relocation entries */

Definition at line 570 of file exec_elf.h.

◆ DT_PLTRELSZ

#define DT_PLTRELSZ   2 /* Size, in bytes, of relocations in PLT */

Definition at line 552 of file exec_elf.h.

◆ DT_REL

#define DT_REL   17 /* Address of Rel relocation table */

Definition at line 567 of file exec_elf.h.

◆ DT_RELA

#define DT_RELA   7 /* Address of Rela relocation table */

Definition at line 557 of file exec_elf.h.

◆ DT_RELAENT

#define DT_RELAENT   9 /* Size, in bytes, of one DT_RELA entry */

Definition at line 559 of file exec_elf.h.

◆ DT_RELASZ

#define DT_RELASZ   8 /* Size, in bytes, of DT_RELA table */

Definition at line 558 of file exec_elf.h.

◆ DT_RELENT

#define DT_RELENT   19 /* Size, in bytes, of one DT_REL entry */

Definition at line 569 of file exec_elf.h.

◆ DT_RELSZ

#define DT_RELSZ   18 /* Size, in bytes, of DT_REL table */

Definition at line 568 of file exec_elf.h.

◆ DT_RPATH

#define DT_RPATH   15 /* Library search path (DT_STRTAB offset) */

Definition at line 565 of file exec_elf.h.

◆ DT_SONAME

#define DT_SONAME   14 /* Shared object name (DT_STRTAB offset) */

Definition at line 564 of file exec_elf.h.

◆ DT_STRSZ

#define DT_STRSZ   10 /* Size, in bytes, of DT_STRTAB table */

Definition at line 560 of file exec_elf.h.

◆ DT_STRTAB

#define DT_STRTAB   5 /* Address of string table */

Definition at line 555 of file exec_elf.h.

◆ DT_SYMBOLIC

#define DT_SYMBOLIC   16 /* Start symbol search within local object */

Definition at line 566 of file exec_elf.h.

◆ DT_SYMENT

#define DT_SYMENT   11 /* Size, in bytes, of one DT_SYMTAB entry */

Definition at line 561 of file exec_elf.h.

◆ DT_SYMTAB

#define DT_SYMTAB   6 /* Address of symbol table */

Definition at line 556 of file exec_elf.h.

◆ DT_TEXTREL

#define DT_TEXTREL   22 /* Relocations might modify non-writable seg */

Definition at line 572 of file exec_elf.h.

◆ EI_ABIVERSION

#define EI_ABIVERSION   8 /* ABI version */

Definition at line 137 of file exec_elf.h.

◆ EI_CLASS

#define EI_CLASS   4 /* File class */

Definition at line 133 of file exec_elf.h.

◆ EI_DATA

#define EI_DATA   5 /* Data encoding */

Definition at line 134 of file exec_elf.h.

◆ EI_MAG0

#define EI_MAG0   0 /* '\177' */

Definition at line 129 of file exec_elf.h.

◆ EI_MAG1

#define EI_MAG1   1 /* 'E' */

Definition at line 130 of file exec_elf.h.

◆ EI_MAG2

#define EI_MAG2   2 /* 'L' */

Definition at line 131 of file exec_elf.h.

◆ EI_MAG3

#define EI_MAG3   3 /* 'F' */

Definition at line 132 of file exec_elf.h.

◆ EI_OSABI

#define EI_OSABI   7 /* Operating system/ABI identification */

Definition at line 136 of file exec_elf.h.

◆ EI_PAD

#define EI_PAD   9 /* Start of padding bytes up to EI_NIDENT*/

Definition at line 138 of file exec_elf.h.

◆ EI_VERSION

#define EI_VERSION   6 /* File version */

Definition at line 135 of file exec_elf.h.

◆ ELF32_FSZ_ADDR

#define ELF32_FSZ_ADDR   4

Definition at line 52 of file exec_elf.h.

◆ ELF32_FSZ_HALF

#define ELF32_FSZ_HALF   2

Definition at line 60 of file exec_elf.h.

◆ ELF32_FSZ_OFF

#define ELF32_FSZ_OFF   4

Definition at line 54 of file exec_elf.h.

◆ ELF32_FSZ_SWORD

#define ELF32_FSZ_SWORD   4

Definition at line 56 of file exec_elf.h.

◆ ELF32_FSZ_WORD

#define ELF32_FSZ_WORD   4

Definition at line 58 of file exec_elf.h.

◆ ELF32_R_INFO

#define ELF32_R_INFO (   sym,
  type 
)    (((sym) << 8) + (unsigned char)(type))

Definition at line 512 of file exec_elf.h.

◆ ELF32_R_SYM

#define ELF32_R_SYM (   info)    ((info) >> 8)

Definition at line 510 of file exec_elf.h.

◆ ELF32_R_TYPE

#define ELF32_R_TYPE (   info)    ((info) & 0xff)

Definition at line 511 of file exec_elf.h.

◆ ELF32_ST_BIND

#define ELF32_ST_BIND (   info)    ((Elf32_Word)(info) >> 4)

Definition at line 467 of file exec_elf.h.

◆ ELF32_ST_INFO

#define ELF32_ST_INFO (   bind,
  type 
)    ((Elf_Byte)(((bind) << 4) | ((type) & 0xf)))

Definition at line 469 of file exec_elf.h.

◆ ELF32_ST_TYPE

#define ELF32_ST_TYPE (   info)    ((Elf32_Word)(info) & 0xf)

Definition at line 468 of file exec_elf.h.

◆ ELF64_FSZ_ADDR

#define ELF64_FSZ_ADDR   8

Definition at line 63 of file exec_elf.h.

◆ ELF64_FSZ_HALF

#define ELF64_FSZ_HALF   4

Definition at line 85 of file exec_elf.h.

◆ ELF64_FSZ_OFF

#define ELF64_FSZ_OFF   8

Definition at line 65 of file exec_elf.h.

◆ ELF64_FSZ_QUARTER

#define ELF64_FSZ_QUARTER   2

Definition at line 87 of file exec_elf.h.

◆ ELF64_FSZ_SHALF

#define ELF64_FSZ_SHALF   4

Definition at line 67 of file exec_elf.h.

◆ ELF64_FSZ_SWORD

#define ELF64_FSZ_SWORD   8

Definition at line 76 of file exec_elf.h.

◆ ELF64_FSZ_WORD

#define ELF64_FSZ_WORD   8

Definition at line 78 of file exec_elf.h.

◆ ELF64_FSZ_XWORD [1/2]

#define ELF64_FSZ_XWORD   8

Definition at line 83 of file exec_elf.h.

◆ ELF64_FSZ_XWORD [2/2]

#define ELF64_FSZ_XWORD   8

Definition at line 83 of file exec_elf.h.

◆ ELF64_R_INFO

#define ELF64_R_INFO (   sym,
  type 
)    (((sym) << 32) + (type))

Definition at line 528 of file exec_elf.h.

◆ ELF64_R_SYM

#define ELF64_R_SYM (   info)    ((info) >> 32)

Definition at line 526 of file exec_elf.h.

◆ ELF64_R_TYPE

#define ELF64_R_TYPE (   info)    ((info) & 0xffffffff)

Definition at line 527 of file exec_elf.h.

◆ ELF64_ST_BIND

#define ELF64_ST_BIND (   info)    ((Elf64_Xword)(info) >> 4)

Definition at line 471 of file exec_elf.h.

◆ ELF64_ST_INFO

#define ELF64_ST_INFO (   bind,
  type 
)    ((Elf_Byte)(((bind) << 4) | ((type) & 0xf)))

Definition at line 473 of file exec_elf.h.

◆ ELF64_ST_TYPE

#define ELF64_ST_TYPE (   info)    ((Elf64_Xword)(info) & 0xf)

Definition at line 472 of file exec_elf.h.

◆ ELF_NIDENT

#define ELF_NIDENT   16

Definition at line 92 of file exec_elf.h.

◆ ELF_NOTE_GNU_DESCSZ

#define ELF_NOTE_GNU_DESCSZ   4

Definition at line 670 of file exec_elf.h.

◆ ELF_NOTE_GNU_NAME

#define ELF_NOTE_GNU_NAME   "GNU\0"

Definition at line 672 of file exec_elf.h.

◆ ELF_NOTE_GNU_NAMESZ

#define ELF_NOTE_GNU_NAMESZ   4

Definition at line 669 of file exec_elf.h.

◆ ELF_NOTE_GNU_OSLINUX

#define ELF_NOTE_GNU_OSLINUX   (u_int32_t)0x01000000

Definition at line 676 of file exec_elf.h.

◆ ELF_NOTE_GNU_OSMACH

#define ELF_NOTE_GNU_OSMACH   (u_int32_t)0x00000000

Definition at line 677 of file exec_elf.h.

◆ ELF_NOTE_GNU_OSMASK

#define ELF_NOTE_GNU_OSMASK   (u_int32_t)0xff000000

Definition at line 675 of file exec_elf.h.

◆ ELF_NOTE_NETBSD_DESCSZ

#define ELF_NOTE_NETBSD_DESCSZ   4

Definition at line 664 of file exec_elf.h.

◆ ELF_NOTE_NETBSD_NAME

#define ELF_NOTE_NETBSD_NAME   "NetBSD\0\0"

Definition at line 666 of file exec_elf.h.

◆ ELF_NOTE_NETBSD_NAMESZ

#define ELF_NOTE_NETBSD_NAMESZ   7

Definition at line 663 of file exec_elf.h.

◆ ELF_NOTE_NETBSD_TYPE_EMULNAME

#define ELF_NOTE_NETBSD_TYPE_EMULNAME   2

Definition at line 660 of file exec_elf.h.

◆ ELF_NOTE_NETBSD_TYPE_OSVERSION

#define ELF_NOTE_NETBSD_TYPE_OSVERSION   ELF_NOTE_TYPE_OSVERSION

Definition at line 657 of file exec_elf.h.

◆ ELF_NOTE_TYPE_OSVERSION

#define ELF_NOTE_TYPE_OSVERSION   1

Definition at line 654 of file exec_elf.h.

◆ ELF_SYM_UNDEFINED

#define ELF_SYM_UNDEFINED   0

Definition at line 440 of file exec_elf.h.

◆ ELFCLASS32

#define ELFCLASS32   1 /* 32-bit objects */

Definition at line 150 of file exec_elf.h.

◆ ELFCLASS64

#define ELFCLASS64   2 /* 64-bit objects */

Definition at line 151 of file exec_elf.h.

◆ ELFCLASSNONE

#define ELFCLASSNONE   0 /* Invalid class */

Definition at line 149 of file exec_elf.h.

◆ ELFCLASSNUM

#define ELFCLASSNUM   3

Definition at line 152 of file exec_elf.h.

◆ ELFDATA2LSB

#define ELFDATA2LSB   1 /* 2's complement values, LSB first */

Definition at line 156 of file exec_elf.h.

◆ ELFDATA2MSB

#define ELFDATA2MSB   2 /* 2's complement values, MSB first */

Definition at line 157 of file exec_elf.h.

◆ ELFDATANONE

#define ELFDATANONE   0 /* Invalid data encoding */

Definition at line 155 of file exec_elf.h.

◆ ELFMAG

#define ELFMAG   "\177ELF"

Definition at line 145 of file exec_elf.h.

◆ ELFMAG0

#define ELFMAG0   0x7f

Definition at line 141 of file exec_elf.h.

◆ ELFMAG1

#define ELFMAG1   'E'

Definition at line 142 of file exec_elf.h.

◆ ELFMAG2

#define ELFMAG2   'L'

Definition at line 143 of file exec_elf.h.

◆ ELFMAG3

#define ELFMAG3   'F'

Definition at line 144 of file exec_elf.h.

◆ ELFOSABI_86OPEN

#define ELFOSABI_86OPEN   5 /* 86Open */

Definition at line 170 of file exec_elf.h.

◆ ELFOSABI_AIX

#define ELFOSABI_AIX   ELFOSABI_MONTEREY

Definition at line 186 of file exec_elf.h.

◆ ELFOSABI_ARM

#define ELFOSABI_ARM   97 /* ARM */

Definition at line 182 of file exec_elf.h.

◆ ELFOSABI_AROS

#define ELFOSABI_AROS   15 /* Amiga Research OS */

Definition at line 180 of file exec_elf.h.

◆ ELFOSABI_FREEBSD

#define ELFOSABI_FREEBSD   9 /* FreeBSD */

Definition at line 174 of file exec_elf.h.

◆ ELFOSABI_HPUX

#define ELFOSABI_HPUX   1 /* HP-UX operating system */

Definition at line 166 of file exec_elf.h.

◆ ELFOSABI_HURD

#define ELFOSABI_HURD   4 /* GNU/Hurd */

Definition at line 169 of file exec_elf.h.

◆ ELFOSABI_IRIX

#define ELFOSABI_IRIX   8 /* IRIX */

Definition at line 173 of file exec_elf.h.

◆ ELFOSABI_LINUX

#define ELFOSABI_LINUX   3 /* GNU/Linux */

Definition at line 168 of file exec_elf.h.

◆ ELFOSABI_MODESTO

#define ELFOSABI_MODESTO   11 /* Novell Modesto */

Definition at line 176 of file exec_elf.h.

◆ ELFOSABI_MONTEREY

#define ELFOSABI_MONTEREY   7 /* Monterey */

Definition at line 172 of file exec_elf.h.

◆ ELFOSABI_NETBSD

#define ELFOSABI_NETBSD   2 /* NetBSD */

Definition at line 167 of file exec_elf.h.

◆ ELFOSABI_NONE

#define ELFOSABI_NONE   ELFOSABI_SYSV

Definition at line 185 of file exec_elf.h.

◆ ELFOSABI_NSK

#define ELFOSABI_NSK   14 /* HP Non-Stop Kernel */

Definition at line 179 of file exec_elf.h.

◆ ELFOSABI_OPENBSD

#define ELFOSABI_OPENBSD   12 /* OpenBSD */

Definition at line 177 of file exec_elf.h.

◆ ELFOSABI_OPENVMS

#define ELFOSABI_OPENVMS   13 /* OpenVMS */

Definition at line 178 of file exec_elf.h.

◆ ELFOSABI_SOLARIS

#define ELFOSABI_SOLARIS   6 /* Solaris */

Definition at line 171 of file exec_elf.h.

◆ ELFOSABI_STANDALONE

#define ELFOSABI_STANDALONE   255 /* Standalone (embedded) application */

Definition at line 183 of file exec_elf.h.

◆ ELFOSABI_SYSV

#define ELFOSABI_SYSV   0 /* UNIX System V ABI */

Definition at line 165 of file exec_elf.h.

◆ ELFOSABI_TRU64

#define ELFOSABI_TRU64   10 /* TRU64 UNIX */

Definition at line 175 of file exec_elf.h.

◆ EM_386

#define EM_386   3 /* Intel 80386 */

Definition at line 205 of file exec_elf.h.

◆ EM_486

#define EM_486   6 /* Intel 80486 [old] */

Definition at line 208 of file exec_elf.h.

◆ EM_68HC05

#define EM_68HC05   72 /* Motorola MC68HC05 Microcontroller */

Definition at line 261 of file exec_elf.h.

◆ EM_68HC08

#define EM_68HC08   71 /* Motorola MC68HC08 Microcontroller */

Definition at line 260 of file exec_elf.h.

◆ EM_68HC11

#define EM_68HC11   70 /* Motorola MC68HC11 Microcontroller */

Definition at line 259 of file exec_elf.h.

◆ EM_68HC12

#define EM_68HC12   53 /* Motorola MC68HC12 */

Definition at line 242 of file exec_elf.h.

◆ EM_68HC16

#define EM_68HC16   69 /* Motorola MC68HC16 Microcontroller */

Definition at line 258 of file exec_elf.h.

◆ EM_68K

#define EM_68K   4 /* Motorola 68000 */

Definition at line 206 of file exec_elf.h.

◆ EM_860

#define EM_860   7 /* Intel 80860 */

Definition at line 210 of file exec_elf.h.

◆ EM_88K

#define EM_88K   5 /* Motorola 88000 */

Definition at line 207 of file exec_elf.h.

◆ EM_960

#define EM_960   19 /* Intel 80960 */

Definition at line 220 of file exec_elf.h.

◆ EM_AARCH64

#define EM_AARCH64   183 /* AArch64 64-bit ARM microprocessor */

Definition at line 302 of file exec_elf.h.

◆ EM_ALPHA

#define EM_ALPHA   41 /* DIGITAL Alpha */

Definition at line 230 of file exec_elf.h.

◆ EM_ALTERA_NIOS2

#define EM_ALTERA_NIOS2   113 /* Altera Nios II soft-core processor */

Definition at line 301 of file exec_elf.h.

◆ EM_ARC

#define EM_ARC   45 /* Argonaut RISC Core */

Definition at line 234 of file exec_elf.h.

◆ EM_ARC_A5

#define EM_ARC_A5   93 /* ARC Cores Tangent-A5 */

Definition at line 283 of file exec_elf.h.

◆ EM_ARCA

#define EM_ARCA   109 /* Arca RISC microprocessor */

Definition at line 299 of file exec_elf.h.

◆ EM_ARM

#define EM_ARM   40 /* Advanced RISC Machines ARM */

Definition at line 229 of file exec_elf.h.

◆ EM_AVR

#define EM_AVR   83 /* Atmel AVR 8-bit microcontroller */

Definition at line 272 of file exec_elf.h.

◆ EM_AVR32

#define EM_AVR32   185 /* Atmel Corporation 32-bit microprocessor family*/

Definition at line 303 of file exec_elf.h.

◆ EM_BLACKFIN

#define EM_BLACKFIN   106 /* Analog Devices Blackfin DSP */

Definition at line 296 of file exec_elf.h.

◆ EM_COLDFIRE

#define EM_COLDFIRE   52 /* Motorola Coldfire */

Definition at line 241 of file exec_elf.h.

◆ EM_CR

#define EM_CR   103 /* National Semiconductor CompactRISC micorprocessor */

Definition at line 293 of file exec_elf.h.

◆ EM_CRIS

#define EM_CRIS   76 /* Axis Communications 32-bit embedded processor */

Definition at line 265 of file exec_elf.h.

◆ EM_D10V

#define EM_D10V   85 /* Mitsubishi D10V */

Definition at line 274 of file exec_elf.h.

◆ EM_D30V

#define EM_D30V   86 /* Mitsubishi D30V */

Definition at line 275 of file exec_elf.h.

◆ EM_F2MC16

#define EM_F2MC16   104 /* Fujitsu F2MC16 */

Definition at line 294 of file exec_elf.h.

◆ EM_FIREPATH

#define EM_FIREPATH   78 /* Element 14 64-bit DSP processor */

Definition at line 267 of file exec_elf.h.

◆ EM_FR20

#define EM_FR20   37 /* Fujitsu FR20 */

Definition at line 226 of file exec_elf.h.

◆ EM_FR30

#define EM_FR30   84 /* Fujitsu FR30 */

Definition at line 273 of file exec_elf.h.

◆ EM_FX66

#define EM_FX66   66 /* Siemens FX66 microcontroller */

Definition at line 255 of file exec_elf.h.

◆ EM_H8_300

#define EM_H8_300   46 /* Hitachi H8/300 */

Definition at line 235 of file exec_elf.h.

◆ EM_H8_300H

#define EM_H8_300H   47 /* Hitachi H8/300H */

Definition at line 236 of file exec_elf.h.

◆ EM_H8_500

#define EM_H8_500   49 /* Hitachi H8/500 */

Definition at line 238 of file exec_elf.h.

◆ EM_H8S

#define EM_H8S   48 /* Hitachi H8S */

Definition at line 237 of file exec_elf.h.

◆ EM_HUANY

#define EM_HUANY   81 /* Harvard's machine-independent format */

Definition at line 270 of file exec_elf.h.

◆ EM_IA_64

#define EM_IA_64   50 /* Intel Merced Processor */

Definition at line 239 of file exec_elf.h.

◆ EM_IAMCU

#define EM_IAMCU   6 /* Intel MCU. */

Definition at line 209 of file exec_elf.h.

◆ EM_IP2K

#define EM_IP2K   101 /* Ubicom IP2xxx microcontroller family */

Definition at line 291 of file exec_elf.h.

◆ EM_JAVELIN

#define EM_JAVELIN   77 /* Infineon Technologies 32-bit embedded CPU */

Definition at line 266 of file exec_elf.h.

◆ EM_M32

#define EM_M32   1 /* AT&T WE 32100 */

Definition at line 203 of file exec_elf.h.

◆ EM_M32R

#define EM_M32R   88 /* Mitsubishi M32R */

Definition at line 277 of file exec_elf.h.

◆ EM_MAX

#define EM_MAX   102 /* MAX processor */

Definition at line 292 of file exec_elf.h.

◆ EM_ME16

#define EM_ME16   59 /* Toyota ME16 processor */

Definition at line 248 of file exec_elf.h.

◆ EM_MICROBLAZE

#define EM_MICROBLAZE   189 /* Xilinx MicroBlaze 32-bit RISC soft processor core */

Definition at line 306 of file exec_elf.h.

◆ EM_MIPS

#define EM_MIPS   8 /* MIPS I Architecture */

Definition at line 211 of file exec_elf.h.

◆ EM_MIPS_RS3_LE

#define EM_MIPS_RS3_LE   10 /* MIPS RS3000 Little-endian */

Definition at line 213 of file exec_elf.h.

◆ EM_MIPS_X

#define EM_MIPS_X   51 /* Stanford MIPS-X */

Definition at line 240 of file exec_elf.h.

◆ EM_MMA

#define EM_MMA   54 /* Fujitsu MMA Multimedia Accelerator */

Definition at line 243 of file exec_elf.h.

◆ EM_MMIX

#define EM_MMIX   80 /* Donald Knuth's educational 64-bit processor */

Definition at line 269 of file exec_elf.h.

◆ EM_MN10200

#define EM_MN10200   90 /* Matsushita MN10200 */

Definition at line 279 of file exec_elf.h.

◆ EM_MN10300

#define EM_MN10300   89 /* Matsushita MN10300 */

Definition at line 278 of file exec_elf.h.

◆ EM_MSP430

#define EM_MSP430   105 /* Texas Instruments MSP430 */

Definition at line 295 of file exec_elf.h.

◆ EM_NCPU

#define EM_NCPU   56 /* Sony nCPU embedded RISC processor */

Definition at line 245 of file exec_elf.h.

◆ EM_NCUBE

#define EM_NCUBE   16 /* NCube XXX reserved */

Definition at line 217 of file exec_elf.h.

◆ EM_NDR1

#define EM_NDR1   57 /* Denso NDR1 microprocessor */

Definition at line 246 of file exec_elf.h.

◆ EM_NONE

#define EM_NONE   0 /* No machine */

Definition at line 202 of file exec_elf.h.

◆ EM_NS32K

#define EM_NS32K   97 /* National Semiconductor 32000 series */

Definition at line 287 of file exec_elf.h.

◆ EM_OPENRISC

#define EM_OPENRISC   EM_OR1K

Definition at line 282 of file exec_elf.h.

◆ EM_OR1K

#define EM_OR1K   92 /* OpenRISC 32-bit embedded processor */

Definition at line 281 of file exec_elf.h.

◆ EM_PARISC

#define EM_PARISC   15 /* Hewlett-Packard PA-RISC */

Definition at line 216 of file exec_elf.h.

◆ EM_PCP

#define EM_PCP   55 /* Siemens PCP */

Definition at line 244 of file exec_elf.h.

◆ EM_PDP10

#define EM_PDP10   64 /* Digital Equipment Corp. PDP-10 */

Definition at line 253 of file exec_elf.h.

◆ EM_PDP11

#define EM_PDP11   65 /* Digital Equipment Corp. PDP-11 */

Definition at line 254 of file exec_elf.h.

◆ EM_PDSP

#define EM_PDSP   63 /* Sony DSP Processor */

Definition at line 252 of file exec_elf.h.

◆ EM_PJ

#define EM_PJ   91 /* picoJava */

Definition at line 280 of file exec_elf.h.

◆ EM_PPC

#define EM_PPC   20 /* PowerPC */

Definition at line 221 of file exec_elf.h.

◆ EM_PPC64

#define EM_PPC64   21 /* 64-bit PowerPC */

Definition at line 222 of file exec_elf.h.

◆ EM_PRISM

#define EM_PRISM   82 /* SiTera Prism */

Definition at line 271 of file exec_elf.h.

◆ EM_RCE

#define EM_RCE   39 /* Motorola RCE */

Definition at line 228 of file exec_elf.h.

◆ EM_RH32

#define EM_RH32   38 /* TRW RH-32 */

Definition at line 227 of file exec_elf.h.

◆ EM_RISCV

#define EM_RISCV   243 /* RISC-V */

Definition at line 309 of file exec_elf.h.

◆ EM_RS6000

#define EM_RS6000   11 /* IBM RS/6000 XXX reserved */

Definition at line 215 of file exec_elf.h.

◆ EM_S370

#define EM_S370   9 /* Amdahl UTS on System/370 */

Definition at line 212 of file exec_elf.h.

◆ EM_S390

#define EM_S390   22 /* System/390 XXX reserved */

Definition at line 224 of file exec_elf.h.

◆ EM_SE_C33

#define EM_SE_C33   107 /* Seiko Epson S1C33 family */

Definition at line 297 of file exec_elf.h.

◆ EM_SEP

#define EM_SEP   108 /* Sharp embedded microprocessor */

Definition at line 298 of file exec_elf.h.

◆ EM_SH

#define EM_SH   42 /* Hitachi Super-H */

Definition at line 231 of file exec_elf.h.

◆ EM_SNP1K

#define EM_SNP1K   99 /* Trebia SNP 1000 processor */

Definition at line 289 of file exec_elf.h.

◆ EM_SPARC

#define EM_SPARC   2 /* SPARC */

Definition at line 204 of file exec_elf.h.

◆ EM_SPARC32PLUS

#define EM_SPARC32PLUS   18 /* Enhanced instruction set SPARC */

Definition at line 219 of file exec_elf.h.

◆ EM_SPARCV9

#define EM_SPARCV9   43 /* SPARC Version 9 */

Definition at line 232 of file exec_elf.h.

◆ EM_ST100

#define EM_ST100   60 /* STMicroelectronics ST100 processor */

Definition at line 249 of file exec_elf.h.

◆ EM_ST19

#define EM_ST19   74 /* STMicroelectronics ST19 8-bit CPU */

Definition at line 263 of file exec_elf.h.

◆ EM_ST200

#define EM_ST200   100 /* STMicroelectronics ST200 microcontroller */

Definition at line 290 of file exec_elf.h.

◆ EM_ST7

#define EM_ST7   68 /* STMicroelectronics ST7 8-bit microcontroller */

Definition at line 257 of file exec_elf.h.

◆ EM_ST9PLUS

#define EM_ST9PLUS   67 /* STMicroelectronics ST9+ 8/16 bit microcontroller */

Definition at line 256 of file exec_elf.h.

◆ EM_STARCORE

#define EM_STARCORE   58 /* Motorola Star*Core processor */

Definition at line 247 of file exec_elf.h.

◆ EM_SVX

#define EM_SVX   73 /* Silicon Graphics SVx */

Definition at line 262 of file exec_elf.h.

◆ EM_TILE64

#define EM_TILE64   187 /* Tilera TILE64 multicore architecture family */

Definition at line 304 of file exec_elf.h.

◆ EM_TILEGX

#define EM_TILEGX   192 /* Tilera TILE-GX multicore architecture family */

Definition at line 307 of file exec_elf.h.

◆ EM_TILEPRO

#define EM_TILEPRO   188 /* Tilera TILEPro multicore architecture family */

Definition at line 305 of file exec_elf.h.

◆ EM_TINYJ

#define EM_TINYJ   61 /* Advanced Logic Corp. TinyJ embedded family processor */

Definition at line 250 of file exec_elf.h.

◆ EM_TMM_GPP

#define EM_TMM_GPP   96 /* Thompson Multimedia General Purpose Processor */

Definition at line 286 of file exec_elf.h.

◆ EM_TPC

#define EM_TPC   98 /* Tenor Network TPC processor */

Definition at line 288 of file exec_elf.h.

◆ EM_TRICORE

#define EM_TRICORE   44 /* Siemens Tricore */

Definition at line 233 of file exec_elf.h.

◆ EM_UNICORE

#define EM_UNICORE   110 /* UNICORE from PKU-Unity Ltd. and MPRC Peking University */

Definition at line 300 of file exec_elf.h.

◆ EM_V800

#define EM_V800   36 /* NEC V800 */

Definition at line 225 of file exec_elf.h.

◆ EM_V850

#define EM_V850   87 /* NEC v850 */

Definition at line 276 of file exec_elf.h.

◆ EM_VAX

#define EM_VAX   75 /* Digital VAX */

Definition at line 264 of file exec_elf.h.

◆ EM_VIDEOCORE

#define EM_VIDEOCORE   95 /* Alphamosaic VideoCore processor */

Definition at line 285 of file exec_elf.h.

◆ EM_VPP500

#define EM_VPP500   17 /* Fujitsu VPP500 */

Definition at line 218 of file exec_elf.h.

◆ EM_X86_64

#define EM_X86_64   62 /* AMD x86-64 architecture */

Definition at line 251 of file exec_elf.h.

◆ EM_XTENSA

#define EM_XTENSA   94 /* Tensilica Xtensa Architecture */

Definition at line 284 of file exec_elf.h.

◆ EM_Z80

#define EM_Z80   220 /* Zilog Z80 */

Definition at line 308 of file exec_elf.h.

◆ EM_ZSP

#define EM_ZSP   79 /* LSI Logic's 16-bit DSP processor */

Definition at line 268 of file exec_elf.h.

◆ ET_CORE

#define ET_CORE   4 /* Core file */

Definition at line 193 of file exec_elf.h.

◆ ET_DYN

#define ET_DYN   3 /* Shared object file */

Definition at line 192 of file exec_elf.h.

◆ ET_EXEC

#define ET_EXEC   2 /* Executable file */

Definition at line 191 of file exec_elf.h.

◆ ET_HIOS

#define ET_HIOS   0xfeff

Definition at line 197 of file exec_elf.h.

◆ ET_HIPROC

#define ET_HIPROC   0xffff

Definition at line 199 of file exec_elf.h.

◆ ET_LOOS

#define ET_LOOS   0xfe00 /* Operating system specific range */

Definition at line 196 of file exec_elf.h.

◆ ET_LOPROC

#define ET_LOPROC   0xff00 /* Processor-specific range */

Definition at line 198 of file exec_elf.h.

◆ ET_NONE

#define ET_NONE   0 /* No file type */

Definition at line 189 of file exec_elf.h.

◆ ET_NUM

#define ET_NUM   5

Definition at line 194 of file exec_elf.h.

◆ ET_REL

#define ET_REL   1 /* Relocatable file */

Definition at line 190 of file exec_elf.h.

◆ EV_CURRENT

#define EV_CURRENT   1 /* Current version */

Definition at line 161 of file exec_elf.h.

◆ EV_NONE

#define EV_NONE   0 /* Invalid version */

Definition at line 160 of file exec_elf.h.

◆ EV_NUM

#define EV_NUM   2

Definition at line 162 of file exec_elf.h.

◆ PF_MASKOS

#define PF_MASKOS   0x0ff00000 /* Opersting system specific values */

Definition at line 351 of file exec_elf.h.

◆ PF_MASKPROC

#define PF_MASKPROC   0xf0000000 /* Processor-specific values */

Definition at line 352 of file exec_elf.h.

◆ PF_R

#define PF_R   0x4 /* Segment is readable */

Definition at line 347 of file exec_elf.h.

◆ PF_W

#define PF_W   0x2 /* Segment is writable */

Definition at line 348 of file exec_elf.h.

◆ PF_X

#define PF_X   0x1 /* Segment is executable */

Definition at line 349 of file exec_elf.h.

◆ PT_DYNAMIC

#define PT_DYNAMIC   2 /* Dynamic linking information */

Definition at line 339 of file exec_elf.h.

◆ PT_HIPROC

#define PT_HIPROC   0x7fffffff

Definition at line 355 of file exec_elf.h.

◆ PT_INTERP

#define PT_INTERP   3 /* Program interpreter */

Definition at line 340 of file exec_elf.h.

◆ PT_LOAD

#define PT_LOAD   1 /* Loadable program segment */

Definition at line 338 of file exec_elf.h.

◆ PT_LOPROC

#define PT_LOPROC   0x70000000 /* Processor-specific range */

Definition at line 354 of file exec_elf.h.

◆ PT_MIPS_REGINFO

#define PT_MIPS_REGINFO   0x70000000

Definition at line 357 of file exec_elf.h.

◆ PT_NOTE

#define PT_NOTE   4 /* Auxiliary information */

Definition at line 341 of file exec_elf.h.

◆ PT_NULL

#define PT_NULL   0 /* Program header table entry unused */

Definition at line 337 of file exec_elf.h.

◆ PT_NUM

#define PT_NUM   7

Definition at line 344 of file exec_elf.h.

◆ PT_PHDR

#define PT_PHDR   6 /* Entry for header table itself */

Definition at line 343 of file exec_elf.h.

◆ PT_SHLIB

#define PT_SHLIB   5 /* Reserved, unspecified semantics */

Definition at line 342 of file exec_elf.h.

◆ SELFMAG

#define SELFMAG   4

Definition at line 146 of file exec_elf.h.

◆ SHF_ALLOC

#define SHF_ALLOC   0x2 /* Section occupies memory */

Definition at line 412 of file exec_elf.h.

◆ SHF_EXECINSTR

#define SHF_EXECINSTR   0x4 /* Section contains executable insns */

Definition at line 413 of file exec_elf.h.

◆ SHF_MASKOS

#define SHF_MASKOS   0x0f000000 /* Operating system specific values */

Definition at line 415 of file exec_elf.h.

◆ SHF_MASKPROC

#define SHF_MASKPROC   0xf0000000 /* Processor-specific values */

Definition at line 416 of file exec_elf.h.

◆ SHF_WRITE

#define SHF_WRITE   0x1 /* Section contains writable data */

Definition at line 411 of file exec_elf.h.

◆ SHN_ABS

#define SHN_ABS   0xfff1 /* Absolute symbols */

Definition at line 481 of file exec_elf.h.

◆ SHN_COMMON

#define SHN_COMMON   0xfff2 /* Common symbols */

Definition at line 482 of file exec_elf.h.

◆ SHN_HIOS

#define SHN_HIOS   0xff3f

Definition at line 488 of file exec_elf.h.

◆ SHN_HIPROC

#define SHN_HIPROC   0xff1f

Definition at line 486 of file exec_elf.h.

◆ SHN_HIRESERVE

#define SHN_HIRESERVE   0xffff

Definition at line 483 of file exec_elf.h.

◆ SHN_LOOS

#define SHN_LOOS   0xff20 /* Operating system specific range */

Definition at line 487 of file exec_elf.h.

◆ SHN_LOPROC

#define SHN_LOPROC   0xff00 /* Processor-specific range */

Definition at line 485 of file exec_elf.h.

◆ SHN_LORESERVE

#define SHN_LORESERVE   0xff00 /* Reserved range */

Definition at line 480 of file exec_elf.h.

◆ SHN_MIPS_ACOMMON

#define SHN_MIPS_ACOMMON   0xff00

Definition at line 490 of file exec_elf.h.

◆ SHN_MIPS_DATA

#define SHN_MIPS_DATA   0xff02

Definition at line 492 of file exec_elf.h.

◆ SHN_MIPS_SCOMMON

#define SHN_MIPS_SCOMMON   0xff03

Definition at line 493 of file exec_elf.h.

◆ SHN_MIPS_TEXT

#define SHN_MIPS_TEXT   0xff01

Definition at line 491 of file exec_elf.h.

◆ SHN_UNDEF

#define SHN_UNDEF   0 /* Undefined section */

Definition at line 478 of file exec_elf.h.

◆ SHT_DYNAMIC

#define SHT_DYNAMIC   6

Definition at line 395 of file exec_elf.h.

◆ SHT_DYNSYM

#define SHT_DYNSYM   11

Definition at line 400 of file exec_elf.h.

◆ SHT_HASH

#define SHT_HASH   5

Definition at line 394 of file exec_elf.h.

◆ SHT_HIOS

#define SHT_HIOS   0x6fffffff

Definition at line 404 of file exec_elf.h.

◆ SHT_HIPROC

#define SHT_HIPROC   0x7fffffff

Definition at line 406 of file exec_elf.h.

◆ SHT_HIUSER

#define SHT_HIUSER   0xffffffff

Definition at line 408 of file exec_elf.h.

◆ SHT_LOOS

#define SHT_LOOS   0x60000000 /* Operating system specific range */

Definition at line 403 of file exec_elf.h.

◆ SHT_LOPROC

#define SHT_LOPROC   0x70000000 /* Processor-specific range */

Definition at line 405 of file exec_elf.h.

◆ SHT_LOUSER

#define SHT_LOUSER   0x80000000 /* Application-specific range */

Definition at line 407 of file exec_elf.h.

◆ SHT_NOBITS

#define SHT_NOBITS   8

Definition at line 397 of file exec_elf.h.

◆ SHT_NOTE

#define SHT_NOTE   7

Definition at line 396 of file exec_elf.h.

◆ SHT_NULL

#define SHT_NULL   0

Definition at line 389 of file exec_elf.h.

◆ SHT_NUM

#define SHT_NUM   12

Definition at line 401 of file exec_elf.h.

◆ SHT_PROGBITS

#define SHT_PROGBITS   1

Definition at line 390 of file exec_elf.h.

◆ SHT_REL

#define SHT_REL   9

Definition at line 398 of file exec_elf.h.

◆ SHT_RELA

#define SHT_RELA   4

Definition at line 393 of file exec_elf.h.

◆ SHT_SHLIB

#define SHT_SHLIB   10

Definition at line 399 of file exec_elf.h.

◆ SHT_STRTAB

#define SHT_STRTAB   3

Definition at line 392 of file exec_elf.h.

◆ SHT_SYMTAB

#define SHT_SYMTAB   2

Definition at line 391 of file exec_elf.h.

◆ STB_GLOBAL

#define STB_GLOBAL   1 /* global symbol */

Definition at line 444 of file exec_elf.h.

◆ STB_HIOS

#define STB_HIOS   12

Definition at line 449 of file exec_elf.h.

◆ STB_HIPROC

#define STB_HIPROC   15

Definition at line 451 of file exec_elf.h.

◆ STB_LOCAL

#define STB_LOCAL   0 /* local symbol */

Definition at line 443 of file exec_elf.h.

◆ STB_LOOS

#define STB_LOOS   10 /* Operating system specific range */

Definition at line 448 of file exec_elf.h.

◆ STB_LOPROC

#define STB_LOPROC   13 /* Processor-specific range */

Definition at line 450 of file exec_elf.h.

◆ STB_NUM

#define STB_NUM   3

Definition at line 446 of file exec_elf.h.

◆ STB_WEAK

#define STB_WEAK   2 /* weakly defined global symbol */

Definition at line 445 of file exec_elf.h.

◆ STT_FILE

#define STT_FILE   4 /* Associated with a file name */

Definition at line 458 of file exec_elf.h.

◆ STT_FUNC

#define STT_FUNC   2 /* Associated with a function */

Definition at line 456 of file exec_elf.h.

◆ STT_HIOS

#define STT_HIOS   12

Definition at line 462 of file exec_elf.h.

◆ STT_HIPROC

#define STT_HIPROC   15

Definition at line 464 of file exec_elf.h.

◆ STT_LOOS

#define STT_LOOS   10 /* Operating system specific range */

Definition at line 461 of file exec_elf.h.

◆ STT_LOPROC

#define STT_LOPROC   13 /* Processor-specific range */

Definition at line 463 of file exec_elf.h.

◆ STT_NOTYPE

#define STT_NOTYPE   0 /* Type not specified */

Definition at line 454 of file exec_elf.h.

◆ STT_NUM

#define STT_NUM   5

Definition at line 459 of file exec_elf.h.

◆ STT_OBJECT

#define STT_OBJECT   1 /* Associated with a data object */

Definition at line 455 of file exec_elf.h.

◆ STT_SECTION

#define STT_SECTION   3 /* Associated with a section */

Definition at line 457 of file exec_elf.h.

Typedef Documentation

◆ Elf32_Addr

typedef uint32_t Elf32_Addr

Definition at line 50 of file exec_elf.h.

◆ Elf32_Half

typedef uint16_t Elf32_Half

Definition at line 58 of file exec_elf.h.

◆ Elf32_Off

typedef uint32_t Elf32_Off

Definition at line 52 of file exec_elf.h.

◆ Elf32_Sword

typedef int32_t Elf32_Sword

Definition at line 54 of file exec_elf.h.

◆ Elf32_Word

typedef uint32_t Elf32_Word

Definition at line 56 of file exec_elf.h.

◆ Elf64_Addr

typedef uint64_t Elf64_Addr

Definition at line 61 of file exec_elf.h.

◆ Elf64_Half

typedef uint32_t Elf64_Half

Definition at line 83 of file exec_elf.h.

◆ Elf64_Off

typedef uint64_t Elf64_Off

Definition at line 63 of file exec_elf.h.

◆ Elf64_Quarter

typedef uint16_t Elf64_Quarter

Definition at line 85 of file exec_elf.h.

◆ Elf64_Shalf

typedef int32_t Elf64_Shalf

Definition at line 65 of file exec_elf.h.

◆ Elf64_Sword

typedef int64_t Elf64_Sword

Definition at line 74 of file exec_elf.h.

◆ Elf64_Sxword

typedef int64_t Elf64_Sxword

Definition at line 79 of file exec_elf.h.

◆ Elf64_Word

typedef uint64_t Elf64_Word

Definition at line 76 of file exec_elf.h.

◆ Elf64_Xword

typedef uint64_t Elf64_Xword

Definition at line 81 of file exec_elf.h.

◆ Elf_Byte

typedef uint8_t Elf_Byte

Definition at line 48 of file exec_elf.h.


Generated on Tue Aug 25 2020 19:25:06 for GXemul by doxygen 1.8.18