Rizin
unix-like reverse engineering framework and cli tools
common.h File Reference

Go to the source code of this file.

Macros

#define EI_MAG0   0 /* File identification byte 0 index */
 
#define ELFMAG0   0x7F /* Magic number byte 0 */
 
#define EI_MAG1   1 /* File identification byte 1 index */
 
#define ELFMAG1   'E' /* Magic number byte 1 */
 
#define EI_MAG2   2 /* File identification byte 2 index */
 
#define ELFMAG2   'L' /* Magic number byte 2 */
 
#define EI_MAG3   3 /* File identification byte 3 index */
 
#define ELFMAG3   'F' /* Magic number byte 3 */
 
#define EI_CLASS   4 /* File class */
 
#define ELFCLASSNONE   0 /* Invalid class */
 
#define ELFCLASS32   1 /* 32-bit objects */
 
#define ELFCLASS64   2 /* 64-bit objects */
 
#define EI_DATA   5 /* Data encoding */
 
#define ELFDATANONE   0 /* Invalid data encoding */
 
#define ELFDATA2LSB   1 /* 2's complement, little endian */
 
#define ELFDATA2MSB   2 /* 2's complement, big endian */
 
#define EI_VERSION   6 /* File version */
 
#define EI_OSABI   7 /* Operating System/ABI indication */
 
#define ELFOSABI_NONE   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_SOLARIS   6 /* Solaris */
 
#define ELFOSABI_AIX   7 /* AIX */
 
#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 /* Hewlett-Packard Non-Stop Kernel */
 
#define ELFOSABI_AROS   15 /* Amiga Research OS */
 
#define ELFOSABI_ARM   97 /* ARM */
 
#define ELFOSABI_STANDALONE   255 /* Standalone (embedded) application */
 
#define EI_ABIVERSION   8 /* ABI version */
 
#define EI_PAD   9 /* Start of padding bytes */
 
#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_LOOS   0xFE00 /* Operating system-specific */
 
#define ET_HIOS   0xFEFF /* Operating system-specific */
 
#define ET_LOPROC   0xFF00 /* Processor-specific */
 
#define ET_HIPROC   0xFFFF /* Processor-specific */
 
#define EM_NONE   0 /* No machine */
 
#define EM_M32   1 /* AT&T WE 32100 */
 
#define EM_SPARC   2 /* SUN SPARC */
 
#define EM_386   3 /* Intel 80386 */
 
#define EM_68K   4 /* Motorola m68k family */
 
#define EM_88K   5 /* Motorola m88k family */
 
#define EM_486   6 /* Intel 80486 */ /* Reserved for future use */
 
#define EM_860   7 /* Intel 80860 */
 
#define EM_MIPS   8 /* MIPS R3000 (officially, big-endian only) */
 
#define EM_S370   9 /* IBM System/370 */
 
#define EM_MIPS_RS3_LE   10 /* MIPS R3000 little-endian (Oct 4 1999 Draft) Deprecated */
 
#define EM_PARISC   15 /* HPPA */
 
#define EM_VPP550   17 /* Fujitsu VPP500 */
 
#define EM_SPARC32PLUS   18 /* Sun's "v8plus" */
 
#define EM_960   19 /* Intel 80960 */
 
#define EM_PPC   20 /* PowerPC */
 
#define EM_PPC64   21 /* 64-bit PowerPC */
 
#define EM_S390   22 /* IBM S/390 */
 
#define EM_SPU   23 /* Sony/Toshiba/IBM SPU */
 
#define EM_V800   36 /* NEC V800 series */
 
#define EM_FR20   37 /* Fujitsu FR20 */
 
#define EM_RH32   38 /* TRW RH32 */
 
#define EM_MCORE   39 /* Motorola M*Core */ /* May also be taken by Fujitsu MMA */
 
#define EM_RCE   39 /* Old name for MCore */
 
#define EM_ARM   40 /* ARM */
 
#define EM_OLD_ALPHA   41 /* Digital Alpha */
 
#define EM_SH   42 /* Renesas (formerly Hitachi) / SuperH SH */
 
#define EM_SPARCV9   43 /* SPARC v9 64-bit */
 
#define EM_TRICORE   44 /* Siemens Tricore embedded processor */
 
#define EM_ARC   45 /* ARC Cores */
 
#define EM_H8_300   46 /* Renesas (formerly Hitachi) H8/300 */
 
#define EM_H8_300H   47 /* Renesas (formerly Hitachi) H8/300H */
 
#define EM_H8S   48 /* Renesas (formerly Hitachi) H8S */
 
#define EM_H8_500   49 /* Renesas (formerly Hitachi) H8/500 */
 
#define EM_IA_64   50 /* Intel IA-64 Processor */
 
#define EM_MIPS_X   51 /* Stanford MIPS-X */
 
#define EM_COLDFIRE   52 /* Motorola Coldfire */
 
#define EM_68HC12   53 /* Motorola M68HC12 */
 
#define EM_MMA   54 /* Fujitsu Multimedia Accelerator */
 
#define EM_PCP   55 /* Siemens PCP */
 
#define EM_NCPU   56 /* Sony nCPU embedded RISC processor */
 
#define EM_NDR1   57 /* Denso NDR1 microprocesspr */
 
#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 processor */
 
#define EM_X86_64   62 /* Advanced Micro Devices X86-64 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 /* Renesas M32R (formerly Mitsubishi M32R) */
 
#define EM_MN10300   89 /* Matsushita MN10300 */
 
#define EM_MN10200   90 /* Matsushita MN10200 */
 
#define EM_PJ   91 /* picoJava */
 
#define EM_OPENRISC   92 /* OpenRISC 32-bit embedded processor */
 
#define EM_ARC_A5   93 /* ARC Cores Tangent-A5 */
 
#define EM_XTENSA   94 /* Tensilica Xtensa Architecture */
 
#define EM_IP2K   101 /* Ubicom IP2022 micro controller */
 
#define EM_CR   103 /* National Semiconductor CompactRISC */
 
#define EM_MSP430   105 /* TI msp430 micro controller */
 
#define EM_BLACKFIN   106 /* ADI Blackfin */
 
#define EM_ALTERA_NIOS2   113 /* Altera Nios II soft-core processor */
 
#define EM_CRX   114 /* National Semiconductor CRX */
 
#define EM_CR16   115 /* National Semiconductor CompactRISC - CR16 */
 
#define EM_SCORE   135 /* Sunplus Score */
 
#define EM_QDSP6   164 /* Qualcomm DSP6 */
 
#define EM_RISCV   243 /* RISC V */
 
#define EM_OLD_SPARCV9   11
 
#define EM_PPC_OLD   17
 
#define EM_PJ_OLD   99
 
#define EM_AVR_OLD   0x1057
 
#define EM_MSP430_OLD   0x1059
 
#define EM_MT   0x2530
 
#define EM_CYGNUS_FR30   0x3330
 
#define EM_OPENRISC_OLD   0x3426
 
#define EM_BA2_NON_STANDARD   0x8472
 
#define EM_DLX   0x5aa5
 
#define EM_CYGNUS_FRV   0x5441
 
#define EM_XC16X   0x4688
 
#define EM_CYGNUS_D10V   0x7650
 
#define EM_CYGNUS_D30V   0x7676
 
#define EM_IP2K_OLD   0x8217
 
#define EM_OR32   0x8472
 
#define EM_CYGNUS_POWERPC   0x9025
 
#define EM_ALPHA   0x9026
 
#define EM_CYGNUS_M32R   0x9041
 
#define EM_CYGNUS_V850   0x9080
 
#define EM_S390_OLD   0xa390
 
#define EM_XTENSA_OLD   0xabc7
 
#define EM_XSTORMY16   0xad45
 
#define EM_CYGNUS_MN10300   0xbeef
 
#define EM_CYGNUS_MN10200   0xdead
 
#define EM_M32C   0xFEB0
 
#define EM_IQ2000   0xFEBA
 
#define EM_NIOS32   0xFEBB
 
#define EM_CYGNUS_MEP   0xF00D /* Toshiba MeP */
 
#define EV_NONE   0 /* Invalid ELF version */
 
#define EV_CURRENT   1 /* Current version */
 
#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_TLS   7 /* Thread local storage segment */
 
#define PT_LOOS   0x60000000 /* OS-specific */
 
#define PT_HIOS   0x6fffffff /* OS-specific */
 
#define PT_LOPROC   0x70000000 /* Processor-specific */
 
#define PT_HIPROC   0x7FFFFFFF /* Processor-specific */
 
#define PT_GNU_EH_FRAME   (PT_LOOS + 0x474e550) /* Frame unwind information */
 
#define PT_SUNW_EH_FRAME   PT_GNU_EH_FRAME /* Solaris uses the same value */
 
#define PT_GNU_STACK   (PT_LOOS + 0x474e551) /* Stack flags */
 
#define PT_GNU_RELRO   (PT_LOOS + 0x474e552) /* Read-only after relocation */
 
#define PF_X   (1 << 0) /* Segment is executable */
 
#define PF_W   (1 << 1) /* Segment is writable */
 
#define PF_R   (1 << 2) /* Segment is readable */
 
#define PF_MASKOS   0x0FF00000 /* New value, Oct 4, 1999 Draft */
 
#define PF_MASKPROC   0xF0000000 /* Processor-specific reserved bits */
 
#define SHT_NULL   0 /* Section header table entry unused */
 
#define SHT_PROGBITS   1 /* Program specific (private) data */
 
#define SHT_SYMTAB   2 /* Link editing symbol table */
 
#define SHT_STRTAB   3 /* A string table */
 
#define SHT_RELA   4 /* Relocation entries with addends */
 
#define SHT_HASH   5 /* A symbol hash table */
 
#define SHT_DYNAMIC   6 /* Information for dynamic linking */
 
#define SHT_NOTE   7 /* Information that marks file */
 
#define SHT_NOBITS   8 /* Section occupies no space in file */
 
#define SHT_REL   9 /* Relocation entries, no addends */
 
#define SHT_SHLIB   10 /* Reserved, unspecified semantics */
 
#define SHT_DYNSYM   11 /* Dynamic linking symbol table */
 
#define SHT_INIT_ARRAY   14 /* Array of ptrs to init functions */
 
#define SHT_FINI_ARRAY   15 /* Array of ptrs to finish functions */
 
#define SHT_PREINIT_ARRAY   16 /* Array of ptrs to pre-init funcs */
 
#define SHT_GROUP   17 /* Section contains a section group */
 
#define SHT_SYMTAB_SHNDX   18 /* Indicies for SHN_XINDEX entries */
 
#define SHT_LOOS   0x60000000 /* First of OS specific semantics */
 
#define SHT_HIOS   0x6fffffff /* Last of OS specific semantics */
 
#define SHT_GNU_ATTRIBUTES   0x6ffffff5 /* Object attributes */
 
#define SHT_GNU_HASH   0x6ffffff6 /* GNU style symbol hash table */
 
#define SHT_GNU_LIBLIST   0x6ffffff7 /* List of prelink dependencies */
 
#define SHT_SUNW_verdef   0x6ffffffd /* Versions defined by file */
 
#define SHT_SUNW_verneed   0x6ffffffe /* Versions needed by file */
 
#define SHT_SUNW_versym   0x6fffffff /* Symbol versions */
 
#define SHT_GNU_verdef   SHT_SUNW_verdef
 
#define SHT_GNU_verneed   SHT_SUNW_verneed
 
#define SHT_GNU_versym   SHT_SUNW_versym
 
#define SHT_LOPROC   0x70000000 /* Processor-specific semantics, lo */
 
#define SHT_HIPROC   0x7FFFFFFF /* Processor-specific semantics, hi */
 
#define SHT_LOUSER   0x80000000 /* Application-specific semantics */
 
#define SHT_HIUSER   0xFFFFFFFF /* New value, defined in Oct 4, 1999 Draft */
 
#define SHF_WRITE   (1 << 0) /* Writable data during execution */
 
#define SHF_ALLOC   (1 << 1) /* Occupies memory during execution */
 
#define SHF_EXECINSTR   (1 << 2) /* Executable machine instructions */
 
#define SHF_MERGE   (1 << 4) /* Data in this section can be merged */
 
#define SHF_STRINGS   (1 << 5) /* Contains null terminated character strings */
 
#define SHF_INFO_LINK   (1 << 6) /* sh_info holds section header table index */
 
#define SHF_LINK_ORDER   (1 << 7) /* Preserve section ordering when linking */
 
#define SHF_OS_NONCONFORMING   (1 << 8) /* OS specific processing required */
 
#define SHF_GROUP   (1 << 9) /* Member of a section group */
 
#define SHF_TLS   (1 << 10) /* Thread local storage section */
 
#define SHF_MASKOS   0x0FF00000 /* New value, Oct 4, 1999 Draft */
 
#define SHF_MASKPROC   0xF0000000 /* Processor-specific semantics */
 
#define NT_PRSTATUS   1 /* Contains copy of prstatus struct */
 
#define NT_FPREGSET   2 /* Contains copy of fpregset struct */
 
#define NT_PRPSINFO   3 /* Contains copy of prpsinfo struct */
 
#define NT_TASKSTRUCT   4 /* Contains copy of task struct */
 
#define NT_AUXV   6 /* Contains copy of Elfxx_auxv_t */
 
#define NT_PRXFPREG   0x46e62b7f /* Contains a user_xfpregs_struct; */
 
#define NT_PSTATUS   10 /* Has a struct pstatus */
 
#define NT_FPREGS   12 /* Has a struct fpregset */
 
#define NT_PSINFO   13 /* Has a struct psinfo */
 
#define NT_LWPSTATUS   16 /* Has a struct lwpstatus_t */
 
#define NT_LWPSINFO   17 /* Has a struct lwpsinfo_t */
 
#define NT_WIN32PSTATUS   18 /* Has a struct win32_pstatus */
 
#define NT_NETBSDCORE_PROCINFO   1 /* Has a struct procinfo */
 
#define NT_NETBSDCORE_FIRSTMACH   32 /* start of machdep note types */
 
#define NT_SPU   1
 
#define NT_VERSION   1 /* Contains a version string. */
 
#define NT_ARCH   2 /* Contains an architecture string. */
 
#define NT_GNU_ABI_TAG   1
 
#define NT_GNU_HWCAP   2 /* Used by ld.so and kernel vDSO. */
 
#define NT_GNU_BUILD_ID   3 /* Generated by ld --build-id. */
 
#define GNU_ABI_TAG_LINUX   0
 
#define GNU_ABI_TAG_HURD   1
 
#define GNU_ABI_TAG_SOLARIS   2
 
#define GNU_ABI_TAG_FREEBSD   3
 
#define GNU_ABI_TAG_NETBSD   4
 
#define NT_NETBSD_IDENT   1
 
#define NT_OPENBSD_IDENT   1
 
#define NT_FREEBSD_ABI_TAG   1
 
#define ELF_ST_BIND(val)   (((unsigned int)(val)) >> 4)
 
#define ELF_ST_TYPE(val)   ((val)&0xF)
 
#define ELF_ST_INFO(bind, type)   (((bind) << 4) + ((type)&0xF))
 
#define ELF32_ST_BIND   ELF_ST_BIND
 
#define ELF32_ST_TYPE   ELF_ST_TYPE
 
#define ELF32_ST_INFO   ELF_ST_INFO
 
#define ELF64_ST_BIND   ELF_ST_BIND
 
#define ELF64_ST_TYPE   ELF_ST_TYPE
 
#define ELF64_ST_INFO   ELF_ST_INFO
 
#define ELF_ST_VISIBILITY(v)   ((v)&0x3)
 
#define ELF32_ST_VISIBILITY   ELF_ST_VISIBILITY
 
#define ELF64_ST_VISIBILITY   ELF_ST_VISIBILITY
 
#define STN_UNDEF   0 /* Undefined symbol index */
 
#define STB_LOCAL   0 /* Symbol not visible outside obj */
 
#define STB_GLOBAL   1 /* Symbol visible outside obj */
 
#define STB_WEAK   2 /* Like globals, lower precedence */
 
#define STB_LOOS   10 /* OS-specific semantics */
 
#define STB_HIOS   12 /* OS-specific semantics */
 
#define STB_LOPROC   13 /* Application-specific semantics */
 
#define STB_HIPROC   15 /* Application-specific semantics */
 
#define STT_NOTYPE   0 /* Symbol type is unspecified */
 
#define STT_OBJECT   1 /* Symbol is a data object */
 
#define STT_FUNC   2 /* Symbol is a code object */
 
#define STT_SECTION   3 /* Symbol associated with a section */
 
#define STT_FILE   4 /* Symbol gives a file name */
 
#define STT_COMMON   5 /* An uninitialised common block */
 
#define STT_TLS   6 /* Thread local data object */
 
#define STT_RELC   8 /* Complex relocation expression */
 
#define STT_SRELC   9 /* Signed Complex relocation expression */
 
#define STT_LOOS   10 /* OS-specific semantics */
 
#define STT_HIOS   12 /* OS-specific semantics */
 
#define STT_LOPROC   13 /* Application-specific semantics */
 
#define STT_HIPROC   15 /* Application-specific semantics */
 
#define SHN_UNDEF   0 /* Undefined section reference */
 
#define SHN_LORESERVE   0xFF00 /* Begin range of reserved indices */
 
#define SHN_LOPROC   0xFF00 /* Begin range of appl-specific */
 
#define SHN_HIPROC   0xFF1F /* End range of appl-specific */
 
#define SHN_LOOS   0xFF20 /* OS specific semantics, lo */
 
#define SHN_HIOS   0xFF3F /* OS specific semantics, hi */
 
#define SHN_ABS   0xFFF1 /* Associated symbol is absolute */
 
#define SHN_COMMON   0xFFF2 /* Associated symbol is in common */
 
#define SHN_XINDEX   0xFFFF /* Section index is held elsewhere */
 
#define SHN_HIRESERVE   0xFFFF /* End range of reserved indices */
 
#define SHN_BAD   ((unsigned)-1) /* Used internally by bfd */
 
#define STV_DEFAULT   0 /* Visibility is specified by binding type */
 
#define STV_INTERNAL   1 /* OS specific version of STV_HIDDEN */
 
#define STV_HIDDEN   2 /* Can only be seen inside currect component */
 
#define STV_PROTECTED   3 /* Treat as STB_LOCAL inside current component */
 
#define ELF32_R_SYM(i)   ((i) >> 8)
 
#define ELF32_R_TYPE(i)   ((i)&0xff)
 
#define ELF32_R_INFO(s, t)   (((s) << 8) + ((t)&0xff))
 
#define ELF64_R_SYM(i)   ((i) >> 32)
 
#define ELF64_R_TYPE(i)   ((i)&0xffffffff)
 
#define ELF64_R_INFO(s, t)   (((bfd_vma)(s) << 31 << 1) + (bfd_vma)(t))
 
#define DT_NULL   0
 
#define DT_NEEDED   1
 
#define DT_PLTRELSZ   2
 
#define DT_PLTGOT   3
 
#define DT_HASH   4
 
#define DT_STRTAB   5
 
#define DT_SYMTAB   6
 
#define DT_RELA   7
 
#define DT_RELASZ   8
 
#define DT_RELAENT   9
 
#define DT_STRSZ   10
 
#define DT_SYMENT   11
 
#define DT_INIT   12
 
#define DT_FINI   13
 
#define DT_SONAME   14
 
#define DT_RPATH   15
 
#define DT_SYMBOLIC   16
 
#define DT_REL   17
 
#define DT_RELSZ   18
 
#define DT_RELENT   19
 
#define DT_PLTREL   20
 
#define DT_DEBUG   21
 
#define DT_TEXTREL   22
 
#define DT_JMPREL   23
 
#define DT_BIND_NOW   24
 
#define DT_INIT_ARRAY   25
 
#define DT_FINI_ARRAY   26
 
#define DT_INIT_ARRAYSZ   27
 
#define DT_FINI_ARRAYSZ   28
 
#define DT_RUNPATH   29
 
#define DT_FLAGS   30
 
#define DT_ENCODING   32
 
#define DT_PREINIT_ARRAY   32
 
#define DT_PREINIT_ARRAYSZ   33
 
#define OLD_DT_LOOS   0x60000000
 
#define DT_LOOS   0x6000000d
 
#define DT_HIOS   0x6ffff000
 
#define OLD_DT_HIOS   0x6fffffff
 
#define DT_LOPROC   0x70000000
 
#define DT_HIPROC   0x7fffffff
 
#define DT_VALRNGLO   0x6ffffd00
 
#define DT_GNU_PRELINKED   0x6ffffdf5
 
#define DT_GNU_CONFLICTSZ   0x6ffffdf6
 
#define DT_GNU_LIBLISTSZ   0x6ffffdf7
 
#define DT_CHECKSUM   0x6ffffdf8
 
#define DT_PLTPADSZ   0x6ffffdf9
 
#define DT_MOVEENT   0x6ffffdfa
 
#define DT_MOVESZ   0x6ffffdfb
 
#define DT_FEATURE   0x6ffffdfc
 
#define DT_POSFLAG_1   0x6ffffdfd
 
#define DT_SYMINSZ   0x6ffffdfe
 
#define DT_SYMINENT   0x6ffffdff
 
#define DT_VALRNGHI   0x6ffffdff
 
#define DT_ADDRRNGLO   0x6ffffe00
 
#define DT_GNU_HASH   0x6ffffef5
 
#define DT_TLSDESC_PLT   0x6ffffef6
 
#define DT_TLSDESC_GOT   0x6ffffef7
 
#define DT_GNU_CONFLICT   0x6ffffef8
 
#define DT_GNU_LIBLIST   0x6ffffef9
 
#define DT_CONFIG   0x6ffffefa
 
#define DT_DEPAUDIT   0x6ffffefb
 
#define DT_AUDIT   0x6ffffefc
 
#define DT_PLTPAD   0x6ffffefd
 
#define DT_MOVETAB   0x6ffffefe
 
#define DT_SYMINFO   0x6ffffeff
 
#define DT_ADDRRNGHI   0x6ffffeff
 
#define DT_RELACOUNT   0x6ffffff9
 
#define DT_RELCOUNT   0x6ffffffa
 
#define DT_FLAGS_1   0x6ffffffb
 
#define DT_VERDEF   0x6ffffffc
 
#define DT_VERDEFNUM   0x6ffffffd
 
#define DT_VERNEED   0x6ffffffe
 
#define DT_VERNEEDNUM   0x6fffffff
 
#define DT_VERSYM   0x6ffffff0
 
#define DT_LOPROC   0x70000000
 
#define DT_HIPROC   0x7fffffff
 
#define DT_AUXILIARY   0x7ffffffd
 
#define DT_USED   0x7ffffffe
 
#define DT_FILTER   0x7fffffff
 
#define DTF_1_PARINIT   0x00000001
 
#define DTF_1_CONFEXP   0x00000002
 
#define DF_P1_LAZYLOAD   0x00000001
 
#define DF_P1_GROUPPERM   0x00000002
 
#define DF_1_NOW   0x00000001
 
#define DF_1_GLOBAL   0x00000002
 
#define DF_1_GROUP   0x00000004
 
#define DF_1_NODELETE   0x00000008
 
#define DF_1_LOADFLTR   0x00000010
 
#define DF_1_INITFIRST   0x00000020
 
#define DF_1_NOOPEN   0x00000040
 
#define DF_1_ORIGIN   0x00000080
 
#define DF_1_DIRECT   0x00000100
 
#define DF_1_TRANS   0x00000200
 
#define DF_1_INTERPOSE   0x00000400
 
#define DF_1_NODEFLIB   0x00000800
 
#define DF_1_NODUMP   0x00001000
 
#define DF_1_CONLFAT   0x00002000
 
#define DF_ORIGIN   (1 << 0)
 
#define DF_SYMBOLIC   (1 << 1)
 
#define DF_TEXTREL   (1 << 2)
 
#define DF_BIND_NOW   (1 << 3)
 
#define DF_STATIC_TLS   (1 << 4)
 
#define VER_DEF_NONE   0
 
#define VER_DEF_CURRENT   1
 
#define VER_FLG_BASE   0x1
 
#define VER_FLG_WEAK   0x2
 
#define VER_NDX_LOCAL   0
 
#define VER_NDX_GLOBAL   1
 
#define VER_NEED_NONE   0
 
#define VER_NEED_CURRENT   1
 
#define VERSYM_HIDDEN   0x8000
 
#define VERSYM_VERSION   0x7fff
 
#define ELF_VER_CHR   '@'
 
#define SYMINFO_BT_SELF   0xffff /* Symbol bound to self */
 
#define SYMINFO_BT_PARENT   0xfffe /* Symbol bound to parent */
 
#define SYMINFO_BT_LOWRESERVE   0xff00 /* Beginning of reserved entries */
 
#define SYMINFO_FLG_DIRECT   0x0001 /* Direct bound symbol */
 
#define SYMINFO_FLG_PASSTHRU   0x0002 /* Pass-thru symbol for translator */
 
#define SYMINFO_FLG_COPY   0x0004 /* Symbol is a copy-reloc */
 
#define SYMINFO_FLG_LAZYLOAD   0x0008 /* Symbol bound to object to be lazy loaded */
 
#define SYMINFO_NONE   0
 
#define SYMINFO_CURRENT   1
 
#define SYMINFO_NUM   2
 
#define GRP_COMDAT   0x1 /* A COMDAT group */
 
#define AT_NULL   0 /* End of vector */
 
#define AT_IGNORE   1 /* Entry should be ignored */
 
#define AT_EXECFD   2 /* File descriptor of program */
 
#define AT_PHDR   3 /* Program headers for program */
 
#define AT_PHENT   4 /* Size of program header entry */
 
#define AT_PHNUM   5 /* Number of program headers */
 
#define AT_PAGESZ   6 /* System page size */
 
#define AT_BASE   7 /* Base address of interpreter */
 
#define AT_FLAGS   8 /* Flags */
 
#define AT_ENTRY   9 /* Entry point of program */
 
#define AT_NOTELF   10 /* Program is not ELF */
 
#define AT_UID   11 /* Real uid */
 
#define AT_EUID   12 /* Effective uid */
 
#define AT_GID   13 /* Real gid */
 
#define AT_EGID   14 /* Effective gid */
 
#define AT_CLKTCK   17 /* Frequency of times() */
 
#define AT_PLATFORM   15 /* String identifying platform. */
 
#define AT_HWCAP
 
#define AT_FPUCW   18 /* Used FPU control word. */
 
#define AT_DCACHEBSIZE   19 /* Data cache block size. */
 
#define AT_ICACHEBSIZE   20 /* Instruction cache block size. */
 
#define AT_UCACHEBSIZE   21 /* Unified cache block size. */
 
#define AT_IGNOREPPC   22 /* Entry should be ignored */
 
#define AT_SECURE   23 /* Boolean, was exec setuid-like? */
 
#define AT_SYSINFO   32
 
#define AT_SYSINFO_EHDR   33 /* Pointer to ELF header of system-supplied DSO. */
 
#define AT_SUN_UID   2000 /* Effective user ID. */
 
#define AT_SUN_RUID   2001 /* Real user ID. */
 
#define AT_SUN_GID   2002 /* Effective group ID. */
 
#define AT_SUN_RGID   2003 /* Real group ID. */
 
#define AT_SUN_LDELF   2004 /* Dynamic linker's ELF header. */
 
#define AT_SUN_LDSHDR   2005 /* Dynamic linker's section headers. */
 
#define AT_SUN_LDNAME   2006 /* String giving name of dynamic linker. */
 
#define AT_SUN_LPAGESZ   2007 /* Large pagesize. */
 
#define AT_SUN_PLATFORM   2008 /* Platform name string. */
 
#define AT_SUN_HWCAP
 
#define AT_SUN_IFLUSH   2010 /* Should flush icache? */
 
#define AT_SUN_CPU   2011 /* CPU name string. */
 
#define AT_SUN_EMUL_ENTRY   2012 /* COFF entry point address. */
 
#define AT_SUN_EMUL_EXECFD   2013 /* COFF executable file descriptor. */
 
#define AT_SUN_EXECNAME   2014 /* Canonicalized file name given to execve. */
 
#define AT_SUN_MMU   2015 /* String for name of MMU module. */
 
#define AT_SUN_LDDATA   2016 /* Dynamic linker's data segment address. */
 

Macro Definition Documentation

◆ AT_BASE

#define AT_BASE   7 /* Base address of interpreter */

Definition at line 746 of file common.h.

◆ AT_CLKTCK

#define AT_CLKTCK   17 /* Frequency of times() */

Definition at line 754 of file common.h.

◆ AT_DCACHEBSIZE

#define AT_DCACHEBSIZE   19 /* Data cache block size. */

Definition at line 758 of file common.h.

◆ AT_EGID

#define AT_EGID   14 /* Effective gid */

Definition at line 753 of file common.h.

◆ AT_ENTRY

#define AT_ENTRY   9 /* Entry point of program */

Definition at line 748 of file common.h.

◆ AT_EUID

#define AT_EUID   12 /* Effective uid */

Definition at line 751 of file common.h.

◆ AT_EXECFD

#define AT_EXECFD   2 /* File descriptor of program */

Definition at line 741 of file common.h.

◆ AT_FLAGS

#define AT_FLAGS   8 /* Flags */

Definition at line 747 of file common.h.

◆ AT_FPUCW

#define AT_FPUCW   18 /* Used FPU control word. */

Definition at line 757 of file common.h.

◆ AT_GID

#define AT_GID   13 /* Real gid */

Definition at line 752 of file common.h.

◆ AT_HWCAP

#define AT_HWCAP
Value:
16 /* Machine dependent hints about \
processor capabilities. */

Definition at line 756 of file common.h.

◆ AT_ICACHEBSIZE

#define AT_ICACHEBSIZE   20 /* Instruction cache block size. */

Definition at line 759 of file common.h.

◆ AT_IGNORE

#define AT_IGNORE   1 /* Entry should be ignored */

Definition at line 740 of file common.h.

◆ AT_IGNOREPPC

#define AT_IGNOREPPC   22 /* Entry should be ignored */

Definition at line 761 of file common.h.

◆ AT_NOTELF

#define AT_NOTELF   10 /* Program is not ELF */

Definition at line 749 of file common.h.

◆ AT_NULL

#define AT_NULL   0 /* End of vector */

Definition at line 739 of file common.h.

◆ AT_PAGESZ

#define AT_PAGESZ   6 /* System page size */

Definition at line 745 of file common.h.

◆ AT_PHDR

#define AT_PHDR   3 /* Program headers for program */

Definition at line 742 of file common.h.

◆ AT_PHENT

#define AT_PHENT   4 /* Size of program header entry */

Definition at line 743 of file common.h.

◆ AT_PHNUM

#define AT_PHNUM   5 /* Number of program headers */

Definition at line 744 of file common.h.

◆ AT_PLATFORM

#define AT_PLATFORM   15 /* String identifying platform. */

Definition at line 755 of file common.h.

◆ AT_SECURE

#define AT_SECURE   23 /* Boolean, was exec setuid-like? */

Definition at line 762 of file common.h.

◆ AT_SUN_CPU

#define AT_SUN_CPU   2011 /* CPU name string. */

Definition at line 779 of file common.h.

◆ AT_SUN_EMUL_ENTRY

#define AT_SUN_EMUL_ENTRY   2012 /* COFF entry point address. */

Definition at line 780 of file common.h.

◆ AT_SUN_EMUL_EXECFD

#define AT_SUN_EMUL_EXECFD   2013 /* COFF executable file descriptor. */

Definition at line 781 of file common.h.

◆ AT_SUN_EXECNAME

#define AT_SUN_EXECNAME   2014 /* Canonicalized file name given to execve. */

Definition at line 782 of file common.h.

◆ AT_SUN_GID

#define AT_SUN_GID   2002 /* Effective group ID. */

Definition at line 770 of file common.h.

◆ AT_SUN_HWCAP

#define AT_SUN_HWCAP
Value:
2009 /* Machine dependent hints about \
processor capabilities. */

Definition at line 777 of file common.h.

◆ AT_SUN_IFLUSH

#define AT_SUN_IFLUSH   2010 /* Should flush icache? */

Definition at line 778 of file common.h.

◆ AT_SUN_LDDATA

#define AT_SUN_LDDATA   2016 /* Dynamic linker's data segment address. */

Definition at line 784 of file common.h.

◆ AT_SUN_LDELF

#define AT_SUN_LDELF   2004 /* Dynamic linker's ELF header. */

Definition at line 772 of file common.h.

◆ AT_SUN_LDNAME

#define AT_SUN_LDNAME   2006 /* String giving name of dynamic linker. */

Definition at line 774 of file common.h.

◆ AT_SUN_LDSHDR

#define AT_SUN_LDSHDR   2005 /* Dynamic linker's section headers. */

Definition at line 773 of file common.h.

◆ AT_SUN_LPAGESZ

#define AT_SUN_LPAGESZ   2007 /* Large pagesize. */

Definition at line 775 of file common.h.

◆ AT_SUN_MMU

#define AT_SUN_MMU   2015 /* String for name of MMU module. */

Definition at line 783 of file common.h.

◆ AT_SUN_PLATFORM

#define AT_SUN_PLATFORM   2008 /* Platform name string. */

Definition at line 776 of file common.h.

◆ AT_SUN_RGID

#define AT_SUN_RGID   2003 /* Real group ID. */

Definition at line 771 of file common.h.

◆ AT_SUN_RUID

#define AT_SUN_RUID   2001 /* Real user ID. */

Definition at line 769 of file common.h.

◆ AT_SUN_UID

#define AT_SUN_UID   2000 /* Effective user ID. */

Definition at line 768 of file common.h.

◆ AT_SYSINFO

#define AT_SYSINFO   32

Definition at line 765 of file common.h.

◆ AT_SYSINFO_EHDR

#define AT_SYSINFO_EHDR   33 /* Pointer to ELF header of system-supplied DSO. */

Definition at line 766 of file common.h.

◆ AT_UCACHEBSIZE

#define AT_UCACHEBSIZE   21 /* Unified cache block size. */

Definition at line 760 of file common.h.

◆ AT_UID

#define AT_UID   11 /* Real uid */

Definition at line 750 of file common.h.

◆ DF_1_CONLFAT

#define DF_1_CONLFAT   0x00002000

Definition at line 664 of file common.h.

◆ DF_1_DIRECT

#define DF_1_DIRECT   0x00000100

Definition at line 659 of file common.h.

◆ DF_1_GLOBAL

#define DF_1_GLOBAL   0x00000002

Definition at line 652 of file common.h.

◆ DF_1_GROUP

#define DF_1_GROUP   0x00000004

Definition at line 653 of file common.h.

◆ DF_1_INITFIRST

#define DF_1_INITFIRST   0x00000020

Definition at line 656 of file common.h.

◆ DF_1_INTERPOSE

#define DF_1_INTERPOSE   0x00000400

Definition at line 661 of file common.h.

◆ DF_1_LOADFLTR

#define DF_1_LOADFLTR   0x00000010

Definition at line 655 of file common.h.

◆ DF_1_NODEFLIB

#define DF_1_NODEFLIB   0x00000800

Definition at line 662 of file common.h.

◆ DF_1_NODELETE

#define DF_1_NODELETE   0x00000008

Definition at line 654 of file common.h.

◆ DF_1_NODUMP

#define DF_1_NODUMP   0x00001000

Definition at line 663 of file common.h.

◆ DF_1_NOOPEN

#define DF_1_NOOPEN   0x00000040

Definition at line 657 of file common.h.

◆ DF_1_NOW

#define DF_1_NOW   0x00000001

Definition at line 651 of file common.h.

◆ DF_1_ORIGIN

#define DF_1_ORIGIN   0x00000080

Definition at line 658 of file common.h.

◆ DF_1_TRANS

#define DF_1_TRANS   0x00000200

Definition at line 660 of file common.h.

◆ DF_BIND_NOW

#define DF_BIND_NOW   (1 << 3)

Definition at line 670 of file common.h.

◆ DF_ORIGIN

#define DF_ORIGIN   (1 << 0)

Definition at line 667 of file common.h.

◆ DF_P1_GROUPPERM

#define DF_P1_GROUPPERM   0x00000002

Definition at line 648 of file common.h.

◆ DF_P1_LAZYLOAD

#define DF_P1_LAZYLOAD   0x00000001

Definition at line 647 of file common.h.

◆ DF_STATIC_TLS

#define DF_STATIC_TLS   (1 << 4)

Definition at line 671 of file common.h.

◆ DF_SYMBOLIC

#define DF_SYMBOLIC   (1 << 1)

Definition at line 668 of file common.h.

◆ DF_TEXTREL

#define DF_TEXTREL   (1 << 2)

Definition at line 669 of file common.h.

◆ DT_ADDRRNGHI

#define DT_ADDRRNGHI   0x6ffffeff

Definition at line 613 of file common.h.

◆ DT_ADDRRNGLO

#define DT_ADDRRNGLO   0x6ffffe00

Definition at line 601 of file common.h.

◆ DT_AUDIT

#define DT_AUDIT   0x6ffffefc

Definition at line 609 of file common.h.

◆ DT_AUXILIARY

#define DT_AUXILIARY   0x7ffffffd

Definition at line 632 of file common.h.

◆ DT_BIND_NOW

#define DT_BIND_NOW   24

Definition at line 561 of file common.h.

◆ DT_CHECKSUM

#define DT_CHECKSUM   0x6ffffdf8

Definition at line 591 of file common.h.

◆ DT_CONFIG

#define DT_CONFIG   0x6ffffefa

Definition at line 607 of file common.h.

◆ DT_DEBUG

#define DT_DEBUG   21

Definition at line 558 of file common.h.

◆ DT_DEPAUDIT

#define DT_DEPAUDIT   0x6ffffefb

Definition at line 608 of file common.h.

◆ DT_ENCODING

#define DT_ENCODING   32

Definition at line 568 of file common.h.

◆ DT_FEATURE

#define DT_FEATURE   0x6ffffdfc

Definition at line 595 of file common.h.

◆ DT_FILTER

#define DT_FILTER   0x7fffffff

Definition at line 634 of file common.h.

◆ DT_FINI

#define DT_FINI   13

Definition at line 550 of file common.h.

◆ DT_FINI_ARRAY

#define DT_FINI_ARRAY   26

Definition at line 563 of file common.h.

◆ DT_FINI_ARRAYSZ

#define DT_FINI_ARRAYSZ   28

Definition at line 565 of file common.h.

◆ DT_FLAGS

#define DT_FLAGS   30

Definition at line 567 of file common.h.

◆ DT_FLAGS_1

#define DT_FLAGS_1   0x6ffffffb

Definition at line 617 of file common.h.

◆ DT_GNU_CONFLICT

#define DT_GNU_CONFLICT   0x6ffffef8

Definition at line 605 of file common.h.

◆ DT_GNU_CONFLICTSZ

#define DT_GNU_CONFLICTSZ   0x6ffffdf6

Definition at line 589 of file common.h.

◆ DT_GNU_HASH

#define DT_GNU_HASH   0x6ffffef5

Definition at line 602 of file common.h.

◆ DT_GNU_LIBLIST

#define DT_GNU_LIBLIST   0x6ffffef9

Definition at line 606 of file common.h.

◆ DT_GNU_LIBLISTSZ

#define DT_GNU_LIBLISTSZ   0x6ffffdf7

Definition at line 590 of file common.h.

◆ DT_GNU_PRELINKED

#define DT_GNU_PRELINKED   0x6ffffdf5

Definition at line 588 of file common.h.

◆ DT_HASH

#define DT_HASH   4

Definition at line 541 of file common.h.

◆ DT_HIOS

#define DT_HIOS   0x6ffff000

Definition at line 577 of file common.h.

◆ DT_HIPROC [1/2]

#define DT_HIPROC   0x7fffffff

Definition at line 627 of file common.h.

◆ DT_HIPROC [2/2]

#define DT_HIPROC   0x7fffffff

Definition at line 627 of file common.h.

◆ DT_INIT

#define DT_INIT   12

Definition at line 549 of file common.h.

◆ DT_INIT_ARRAY

#define DT_INIT_ARRAY   25

Definition at line 562 of file common.h.

◆ DT_INIT_ARRAYSZ

#define DT_INIT_ARRAYSZ   27

Definition at line 564 of file common.h.

◆ DT_JMPREL

#define DT_JMPREL   23

Definition at line 560 of file common.h.

◆ DT_LOOS

#define DT_LOOS   0x6000000d

Definition at line 576 of file common.h.

◆ DT_LOPROC [1/2]

#define DT_LOPROC   0x70000000

Definition at line 626 of file common.h.

◆ DT_LOPROC [2/2]

#define DT_LOPROC   0x70000000

Definition at line 626 of file common.h.

◆ DT_MOVEENT

#define DT_MOVEENT   0x6ffffdfa

Definition at line 593 of file common.h.

◆ DT_MOVESZ

#define DT_MOVESZ   0x6ffffdfb

Definition at line 594 of file common.h.

◆ DT_MOVETAB

#define DT_MOVETAB   0x6ffffefe

Definition at line 611 of file common.h.

◆ DT_NEEDED

#define DT_NEEDED   1

Definition at line 538 of file common.h.

◆ DT_NULL

#define DT_NULL   0

Definition at line 537 of file common.h.

◆ DT_PLTGOT

#define DT_PLTGOT   3

Definition at line 540 of file common.h.

◆ DT_PLTPAD

#define DT_PLTPAD   0x6ffffefd

Definition at line 610 of file common.h.

◆ DT_PLTPADSZ

#define DT_PLTPADSZ   0x6ffffdf9

Definition at line 592 of file common.h.

◆ DT_PLTREL

#define DT_PLTREL   20

Definition at line 557 of file common.h.

◆ DT_PLTRELSZ

#define DT_PLTRELSZ   2

Definition at line 539 of file common.h.

◆ DT_POSFLAG_1

#define DT_POSFLAG_1   0x6ffffdfd

Definition at line 596 of file common.h.

◆ DT_PREINIT_ARRAY

#define DT_PREINIT_ARRAY   32

Definition at line 569 of file common.h.

◆ DT_PREINIT_ARRAYSZ

#define DT_PREINIT_ARRAYSZ   33

Definition at line 570 of file common.h.

◆ DT_REL

#define DT_REL   17

Definition at line 554 of file common.h.

◆ DT_RELA

#define DT_RELA   7

Definition at line 544 of file common.h.

◆ DT_RELACOUNT

#define DT_RELACOUNT   0x6ffffff9

Definition at line 615 of file common.h.

◆ DT_RELAENT

#define DT_RELAENT   9

Definition at line 546 of file common.h.

◆ DT_RELASZ

#define DT_RELASZ   8

Definition at line 545 of file common.h.

◆ DT_RELCOUNT

#define DT_RELCOUNT   0x6ffffffa

Definition at line 616 of file common.h.

◆ DT_RELENT

#define DT_RELENT   19

Definition at line 556 of file common.h.

◆ DT_RELSZ

#define DT_RELSZ   18

Definition at line 555 of file common.h.

◆ DT_RPATH

#define DT_RPATH   15

Definition at line 552 of file common.h.

◆ DT_RUNPATH

#define DT_RUNPATH   29

Definition at line 566 of file common.h.

◆ DT_SONAME

#define DT_SONAME   14

Definition at line 551 of file common.h.

◆ DT_STRSZ

#define DT_STRSZ   10

Definition at line 547 of file common.h.

◆ DT_STRTAB

#define DT_STRTAB   5

Definition at line 542 of file common.h.

◆ DT_SYMBOLIC

#define DT_SYMBOLIC   16

Definition at line 553 of file common.h.

◆ DT_SYMENT

#define DT_SYMENT   11

Definition at line 548 of file common.h.

◆ DT_SYMINENT

#define DT_SYMINENT   0x6ffffdff

Definition at line 598 of file common.h.

◆ DT_SYMINFO

#define DT_SYMINFO   0x6ffffeff

Definition at line 612 of file common.h.

◆ DT_SYMINSZ

#define DT_SYMINSZ   0x6ffffdfe

Definition at line 597 of file common.h.

◆ DT_SYMTAB

#define DT_SYMTAB   6

Definition at line 543 of file common.h.

◆ DT_TEXTREL

#define DT_TEXTREL   22

Definition at line 559 of file common.h.

◆ DT_TLSDESC_GOT

#define DT_TLSDESC_GOT   0x6ffffef7

Definition at line 604 of file common.h.

◆ DT_TLSDESC_PLT

#define DT_TLSDESC_PLT   0x6ffffef6

Definition at line 603 of file common.h.

◆ DT_USED

#define DT_USED   0x7ffffffe

Definition at line 633 of file common.h.

◆ DT_VALRNGHI

#define DT_VALRNGHI   0x6ffffdff

Definition at line 599 of file common.h.

◆ DT_VALRNGLO

#define DT_VALRNGLO   0x6ffffd00

Definition at line 587 of file common.h.

◆ DT_VERDEF

#define DT_VERDEF   0x6ffffffc

Definition at line 618 of file common.h.

◆ DT_VERDEFNUM

#define DT_VERDEFNUM   0x6ffffffd

Definition at line 619 of file common.h.

◆ DT_VERNEED

#define DT_VERNEED   0x6ffffffe

Definition at line 620 of file common.h.

◆ DT_VERNEEDNUM

#define DT_VERNEEDNUM   0x6fffffff

Definition at line 621 of file common.h.

◆ DT_VERSYM

#define DT_VERSYM   0x6ffffff0

Definition at line 624 of file common.h.

◆ DTF_1_CONFEXP

#define DTF_1_CONFEXP   0x00000002

Definition at line 644 of file common.h.

◆ DTF_1_PARINIT

#define DTF_1_PARINIT   0x00000001

Definition at line 637 of file common.h.

◆ EI_ABIVERSION

#define EI_ABIVERSION   8 /* ABI version */

Definition at line 82 of file common.h.

◆ EI_CLASS

#define EI_CLASS   4 /* File class */

Definition at line 51 of file common.h.

◆ EI_DATA

#define EI_DATA   5 /* Data encoding */

Definition at line 56 of file common.h.

◆ EI_MAG0

#define EI_MAG0   0 /* File identification byte 0 index */

Definition at line 39 of file common.h.

◆ EI_MAG1

#define EI_MAG1   1 /* File identification byte 1 index */

Definition at line 42 of file common.h.

◆ EI_MAG2

#define EI_MAG2   2 /* File identification byte 2 index */

Definition at line 45 of file common.h.

◆ EI_MAG3

#define EI_MAG3   3 /* File identification byte 3 index */

Definition at line 48 of file common.h.

◆ EI_OSABI

#define EI_OSABI   7 /* Operating System/ABI indication */

Definition at line 63 of file common.h.

◆ EI_PAD

#define EI_PAD   9 /* Start of padding bytes */

Definition at line 84 of file common.h.

◆ EI_VERSION

#define EI_VERSION   6 /* File version */

Definition at line 61 of file common.h.

◆ ELF32_R_INFO

#define ELF32_R_INFO (   s,
 
)    (((s) << 8) + ((t)&0xff))

Definition at line 529 of file common.h.

◆ ELF32_R_SYM

#define ELF32_R_SYM (   i)    ((i) >> 8)

Definition at line 527 of file common.h.

◆ ELF32_R_TYPE

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

Definition at line 528 of file common.h.

◆ ELF32_ST_BIND

#define ELF32_ST_BIND   ELF_ST_BIND

Definition at line 461 of file common.h.

◆ ELF32_ST_INFO

#define ELF32_ST_INFO   ELF_ST_INFO

Definition at line 463 of file common.h.

◆ ELF32_ST_TYPE

#define ELF32_ST_TYPE   ELF_ST_TYPE

Definition at line 462 of file common.h.

◆ ELF32_ST_VISIBILITY

#define ELF32_ST_VISIBILITY   ELF_ST_VISIBILITY

Definition at line 475 of file common.h.

◆ ELF64_R_INFO

#define ELF64_R_INFO (   s,
 
)    (((bfd_vma)(s) << 31 << 1) + (bfd_vma)(t))

Definition at line 533 of file common.h.

◆ ELF64_R_SYM

#define ELF64_R_SYM (   i)    ((i) >> 32)

Definition at line 531 of file common.h.

◆ ELF64_R_TYPE

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

Definition at line 532 of file common.h.

◆ ELF64_ST_BIND

#define ELF64_ST_BIND   ELF_ST_BIND

Definition at line 464 of file common.h.

◆ ELF64_ST_INFO

#define ELF64_ST_INFO   ELF_ST_INFO

Definition at line 466 of file common.h.

◆ ELF64_ST_TYPE

#define ELF64_ST_TYPE   ELF_ST_TYPE

Definition at line 465 of file common.h.

◆ ELF64_ST_VISIBILITY

#define ELF64_ST_VISIBILITY   ELF_ST_VISIBILITY

Definition at line 476 of file common.h.

◆ ELF_ST_BIND

#define ELF_ST_BIND (   val)    (((unsigned int)(val)) >> 4)

Definition at line 455 of file common.h.

◆ ELF_ST_INFO

#define ELF_ST_INFO (   bind,
  type 
)    (((bind) << 4) + ((type)&0xF))

Definition at line 457 of file common.h.

◆ ELF_ST_TYPE

#define ELF_ST_TYPE (   val)    ((val)&0xF)

Definition at line 456 of file common.h.

◆ ELF_ST_VISIBILITY

#define ELF_ST_VISIBILITY (   v)    ((v)&0x3)

Definition at line 471 of file common.h.

◆ ELF_VER_CHR

#define ELF_VER_CHR   '@'

Definition at line 712 of file common.h.

◆ ELFCLASS32

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

Definition at line 53 of file common.h.

◆ ELFCLASS64

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

Definition at line 54 of file common.h.

◆ ELFCLASSNONE

#define ELFCLASSNONE   0 /* Invalid class */

Definition at line 52 of file common.h.

◆ ELFDATA2LSB

#define ELFDATA2LSB   1 /* 2's complement, little endian */

Definition at line 58 of file common.h.

◆ ELFDATA2MSB

#define ELFDATA2MSB   2 /* 2's complement, big endian */

Definition at line 59 of file common.h.

◆ ELFDATANONE

#define ELFDATANONE   0 /* Invalid data encoding */

Definition at line 57 of file common.h.

◆ ELFMAG0

#define ELFMAG0   0x7F /* Magic number byte 0 */

Definition at line 40 of file common.h.

◆ ELFMAG1

#define ELFMAG1   'E' /* Magic number byte 1 */

Definition at line 43 of file common.h.

◆ ELFMAG2

#define ELFMAG2   'L' /* Magic number byte 2 */

Definition at line 46 of file common.h.

◆ ELFMAG3

#define ELFMAG3   'F' /* Magic number byte 3 */

Definition at line 49 of file common.h.

◆ ELFOSABI_AIX

#define ELFOSABI_AIX   7 /* AIX */

Definition at line 70 of file common.h.

◆ ELFOSABI_ARM

#define ELFOSABI_ARM   97 /* ARM */

Definition at line 79 of file common.h.

◆ ELFOSABI_AROS

#define ELFOSABI_AROS   15 /* Amiga Research OS */

Definition at line 78 of file common.h.

◆ ELFOSABI_FREEBSD

#define ELFOSABI_FREEBSD   9 /* FreeBSD */

Definition at line 72 of file common.h.

◆ ELFOSABI_HPUX

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

Definition at line 65 of file common.h.

◆ ELFOSABI_HURD

#define ELFOSABI_HURD   4 /* GNU/Hurd */

Definition at line 68 of file common.h.

◆ ELFOSABI_IRIX

#define ELFOSABI_IRIX   8 /* IRIX */

Definition at line 71 of file common.h.

◆ ELFOSABI_LINUX

#define ELFOSABI_LINUX   3 /* GNU/Linux */

Definition at line 67 of file common.h.

◆ ELFOSABI_MODESTO

#define ELFOSABI_MODESTO   11 /* Novell Modesto */

Definition at line 74 of file common.h.

◆ ELFOSABI_NETBSD

#define ELFOSABI_NETBSD   2 /* NetBSD */

Definition at line 66 of file common.h.

◆ ELFOSABI_NONE

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

Definition at line 64 of file common.h.

◆ ELFOSABI_NSK

#define ELFOSABI_NSK   14 /* Hewlett-Packard Non-Stop Kernel */

Definition at line 77 of file common.h.

◆ ELFOSABI_OPENBSD

#define ELFOSABI_OPENBSD   12 /* OpenBSD */

Definition at line 75 of file common.h.

◆ ELFOSABI_OPENVMS

#define ELFOSABI_OPENVMS   13 /* OpenVMS */

Definition at line 76 of file common.h.

◆ ELFOSABI_SOLARIS

#define ELFOSABI_SOLARIS   6 /* Solaris */

Definition at line 69 of file common.h.

◆ ELFOSABI_STANDALONE

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

Definition at line 80 of file common.h.

◆ ELFOSABI_TRU64

#define ELFOSABI_TRU64   10 /* TRU64 UNIX */

Definition at line 73 of file common.h.

◆ EM_386

#define EM_386   3 /* Intel 80386 */

Definition at line 105 of file common.h.

◆ EM_486

#define EM_486   6 /* Intel 80486 */ /* Reserved for future use */

Definition at line 108 of file common.h.

◆ EM_68HC05

#define EM_68HC05   72 /* Motorola MC68HC05 Microcontroller */

Definition at line 161 of file common.h.

◆ EM_68HC08

#define EM_68HC08   71 /* Motorola MC68HC08 Microcontroller */

Definition at line 160 of file common.h.

◆ EM_68HC11

#define EM_68HC11   70 /* Motorola MC68HC11 Microcontroller */

Definition at line 159 of file common.h.

◆ EM_68HC12

#define EM_68HC12   53 /* Motorola M68HC12 */

Definition at line 142 of file common.h.

◆ EM_68HC16

#define EM_68HC16   69 /* Motorola MC68HC16 Microcontroller */

Definition at line 158 of file common.h.

◆ EM_68K

#define EM_68K   4 /* Motorola m68k family */

Definition at line 106 of file common.h.

◆ EM_860

#define EM_860   7 /* Intel 80860 */

Definition at line 109 of file common.h.

◆ EM_88K

#define EM_88K   5 /* Motorola m88k family */

Definition at line 107 of file common.h.

◆ EM_960

#define EM_960   19 /* Intel 80960 */

Definition at line 118 of file common.h.

◆ EM_ALPHA

#define EM_ALPHA   0x9026

Definition at line 261 of file common.h.

◆ EM_ALTERA_NIOS2

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

Definition at line 188 of file common.h.

◆ EM_ARC

#define EM_ARC   45 /* ARC Cores */

Definition at line 134 of file common.h.

◆ EM_ARC_A5

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

Definition at line 182 of file common.h.

◆ EM_ARM

#define EM_ARM   40 /* ARM */

Definition at line 129 of file common.h.

◆ EM_AVR

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

Definition at line 172 of file common.h.

◆ EM_AVR_OLD

#define EM_AVR_OLD   0x1057

Definition at line 219 of file common.h.

◆ EM_BA2_NON_STANDARD

#define EM_BA2_NON_STANDARD   0x8472

Definition at line 234 of file common.h.

◆ EM_BLACKFIN

#define EM_BLACKFIN   106 /* ADI Blackfin */

Definition at line 187 of file common.h.

◆ EM_COLDFIRE

#define EM_COLDFIRE   52 /* Motorola Coldfire */

Definition at line 141 of file common.h.

◆ EM_CR

#define EM_CR   103 /* National Semiconductor CompactRISC */

Definition at line 185 of file common.h.

◆ EM_CR16

#define EM_CR16   115 /* National Semiconductor CompactRISC - CR16 */

Definition at line 190 of file common.h.

◆ EM_CRIS

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

Definition at line 165 of file common.h.

◆ EM_CRX

#define EM_CRX   114 /* National Semiconductor CRX */

Definition at line 189 of file common.h.

◆ EM_CYGNUS_D10V

#define EM_CYGNUS_D10V   0x7650

Definition at line 246 of file common.h.

◆ EM_CYGNUS_D30V

#define EM_CYGNUS_D30V   0x7676

Definition at line 249 of file common.h.

◆ EM_CYGNUS_FR30

#define EM_CYGNUS_FR30   0x3330

Definition at line 228 of file common.h.

◆ EM_CYGNUS_FRV

#define EM_CYGNUS_FRV   0x5441

Definition at line 240 of file common.h.

◆ EM_CYGNUS_M32R

#define EM_CYGNUS_M32R   0x9041

Definition at line 264 of file common.h.

◆ EM_CYGNUS_MEP

#define EM_CYGNUS_MEP   0xF00D /* Toshiba MeP */

Definition at line 291 of file common.h.

◆ EM_CYGNUS_MN10200

#define EM_CYGNUS_MN10200   0xdead

Definition at line 280 of file common.h.

◆ EM_CYGNUS_MN10300

#define EM_CYGNUS_MN10300   0xbeef

Definition at line 279 of file common.h.

◆ EM_CYGNUS_POWERPC

#define EM_CYGNUS_POWERPC   0x9025

Definition at line 258 of file common.h.

◆ EM_CYGNUS_V850

#define EM_CYGNUS_V850   0x9080

Definition at line 267 of file common.h.

◆ EM_D10V

#define EM_D10V   85 /* Mitsubishi D10V */

Definition at line 174 of file common.h.

◆ EM_D30V

#define EM_D30V   86 /* Mitsubishi D30V */

Definition at line 175 of file common.h.

◆ EM_DLX

#define EM_DLX   0x5aa5

Definition at line 237 of file common.h.

◆ EM_FIREPATH

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

Definition at line 167 of file common.h.

◆ EM_FR20

#define EM_FR20   37 /* Fujitsu FR20 */

Definition at line 125 of file common.h.

◆ EM_FR30

#define EM_FR30   84 /* Fujitsu FR30 */

Definition at line 173 of file common.h.

◆ EM_FX66

#define EM_FX66   66 /* Siemens FX66 microcontroller */

Definition at line 155 of file common.h.

◆ EM_H8_300

#define EM_H8_300   46 /* Renesas (formerly Hitachi) H8/300 */

Definition at line 135 of file common.h.

◆ EM_H8_300H

#define EM_H8_300H   47 /* Renesas (formerly Hitachi) H8/300H */

Definition at line 136 of file common.h.

◆ EM_H8_500

#define EM_H8_500   49 /* Renesas (formerly Hitachi) H8/500 */

Definition at line 138 of file common.h.

◆ EM_H8S

#define EM_H8S   48 /* Renesas (formerly Hitachi) H8S */

Definition at line 137 of file common.h.

◆ EM_HUANY

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

Definition at line 170 of file common.h.

◆ EM_IA_64

#define EM_IA_64   50 /* Intel IA-64 Processor */

Definition at line 139 of file common.h.

◆ EM_IP2K

#define EM_IP2K   101 /* Ubicom IP2022 micro controller */

Definition at line 184 of file common.h.

◆ EM_IP2K_OLD

#define EM_IP2K_OLD   0x8217

Definition at line 252 of file common.h.

◆ EM_IQ2000

#define EM_IQ2000   0xFEBA

Definition at line 286 of file common.h.

◆ EM_JAVELIN

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

Definition at line 166 of file common.h.

◆ EM_M32

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

Definition at line 103 of file common.h.

◆ EM_M32C

#define EM_M32C   0xFEB0

Definition at line 283 of file common.h.

◆ EM_M32R

#define EM_M32R   88 /* Renesas M32R (formerly Mitsubishi M32R) */

Definition at line 177 of file common.h.

◆ EM_MCORE

#define EM_MCORE   39 /* Motorola M*Core */ /* May also be taken by Fujitsu MMA */

Definition at line 127 of file common.h.

◆ EM_ME16

#define EM_ME16   59 /* Toyota ME16 processor */

Definition at line 148 of file common.h.

◆ EM_MIPS

#define EM_MIPS   8 /* MIPS R3000 (officially, big-endian only) */

Definition at line 110 of file common.h.

◆ EM_MIPS_RS3_LE

#define EM_MIPS_RS3_LE   10 /* MIPS R3000 little-endian (Oct 4 1999 Draft) Deprecated */

Definition at line 112 of file common.h.

◆ EM_MIPS_X

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

Definition at line 140 of file common.h.

◆ EM_MMA

#define EM_MMA   54 /* Fujitsu Multimedia Accelerator */

Definition at line 143 of file common.h.

◆ EM_MMIX

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

Definition at line 169 of file common.h.

◆ EM_MN10200

#define EM_MN10200   90 /* Matsushita MN10200 */

Definition at line 179 of file common.h.

◆ EM_MN10300

#define EM_MN10300   89 /* Matsushita MN10300 */

Definition at line 178 of file common.h.

◆ EM_MSP430

#define EM_MSP430   105 /* TI msp430 micro controller */

Definition at line 186 of file common.h.

◆ EM_MSP430_OLD

#define EM_MSP430_OLD   0x1059

Definition at line 222 of file common.h.

◆ EM_MT

#define EM_MT   0x2530

Definition at line 225 of file common.h.

◆ EM_NCPU

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

Definition at line 145 of file common.h.

◆ EM_NDR1

#define EM_NDR1   57 /* Denso NDR1 microprocesspr */

Definition at line 146 of file common.h.

◆ EM_NIOS32

#define EM_NIOS32   0xFEBB

Definition at line 289 of file common.h.

◆ EM_NONE

#define EM_NONE   0 /* No machine */

Definition at line 102 of file common.h.

◆ EM_OLD_ALPHA

#define EM_OLD_ALPHA   41 /* Digital Alpha */

Definition at line 130 of file common.h.

◆ EM_OLD_SPARCV9

#define EM_OLD_SPARCV9   11

Definition at line 210 of file common.h.

◆ EM_OPENRISC

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

Definition at line 181 of file common.h.

◆ EM_OPENRISC_OLD

#define EM_OPENRISC_OLD   0x3426

Definition at line 231 of file common.h.

◆ EM_OR32

#define EM_OR32   0x8472

Definition at line 255 of file common.h.

◆ EM_PARISC

#define EM_PARISC   15 /* HPPA */

Definition at line 114 of file common.h.

◆ EM_PCP

#define EM_PCP   55 /* Siemens PCP */

Definition at line 144 of file common.h.

◆ EM_PDP10

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

Definition at line 153 of file common.h.

◆ EM_PDP11

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

Definition at line 154 of file common.h.

◆ EM_PJ

#define EM_PJ   91 /* picoJava */

Definition at line 180 of file common.h.

◆ EM_PJ_OLD

#define EM_PJ_OLD   99

Definition at line 216 of file common.h.

◆ EM_PPC

#define EM_PPC   20 /* PowerPC */

Definition at line 119 of file common.h.

◆ EM_PPC64

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

Definition at line 120 of file common.h.

◆ EM_PPC_OLD

#define EM_PPC_OLD   17

Definition at line 213 of file common.h.

◆ EM_PRISM

#define EM_PRISM   82 /* SiTera Prism */

Definition at line 171 of file common.h.

◆ EM_QDSP6

#define EM_QDSP6   164 /* Qualcomm DSP6 */

Definition at line 192 of file common.h.

◆ EM_RCE

#define EM_RCE   39 /* Old name for MCore */

Definition at line 128 of file common.h.

◆ EM_RH32

#define EM_RH32   38 /* TRW RH32 */

Definition at line 126 of file common.h.

◆ EM_RISCV

#define EM_RISCV   243 /* RISC V */

Definition at line 206 of file common.h.

◆ EM_S370

#define EM_S370   9 /* IBM System/370 */

Definition at line 111 of file common.h.

◆ EM_S390

#define EM_S390   22 /* IBM S/390 */

Definition at line 121 of file common.h.

◆ EM_S390_OLD

#define EM_S390_OLD   0xa390

Definition at line 270 of file common.h.

◆ EM_SCORE

#define EM_SCORE   135 /* Sunplus Score */

Definition at line 191 of file common.h.

◆ EM_SH

#define EM_SH   42 /* Renesas (formerly Hitachi) / SuperH SH */

Definition at line 131 of file common.h.

◆ EM_SPARC

#define EM_SPARC   2 /* SUN SPARC */

Definition at line 104 of file common.h.

◆ EM_SPARC32PLUS

#define EM_SPARC32PLUS   18 /* Sun's "v8plus" */

Definition at line 117 of file common.h.

◆ EM_SPARCV9

#define EM_SPARCV9   43 /* SPARC v9 64-bit */

Definition at line 132 of file common.h.

◆ EM_SPU

#define EM_SPU   23 /* Sony/Toshiba/IBM SPU */

Definition at line 122 of file common.h.

◆ EM_ST100

#define EM_ST100   60 /* STMicroelectronics ST100 processor */

Definition at line 149 of file common.h.

◆ EM_ST19

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

Definition at line 163 of file common.h.

◆ EM_ST7

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

Definition at line 157 of file common.h.

◆ EM_ST9PLUS

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

Definition at line 156 of file common.h.

◆ EM_STARCORE

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

Definition at line 147 of file common.h.

◆ EM_SVX

#define EM_SVX   73 /* Silicon Graphics SVx */

Definition at line 162 of file common.h.

◆ EM_TINYJ

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

Definition at line 150 of file common.h.

◆ EM_TRICORE

#define EM_TRICORE   44 /* Siemens Tricore embedded processor */

Definition at line 133 of file common.h.

◆ EM_V800

#define EM_V800   36 /* NEC V800 series */

Definition at line 124 of file common.h.

◆ EM_V850

#define EM_V850   87 /* NEC v850 */

Definition at line 176 of file common.h.

◆ EM_VAX

#define EM_VAX   75 /* Digital VAX */

Definition at line 164 of file common.h.

◆ EM_VPP550

#define EM_VPP550   17 /* Fujitsu VPP500 */

Definition at line 116 of file common.h.

◆ EM_X86_64

#define EM_X86_64   62 /* Advanced Micro Devices X86-64 processor */

Definition at line 151 of file common.h.

◆ EM_XC16X

#define EM_XC16X   0x4688

Definition at line 243 of file common.h.

◆ EM_XSTORMY16

#define EM_XSTORMY16   0xad45

Definition at line 275 of file common.h.

◆ EM_XTENSA

#define EM_XTENSA   94 /* Tensilica Xtensa Architecture */

Definition at line 183 of file common.h.

◆ EM_XTENSA_OLD

#define EM_XTENSA_OLD   0xabc7

Definition at line 273 of file common.h.

◆ EM_ZSP

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

Definition at line 168 of file common.h.

◆ ET_CORE

#define ET_CORE   4 /* Core file */

Definition at line 92 of file common.h.

◆ ET_DYN

#define ET_DYN   3 /* Shared object file */

Definition at line 91 of file common.h.

◆ ET_EXEC

#define ET_EXEC   2 /* Executable file */

Definition at line 90 of file common.h.

◆ ET_HIOS

#define ET_HIOS   0xFEFF /* Operating system-specific */

Definition at line 94 of file common.h.

◆ ET_HIPROC

#define ET_HIPROC   0xFFFF /* Processor-specific */

Definition at line 96 of file common.h.

◆ ET_LOOS

#define ET_LOOS   0xFE00 /* Operating system-specific */

Definition at line 93 of file common.h.

◆ ET_LOPROC

#define ET_LOPROC   0xFF00 /* Processor-specific */

Definition at line 95 of file common.h.

◆ ET_NONE

#define ET_NONE   0 /* No file type */

Definition at line 88 of file common.h.

◆ ET_REL

#define ET_REL   1 /* Relocatable file */

Definition at line 89 of file common.h.

◆ EV_CURRENT

#define EV_CURRENT   1 /* Current version */

Definition at line 298 of file common.h.

◆ EV_NONE

#define EV_NONE   0 /* Invalid ELF version */

Definition at line 297 of file common.h.

◆ GNU_ABI_TAG_FREEBSD

#define GNU_ABI_TAG_FREEBSD   3

Definition at line 436 of file common.h.

◆ GNU_ABI_TAG_HURD

#define GNU_ABI_TAG_HURD   1

Definition at line 434 of file common.h.

◆ GNU_ABI_TAG_LINUX

#define GNU_ABI_TAG_LINUX   0

Definition at line 433 of file common.h.

◆ GNU_ABI_TAG_NETBSD

#define GNU_ABI_TAG_NETBSD   4

Definition at line 437 of file common.h.

◆ GNU_ABI_TAG_SOLARIS

#define GNU_ABI_TAG_SOLARIS   2

Definition at line 435 of file common.h.

◆ GRP_COMDAT

#define GRP_COMDAT   0x1 /* A COMDAT group */

Definition at line 735 of file common.h.

◆ NT_ARCH

#define NT_ARCH   2 /* Contains an architecture string. */

Definition at line 424 of file common.h.

◆ NT_AUXV

#define NT_AUXV   6 /* Contains copy of Elfxx_auxv_t */

Definition at line 397 of file common.h.

◆ NT_FPREGS

#define NT_FPREGS   12 /* Has a struct fpregset */

Definition at line 404 of file common.h.

◆ NT_FPREGSET

#define NT_FPREGSET   2 /* Contains copy of fpregset struct */

Definition at line 394 of file common.h.

◆ NT_FREEBSD_ABI_TAG

#define NT_FREEBSD_ABI_TAG   1

Definition at line 449 of file common.h.

◆ NT_GNU_ABI_TAG

#define NT_GNU_ABI_TAG   1

Definition at line 428 of file common.h.

◆ NT_GNU_BUILD_ID

#define NT_GNU_BUILD_ID   3 /* Generated by ld --build-id. */

Definition at line 430 of file common.h.

◆ NT_GNU_HWCAP

#define NT_GNU_HWCAP   2 /* Used by ld.so and kernel vDSO. */

Definition at line 429 of file common.h.

◆ NT_LWPSINFO

#define NT_LWPSINFO   17 /* Has a struct lwpsinfo_t */

Definition at line 407 of file common.h.

◆ NT_LWPSTATUS

#define NT_LWPSTATUS   16 /* Has a struct lwpstatus_t */

Definition at line 406 of file common.h.

◆ NT_NETBSD_IDENT

#define NT_NETBSD_IDENT   1

Definition at line 441 of file common.h.

◆ NT_NETBSDCORE_FIRSTMACH

#define NT_NETBSDCORE_FIRSTMACH   32 /* start of machdep note types */

Definition at line 414 of file common.h.

◆ NT_NETBSDCORE_PROCINFO

#define NT_NETBSDCORE_PROCINFO   1 /* Has a struct procinfo */

Definition at line 413 of file common.h.

◆ NT_OPENBSD_IDENT

#define NT_OPENBSD_IDENT   1

Definition at line 445 of file common.h.

◆ NT_PRPSINFO

#define NT_PRPSINFO   3 /* Contains copy of prpsinfo struct */

Definition at line 395 of file common.h.

◆ NT_PRSTATUS

#define NT_PRSTATUS   1 /* Contains copy of prstatus struct */

Definition at line 393 of file common.h.

◆ NT_PRXFPREG

#define NT_PRXFPREG   0x46e62b7f /* Contains a user_xfpregs_struct; */

Definition at line 398 of file common.h.

◆ NT_PSINFO

#define NT_PSINFO   13 /* Has a struct psinfo */

Definition at line 405 of file common.h.

◆ NT_PSTATUS

#define NT_PSTATUS   10 /* Has a struct pstatus */

Definition at line 403 of file common.h.

◆ NT_SPU

#define NT_SPU   1

Definition at line 419 of file common.h.

◆ NT_TASKSTRUCT

#define NT_TASKSTRUCT   4 /* Contains copy of task struct */

Definition at line 396 of file common.h.

◆ NT_VERSION

#define NT_VERSION   1 /* Contains a version string. */

Definition at line 423 of file common.h.

◆ NT_WIN32PSTATUS

#define NT_WIN32PSTATUS   18 /* Has a struct win32_pstatus */

Definition at line 408 of file common.h.

◆ OLD_DT_HIOS

#define OLD_DT_HIOS   0x6fffffff

Definition at line 578 of file common.h.

◆ OLD_DT_LOOS

#define OLD_DT_LOOS   0x60000000

Definition at line 575 of file common.h.

◆ PF_MASKOS

#define PF_MASKOS   0x0FF00000 /* New value, Oct 4, 1999 Draft */

Definition at line 326 of file common.h.

◆ PF_MASKPROC

#define PF_MASKPROC   0xF0000000 /* Processor-specific reserved bits */

Definition at line 327 of file common.h.

◆ PF_R

#define PF_R   (1 << 2) /* Segment is readable */

Definition at line 324 of file common.h.

◆ PF_W

#define PF_W   (1 << 1) /* Segment is writable */

Definition at line 323 of file common.h.

◆ PF_X

#define PF_X   (1 << 0) /* Segment is executable */

Definition at line 322 of file common.h.

◆ PT_DYNAMIC

#define PT_DYNAMIC   2 /* Dynamic linking information */

Definition at line 304 of file common.h.

◆ PT_GNU_EH_FRAME

#define PT_GNU_EH_FRAME   (PT_LOOS + 0x474e550) /* Frame unwind information */

Definition at line 315 of file common.h.

◆ PT_GNU_RELRO

#define PT_GNU_RELRO   (PT_LOOS + 0x474e552) /* Read-only after relocation */

Definition at line 318 of file common.h.

◆ PT_GNU_STACK

#define PT_GNU_STACK   (PT_LOOS + 0x474e551) /* Stack flags */

Definition at line 317 of file common.h.

◆ PT_HIOS

#define PT_HIOS   0x6fffffff /* OS-specific */

Definition at line 311 of file common.h.

◆ PT_HIPROC

#define PT_HIPROC   0x7FFFFFFF /* Processor-specific */

Definition at line 313 of file common.h.

◆ PT_INTERP

#define PT_INTERP   3 /* Program interpreter */

Definition at line 305 of file common.h.

◆ PT_LOAD

#define PT_LOAD   1 /* Loadable program segment */

Definition at line 303 of file common.h.

◆ PT_LOOS

#define PT_LOOS   0x60000000 /* OS-specific */

Definition at line 310 of file common.h.

◆ PT_LOPROC

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

Definition at line 312 of file common.h.

◆ PT_NOTE

#define PT_NOTE   4 /* Auxiliary information */

Definition at line 306 of file common.h.

◆ PT_NULL

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

Definition at line 302 of file common.h.

◆ PT_PHDR

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

Definition at line 308 of file common.h.

◆ PT_SHLIB

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

Definition at line 307 of file common.h.

◆ PT_SUNW_EH_FRAME

#define PT_SUNW_EH_FRAME   PT_GNU_EH_FRAME /* Solaris uses the same value */

Definition at line 316 of file common.h.

◆ PT_TLS

#define PT_TLS   7 /* Thread local storage segment */

Definition at line 309 of file common.h.

◆ SHF_ALLOC

#define SHF_ALLOC   (1 << 1) /* Occupies memory during execution */

Definition at line 377 of file common.h.

◆ SHF_EXECINSTR

#define SHF_EXECINSTR   (1 << 2) /* Executable machine instructions */

Definition at line 378 of file common.h.

◆ SHF_GROUP

#define SHF_GROUP   (1 << 9) /* Member of a section group */

Definition at line 384 of file common.h.

◆ SHF_INFO_LINK

#define SHF_INFO_LINK   (1 << 6) /* sh_info holds section header table index */

Definition at line 381 of file common.h.

◆ SHF_LINK_ORDER

#define SHF_LINK_ORDER   (1 << 7) /* Preserve section ordering when linking */

Definition at line 382 of file common.h.

◆ SHF_MASKOS

#define SHF_MASKOS   0x0FF00000 /* New value, Oct 4, 1999 Draft */

Definition at line 388 of file common.h.

◆ SHF_MASKPROC

#define SHF_MASKPROC   0xF0000000 /* Processor-specific semantics */

Definition at line 389 of file common.h.

◆ SHF_MERGE

#define SHF_MERGE   (1 << 4) /* Data in this section can be merged */

Definition at line 379 of file common.h.

◆ SHF_OS_NONCONFORMING

#define SHF_OS_NONCONFORMING   (1 << 8) /* OS specific processing required */

Definition at line 383 of file common.h.

◆ SHF_STRINGS

#define SHF_STRINGS   (1 << 5) /* Contains null terminated character strings */

Definition at line 380 of file common.h.

◆ SHF_TLS

#define SHF_TLS   (1 << 10) /* Thread local storage section */

Definition at line 385 of file common.h.

◆ SHF_WRITE

#define SHF_WRITE   (1 << 0) /* Writable data during execution */

Definition at line 376 of file common.h.

◆ SHN_ABS

#define SHN_ABS   0xFFF1 /* Associated symbol is absolute */

Definition at line 511 of file common.h.

◆ SHN_BAD

#define SHN_BAD   ((unsigned)-1) /* Used internally by bfd */

Definition at line 515 of file common.h.

◆ SHN_COMMON

#define SHN_COMMON   0xFFF2 /* Associated symbol is in common */

Definition at line 512 of file common.h.

◆ SHN_HIOS

#define SHN_HIOS   0xFF3F /* OS specific semantics, hi */

Definition at line 510 of file common.h.

◆ SHN_HIPROC

#define SHN_HIPROC   0xFF1F /* End range of appl-specific */

Definition at line 508 of file common.h.

◆ SHN_HIRESERVE

#define SHN_HIRESERVE   0xFFFF /* End range of reserved indices */

Definition at line 514 of file common.h.

◆ SHN_LOOS

#define SHN_LOOS   0xFF20 /* OS specific semantics, lo */

Definition at line 509 of file common.h.

◆ SHN_LOPROC

#define SHN_LOPROC   0xFF00 /* Begin range of appl-specific */

Definition at line 507 of file common.h.

◆ SHN_LORESERVE

#define SHN_LORESERVE   0xFF00 /* Begin range of reserved indices */

Definition at line 506 of file common.h.

◆ SHN_UNDEF

#define SHN_UNDEF   0 /* Undefined section reference */

Definition at line 505 of file common.h.

◆ SHN_XINDEX

#define SHN_XINDEX   0xFFFF /* Section index is held elsewhere */

Definition at line 513 of file common.h.

◆ SHT_DYNAMIC

#define SHT_DYNAMIC   6 /* Information for dynamic linking */

Definition at line 337 of file common.h.

◆ SHT_DYNSYM

#define SHT_DYNSYM   11 /* Dynamic linking symbol table */

Definition at line 342 of file common.h.

◆ SHT_FINI_ARRAY

#define SHT_FINI_ARRAY   15 /* Array of ptrs to finish functions */

Definition at line 345 of file common.h.

◆ SHT_GNU_ATTRIBUTES

#define SHT_GNU_ATTRIBUTES   0x6ffffff5 /* Object attributes */

Definition at line 353 of file common.h.

◆ SHT_GNU_HASH

#define SHT_GNU_HASH   0x6ffffff6 /* GNU style symbol hash table */

Definition at line 354 of file common.h.

◆ SHT_GNU_LIBLIST

#define SHT_GNU_LIBLIST   0x6ffffff7 /* List of prelink dependencies */

Definition at line 355 of file common.h.

◆ SHT_GNU_verdef

#define SHT_GNU_verdef   SHT_SUNW_verdef

Definition at line 364 of file common.h.

◆ SHT_GNU_verneed

#define SHT_GNU_verneed   SHT_SUNW_verneed

Definition at line 365 of file common.h.

◆ SHT_GNU_versym

#define SHT_GNU_versym   SHT_SUNW_versym

Definition at line 366 of file common.h.

◆ SHT_GROUP

#define SHT_GROUP   17 /* Section contains a section group */

Definition at line 347 of file common.h.

◆ SHT_HASH

#define SHT_HASH   5 /* A symbol hash table */

Definition at line 336 of file common.h.

◆ SHT_HIOS

#define SHT_HIOS   0x6fffffff /* Last of OS specific semantics */

Definition at line 351 of file common.h.

◆ SHT_HIPROC

#define SHT_HIPROC   0x7FFFFFFF /* Processor-specific semantics, hi */

Definition at line 369 of file common.h.

◆ SHT_HIUSER

#define SHT_HIUSER   0xFFFFFFFF /* New value, defined in Oct 4, 1999 Draft */

Definition at line 372 of file common.h.

◆ SHT_INIT_ARRAY

#define SHT_INIT_ARRAY   14 /* Array of ptrs to init functions */

Definition at line 344 of file common.h.

◆ SHT_LOOS

#define SHT_LOOS   0x60000000 /* First of OS specific semantics */

Definition at line 350 of file common.h.

◆ SHT_LOPROC

#define SHT_LOPROC   0x70000000 /* Processor-specific semantics, lo */

Definition at line 368 of file common.h.

◆ SHT_LOUSER

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

Definition at line 370 of file common.h.

◆ SHT_NOBITS

#define SHT_NOBITS   8 /* Section occupies no space in file */

Definition at line 339 of file common.h.

◆ SHT_NOTE

#define SHT_NOTE   7 /* Information that marks file */

Definition at line 338 of file common.h.

◆ SHT_NULL

#define SHT_NULL   0 /* Section header table entry unused */

Definition at line 331 of file common.h.

◆ SHT_PREINIT_ARRAY

#define SHT_PREINIT_ARRAY   16 /* Array of ptrs to pre-init funcs */

Definition at line 346 of file common.h.

◆ SHT_PROGBITS

#define SHT_PROGBITS   1 /* Program specific (private) data */

Definition at line 332 of file common.h.

◆ SHT_REL

#define SHT_REL   9 /* Relocation entries, no addends */

Definition at line 340 of file common.h.

◆ SHT_RELA

#define SHT_RELA   4 /* Relocation entries with addends */

Definition at line 335 of file common.h.

◆ SHT_SHLIB

#define SHT_SHLIB   10 /* Reserved, unspecified semantics */

Definition at line 341 of file common.h.

◆ SHT_STRTAB

#define SHT_STRTAB   3 /* A string table */

Definition at line 334 of file common.h.

◆ SHT_SUNW_verdef

#define SHT_SUNW_verdef   0x6ffffffd /* Versions defined by file */

Definition at line 360 of file common.h.

◆ SHT_SUNW_verneed

#define SHT_SUNW_verneed   0x6ffffffe /* Versions needed by file */

Definition at line 361 of file common.h.

◆ SHT_SUNW_versym

#define SHT_SUNW_versym   0x6fffffff /* Symbol versions */

Definition at line 362 of file common.h.

◆ SHT_SYMTAB

#define SHT_SYMTAB   2 /* Link editing symbol table */

Definition at line 333 of file common.h.

◆ SHT_SYMTAB_SHNDX

#define SHT_SYMTAB_SHNDX   18 /* Indicies for SHN_XINDEX entries */

Definition at line 348 of file common.h.

◆ STB_GLOBAL

#define STB_GLOBAL   1 /* Symbol visible outside obj */

Definition at line 481 of file common.h.

◆ STB_HIOS

#define STB_HIOS   12 /* OS-specific semantics */

Definition at line 484 of file common.h.

◆ STB_HIPROC

#define STB_HIPROC   15 /* Application-specific semantics */

Definition at line 486 of file common.h.

◆ STB_LOCAL

#define STB_LOCAL   0 /* Symbol not visible outside obj */

Definition at line 480 of file common.h.

◆ STB_LOOS

#define STB_LOOS   10 /* OS-specific semantics */

Definition at line 483 of file common.h.

◆ STB_LOPROC

#define STB_LOPROC   13 /* Application-specific semantics */

Definition at line 485 of file common.h.

◆ STB_WEAK

#define STB_WEAK   2 /* Like globals, lower precedence */

Definition at line 482 of file common.h.

◆ STN_UNDEF

#define STN_UNDEF   0 /* Undefined symbol index */

Definition at line 478 of file common.h.

◆ STT_COMMON

#define STT_COMMON   5 /* An uninitialised common block */

Definition at line 493 of file common.h.

◆ STT_FILE

#define STT_FILE   4 /* Symbol gives a file name */

Definition at line 492 of file common.h.

◆ STT_FUNC

#define STT_FUNC   2 /* Symbol is a code object */

Definition at line 490 of file common.h.

◆ STT_HIOS

#define STT_HIOS   12 /* OS-specific semantics */

Definition at line 498 of file common.h.

◆ STT_HIPROC

#define STT_HIPROC   15 /* Application-specific semantics */

Definition at line 500 of file common.h.

◆ STT_LOOS

#define STT_LOOS   10 /* OS-specific semantics */

Definition at line 497 of file common.h.

◆ STT_LOPROC

#define STT_LOPROC   13 /* Application-specific semantics */

Definition at line 499 of file common.h.

◆ STT_NOTYPE

#define STT_NOTYPE   0 /* Symbol type is unspecified */

Definition at line 488 of file common.h.

◆ STT_OBJECT

#define STT_OBJECT   1 /* Symbol is a data object */

Definition at line 489 of file common.h.

◆ STT_RELC

#define STT_RELC   8 /* Complex relocation expression */

Definition at line 495 of file common.h.

◆ STT_SECTION

#define STT_SECTION   3 /* Symbol associated with a section */

Definition at line 491 of file common.h.

◆ STT_SRELC

#define STT_SRELC   9 /* Signed Complex relocation expression */

Definition at line 496 of file common.h.

◆ STT_TLS

#define STT_TLS   6 /* Thread local data object */

Definition at line 494 of file common.h.

◆ STV_DEFAULT

#define STV_DEFAULT   0 /* Visibility is specified by binding type */

Definition at line 520 of file common.h.

◆ STV_HIDDEN

#define STV_HIDDEN   2 /* Can only be seen inside currect component */

Definition at line 522 of file common.h.

◆ STV_INTERNAL

#define STV_INTERNAL   1 /* OS specific version of STV_HIDDEN */

Definition at line 521 of file common.h.

◆ STV_PROTECTED

#define STV_PROTECTED   3 /* Treat as STB_LOCAL inside current component */

Definition at line 523 of file common.h.

◆ SYMINFO_BT_LOWRESERVE

#define SYMINFO_BT_LOWRESERVE   0xff00 /* Beginning of reserved entries */

Definition at line 718 of file common.h.

◆ SYMINFO_BT_PARENT

#define SYMINFO_BT_PARENT   0xfffe /* Symbol bound to parent */

Definition at line 717 of file common.h.

◆ SYMINFO_BT_SELF

#define SYMINFO_BT_SELF   0xffff /* Symbol bound to self */

Definition at line 716 of file common.h.

◆ SYMINFO_CURRENT

#define SYMINFO_CURRENT   1

Definition at line 730 of file common.h.

◆ SYMINFO_FLG_COPY

#define SYMINFO_FLG_COPY   0x0004 /* Symbol is a copy-reloc */

Definition at line 724 of file common.h.

◆ SYMINFO_FLG_DIRECT

#define SYMINFO_FLG_DIRECT   0x0001 /* Direct bound symbol */

Definition at line 722 of file common.h.

◆ SYMINFO_FLG_LAZYLOAD

#define SYMINFO_FLG_LAZYLOAD   0x0008 /* Symbol bound to object to be lazy loaded */

Definition at line 725 of file common.h.

◆ SYMINFO_FLG_PASSTHRU

#define SYMINFO_FLG_PASSTHRU   0x0002 /* Pass-thru symbol for translator */

Definition at line 723 of file common.h.

◆ SYMINFO_NONE

#define SYMINFO_NONE   0

Definition at line 729 of file common.h.

◆ SYMINFO_NUM

#define SYMINFO_NUM   2

Definition at line 731 of file common.h.

◆ VER_DEF_CURRENT

#define VER_DEF_CURRENT   1

Definition at line 677 of file common.h.

◆ VER_DEF_NONE

#define VER_DEF_NONE   0

Definition at line 676 of file common.h.

◆ VER_FLG_BASE

#define VER_FLG_BASE   0x1

Definition at line 682 of file common.h.

◆ VER_FLG_WEAK

#define VER_FLG_WEAK   0x2

Definition at line 683 of file common.h.

◆ VER_NDX_GLOBAL

#define VER_NDX_GLOBAL   1

Definition at line 688 of file common.h.

◆ VER_NDX_LOCAL

#define VER_NDX_LOCAL   0

Definition at line 687 of file common.h.

◆ VER_NEED_CURRENT

#define VER_NEED_CURRENT   1

Definition at line 694 of file common.h.

◆ VER_NEED_NONE

#define VER_NEED_NONE   0

Definition at line 693 of file common.h.

◆ VERSYM_HIDDEN

#define VERSYM_HIDDEN   0x8000

Definition at line 700 of file common.h.

◆ VERSYM_VERSION

#define VERSYM_VERSION   0x7fff

Definition at line 704 of file common.h.