OpenADFortTk (including Open64 and OpenAnalysis references)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
elf.h File Reference
#include <inttypes.h>
Include dependency graph for elf.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Elf32_Ehdr
 
struct  Elf64_Ehdr
 
struct  Elf32_Shdr
 
struct  Elf64_Shdr
 
struct  Elf_Options_Hw
 
struct  Elf32_Sym
 
struct  Elf64_Sym
 
struct  Elf32_Rel
 
struct  Elf64_Rel
 
struct  Elf64_Rela
 
struct  Elf_Options
 
struct  Elf32_Rela
 
struct  Elf32_Phdr
 
struct  Elf64_Phdr
 
struct  Elf32_Dyn
 
struct  Elf64_Dyn
 
struct  Elf32_Verdef
 
struct  Elf32_Verdaux
 
struct  Elf32_Verneed
 
struct  Elf32_Vernaux
 
struct  Elf32_auxv_t
 
struct  Elf64_auxv_t
 
struct  Elf64_Lib
 
struct  Elf_Ifd
 
union  Elf32_gptab
 
struct  Elf32_RegInfo
 
struct  Elf64_RegInfo
 
struct  Elf32_Lib
 
struct  Elf_IA64_RegInfo
 

Macros

#define __BEGIN_DECLS
 
#define __END_DECLS
 
#define _DOTDOTDOT
 
#define EI_NIDENT   (16)
 
#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 ELFMAG   "\177ELF"
 
#define SELFMAG   4
 
#define IS_ELF(ehdr)
 
#define EI_CLASS   4 /* File class byte index */
 
#define ELFCLASSNONE   0 /* Invalid class */
 
#define ELFCLASS32   1 /* 32-bit objects */
 
#define ELFCLASS64   2 /* 64-bit objects */
 
#define EI_DATA   5 /* Data encoding byte index */
 
#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 byte index */
 
#define EI_PAD   7 /* Byte index 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_NUM   5 /* Number of defined types. */
 
#define ET_LOPROC   0xff00 /* Processor-specific */
 
#define ET_HIPROC   0xffff /* Processor-specific */
 
#define ET_IR   (ET_LOPROC + 0) /* file is a 32-bit or 64-bit WHIRL file*/
 
#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 */
 
#define EM_860   7 /* Intel 80860 */
 
#define EM_MIPS   8 /* MIPS R3000 big-endian */
 
#define EM_S370   9 /* Amdahl */
 
#define EM_MIPS_RS4_BE   10 /* MIPS R4000 big-endian */
 
#define EM_XIA64
 
#define EM_IA_64   50 /* Intel IA64 */
 
#define EM_EAS2_3   0x0406
 
#define EM_SPARC64   11 /* SPARC v9 (not official) 64-bit */
 
#define EM_PARISC   15 /* HPPA */
 
#define EM_PPC   20 /* PowerPC */
 
#define EM_ALPHA   0x9026
 
#define EV_NONE   0 /* Invalid ELF version */
 
#define EV_CURRENT   1 /* Current version */
 
#define ELF_BSS   ".bss"
 
#define ELF_COMMENT   ".comment"
 
#define ELF_DATA   ".data"
 
#define ELF_DATA_PU   ".data_pu"
 
#define ELF_DEBUG   ".debug"
 
#define ELF_DYNAMIC   ".dynamic"
 
#define ELF_DYNSTR   ".dynstr"
 
#define ELF_DYNSYM   ".dynsym"
 
#define ELF_MSYM   ".msym"
 
#define ELF_FINI   ".fini"
 
#define ELF_GOT   ".got"
 
#define ELF_PLT   ".plt"
 
#define ELF_HASH   ".hash"
 
#define ELF_INIT   ".init"
 
#define ELF_REL_DATA   ".rel.data"
 
#define ELF_REL_FINI   ".rel.fini"
 
#define ELF_REL_INIT   ".rel.init"
 
#define ELF_REL_DYN   ".rel.dyn"
 
#define ELF_REL_RODATA   ".rel.rodata"
 
#define ELF_REL_TEXT   ".rel.text"
 
#define ELF_RODATA   ".rodata"
 
#define ELF_RODATA_PU   ".rodata_pu"
 
#define ELF_SHSTRTAB   ".shstrtab"
 
#define ELF_STRTAB   ".strtab"
 
#define ELF_SYMTAB   ".symtab"
 
#define ELF_TEXT   ".text"
 
#define MIPS_LIBLIST   ".liblist"
 
#define MIPS_MSYM   ".msym"
 
#define MIPS_CONFLICT   ".conflict"
 
#define MIPS_SDATA   ".sdata"
 
#define MIPS_SDATA_PU   ".sdata_pu"
 
#define MIPS_REL_SDATA   ".rel.sdata"
 
#define MIPS_SRDATA   ".srdata"
 
#define MIPS_SRDATA_PU   ".srdata_pu"
 
#define MIPS_RDATA   ".rdata"
 
#define MIPS_SBSS   ".sbss"
 
#define MIPS_LIT4   ".lit4"
 
#define MIPS_LIT8   ".lit8"
 
#define MIPS_LIT16   ".lit16"
 
#define MIPS_EVENTS   ".MIPS.events"
 
#define MIPS_INTERFACES   ".MIPS.interfaces"
 
#define MIPS_OPTIONS   ".MIPS.options"
 
#define MIPS_SYMBOL_LIB   ".MIPS.symlib"
 
#define MIPS_DEBUG_INFO   ".debug_info"
 
#define MIPS_DEBUG_LINE   ".debug_line"
 
#define MIPS_DEBUG_ABBREV   ".debug_abbrev"
 
#define MIPS_DEBUG_FRAME   ".debug_frame"
 
#define MIPS_DEBUG_ARANGES   ".debug_aranges"
 
#define MIPS_DEBUG_PUBNAMES   ".debug_pubnames"
 
#define MIPS_DEBUG_STR   ".debug_str"
 
#define MIPS_DEBUG_FUNCNAMES   ".debug_funcnames"
 
#define MIPS_DEBUG_TYPENAMES   ".debug_typenames"
 
#define MIPS_DEBUG_VARNAMES   ".debug_varnames"
 
#define MIPS_DEBUG_WEAKNAMES   ".debug_weaknames"
 
#define MIPS_XLATE   ".MIPS.Xlate"
 
#define MIPS_XLATE_DEBUG   ".MIPS.Xlate_debug"
 
#define MIPS_CONTENT   ".MIPS.content"
 
#define MIPS_WHIRL   ".WHIRL" /* Mips uses this name */
 
#define IA64_LIBLIST   ".liblist"
 
#define IA64_MSYM   ".msym"
 
#define IA64_CONFLICT   ".conflict"
 
#define IA64_SDATA   ".sdata"
 
#define IA64_REL_SDATA   ".rel.sdata"
 
#define IA64_SRDATA   ".srdata"
 
#define IA64_RDATA   ".rdata"
 
#define IA64_SBSS   ".sbss"
 
#define IA64_LIT4   ".lit4"
 
#define IA64_LIT8   ".lit8"
 
#define IA64_LIT16   ".lit16"
 
#define IA64_EVENTS   ".IA64.events"
 
#define IA64_INTERFACES   ".IA64.interfaces"
 
#define IA64_OPTIONS   ".IA64.options"
 
#define IA64_SYMBOL_LIB   ".IA64.symlib"
 
#define IA64_DEBUG_INFO   ".debug_info"
 
#define IA64_DEBUG_LINE   ".debug_line"
 
#define IA64_DEBUG_ABBREV   ".debug_abbrev"
 
#define IA64_DEBUG_FRAME   ".debug_frame"
 
#define IA64_DEBUG_ARANGES   ".debug_aranges"
 
#define IA64_DEBUG_PUBNAMES   ".debug_pubnames"
 
#define IA64_DEBUG_STR   ".debug_str"
 
#define IA64_DEBUG_FUNCNAMES   ".debug_funcnames"
 
#define IA64_DEBUG_TYPENAMES   ".debug_typenames"
 
#define IA64_DEBUG_VARNAMES   ".debug_varnames"
 
#define IA64_DEBUG_WEAKNAMES   ".debug_weaknames"
 
#define IA64_XLATE   ".IA64.Xlate"
 
#define IA64_XLATE_DEBUG   ".IA64.Xlate_debug"
 
#define IA64_WHIRL   ".IA64.WHIRL"
 
#define IA64_CONTENT   ".IA64.content"
 
#define IA64_ARCHEXT   ".IA_64.archext"
 
#define IA64_PLTOFF   ".IA_64.pltoff"
 
#define IA64_UNWIND   ".IA_64.unwind"
 
#define IA64_UNWIND_INFO   ".IA_64.unwind_info"
 
#define ELF64_FSZ_ADDR   8
 
#define ELF64_FSZ_HALF   2
 
#define ELF64_FSZ_OFF   8
 
#define ELF64_FSZ_SWORD   4
 
#define ELF64_FSZ_WORD   4
 
#define ELF64_FSZ_SXWORD   8
 
#define ELF64_FSZ_XWORD   8
 
#define ELF32_FSZ_ADDR   4
 
#define ELF32_FSZ_HALF   2
 
#define ELF32_FSZ_OFF   4
 
#define ELF32_FSZ_SWORD   4
 
#define ELF32_FSZ_WORD   4
 
#define ODK_NULL   0 /* Undefined */
 
#define ODK_MIPS_REGINFO   1 /* MIPS Register usage information */
 
#define ODK_REGINFO   1 /* MIPS Register usage information */
 
#define ODK_MIPS_EXCEPTIONS   2 /* MIPS Exception processing options */
 
#define ODK_EXCEPTIONS   2 /* MIPS Exception processing options */
 
#define ODK_PAD   3 /* Section padding options */
 
#define ODK_MIPS_HWPATCH   4 /* MIPS Hardware workarounds performed*/
 
#define ODK_HWPATCH   4 /* MIPS Hardware workarounds performed*/
 
#define ODK_FILL   5 /* The fill value used by the linker */
 
#define ODK_TAGS   6 /* Space for desktop tools to write */
 
#define ODK_MIPS_HWAND   7 /* HW workarounds.'AND' when merging */
 
#define ODK_HWAND   7 /* HW workarounds.'AND' when merging */
 
#define ODK_MIPS_HWOR   8 /* HW workarounds.'OR' when merging */
 
#define ODK_HWOR   8 /* HW workarounds.'OR' when merging */
 
#define ODK_GP_GROUP   9 /* GP group for text/data sections */
 
#define ODK_IDENT   10 /* ID information */
 
#define ODK_IA64_REGINFO   11 /* TO BE CHANGED! */
 
#define ODK_PAGESIZE   12 /* Alternate segment page size */
 
#define ODK_IA64_EXCEPTIONS   12 /* NOT USED! */
 
#define ODK_IA64_HWAND   13 /* NOT USED! */
 
#define ODK_IA64_HWOR   14 /* NOT USED! */
 
#define OEX_PAGE0   0x10000 /* page zero must be mapped */
 
#define OEX_SMM   0x20000 /* Force sequential memory mode? */
 
#define OEX_FPDBUG   0x40000 /* Force floating point debug mode? */
 
#define OEX_PRECISEFP   OEX_FPDBUG
 
#define OEX_DISMISS   0x80000 /* Dismiss invalid address faults? */
 
#define OEX_FPU_MIN   0x1f /* FPE's which MUST be enabled */
 
#define OEX_FPU_MAX   0x1f00 /* FPE's which MAY be enabled */
 
#define OEX_FPU_INVAL   0x10
 
#define OEX_FPU_DIV0   0x08
 
#define OEX_FPU_OFLO   0x04
 
#define OEX_FPU_UFLO   0x02
 
#define OEX_FPU_INEX   0x01
 
#define OHW_R4KEOP   0x1 /* R4000 end-of-page patch */
 
#define OHW_R8KPFETCH   0x2 /* may need R8000 prefetch patch */
 
#define OHW_R5KEOP   0x4 /* R5000 end-of-page patch */
 
#define OHW_R5KCVTL   0x8 /* R5000 cvt.[ds].l bug. clean=1 */
 
#define OHW_R10KLDL   0x10 /* R10000 requires LDL patch */
 
#define OHWO0_FIXADE   0x00000001 /* Object requires FIXADE call */
 
#define OPAD_PREFIX   0x1
 
#define OPAD_POSTFIX   0x2
 
#define OPAD_SYMBOL   0x4
 
#define OGP_GROUP   0x0000ffff /* GP group number */
 
#define OGP_SELF   0x00010000 /* Self-contained GP groups */
 
#define SHN_UNDEF   0 /* Undefined section */
 
#define SHN_LORESERVE   0xff00 /* Start of reserved indices */
 
#define SHN_LOPROC   0xff00 /* Start of processor-specific */
 
#define SHN_HIPROC   0xff1f /* End of processor-specific */
 
#define SHN_ABS   0xfff1 /* Associated symbol is absolute */
 
#define SHN_COMMON   0xfff2 /* Associated symbol is common */
 
#define SHN_HIRESERVE   0xffff /* End of reserved indices */
 
#define SHT_NULL   0 /* Section header table entry unused */
 
#define SHT_PROGBITS   1 /* Program data */
 
#define SHT_SYMTAB   2 /* Symbol table */
 
#define SHT_STRTAB   3 /* String table */
 
#define SHT_RELA   4 /* Relocation entries with addends */
 
#define SHT_HASH   5 /* Symbol hash table */
 
#define SHT_DYNAMIC   6 /* Dynamic linking information */
 
#define SHT_NOTE   7 /* Notes */
 
#define SHT_NOBITS   8 /* Program space with no data (bss) */
 
#define SHT_REL   9 /* Relocation entries, no addends */
 
#define SHT_SHLIB   10 /* Reserved */
 
#define SHT_DYNSYM   11 /* Dynamic linker symbol table */
 
#define SHT_NUM   12 /* Number of defined types. */
 
#define SHT_LOSUNW   0x6ffffffd /* Sun-specific low bound. */
 
#define SHT_GNU_verdef   0x6ffffffd /* Version definition section. */
 
#define SHT_GNU_verneed   0x6ffffffe /* Version needs section. */
 
#define SHT_GNU_versym   0x6fffffff /* Version symbol table. */
 
#define SHT_HISUNW   0x6fffffff /* Sun-specific high bound. */
 
#define SHT_LOPROC   0x70000000 /* Start of processor-specific */
 
#define SHT_HIPROC   0x7fffffff /* End of processor-specific */
 
#define SHT_LOUSER   0x80000000 /* Start of application-specific */
 
#define SHT_HIUSER   0x8fffffff /* End of application-specific */
 
#define SHF_WRITE   (1 << 0) /* Writable */
 
#define SHF_ALLOC   (1 << 1) /* Occupies memory during execution */
 
#define SHF_EXECINSTR   (1 << 2) /* Executable */
 
#define SHF_MASKPROC   0xf0000000 /* Processor-specific */
 
#define SHN_UNDEF   0 /* No section, undefined symbol. */
 
#define ELF32_ST_BIND(val)   (((unsigned char) (val)) >> 4)
 
#define ELF32_ST_TYPE(val)   ((val) & 0xf)
 
#define ELF32_ST_INFO(bind, type)   (((bind) << 4) + ((type) & 0xf))
 
#define ELF64_ST_BIND(val)   ELF32_ST_BIND (val)
 
#define ELF64_ST_TYPE(val)   ELF32_ST_TYPE (val)
 
#define ELF64_ST_INFO(bind, type)   ELF32_ST_INFO ((bind), (type))
 
#define STB_LOCAL   0 /* Local symbol */
 
#define STB_GLOBAL   1 /* Global symbol */
 
#define STB_WEAK   2 /* Weak symbol */
 
#define STB_NUM   3 /* Number of defined types. */
 
#define STB_LOPROC   13 /* Start of processor-specific */
 
#define STB_HIPROC   15 /* End of processor-specific */
 
#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's name is file name */
 
#define STT_NUM   5 /* Number of defined types. */
 
#define STT_LOPROC   13 /* Start of processor-specific */
 
#define STT_HIPROC   15 /* End of processor-specific */
 
#define STN_UNDEF   0 /* End of a chain. */
 
#define ELF32_R_SYM(val)   ((val) >> 8)
 
#define ELF32_R_TYPE(val)   ((val) & 0xff)
 
#define ELF32_R_INFO(sym, type)   (((sym) << 8) + ((type) & 0xff))
 
#define ELF64_R_SYM(i)   ((i) >> 32)
 
#define ELF64_R_TYPE(i)   ((i) & 0xffffffff)
 
#define ELF64_R_INFO(sym, type)   (((sym) << 32) + (type))
 
#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 */
 
#define PT_PHDR   6 /* Entry for header table itself */
 
#define PT_NUM   7 /* Number of defined types. */
 
#define PT_LOPROC   0x70000000 /* Start of processor-specific */
 
#define PT_HIPROC   0x7fffffff /* End of processor-specific */
 
#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_MASKPROC   0xf0000000 /* Processor-specific */
 
#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_VERSION   1 /* Contains a version string. */
 
#define DT_NULL   0 /* Marks end of dynamic section */
 
#define DT_NEEDED   1 /* Name of needed library */
 
#define DT_PLTRELSZ   2 /* Size in bytes of PLT relocs */
 
#define DT_PLTGOT   3 /* Processor defined value */
 
#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 relocs */
 
#define DT_RELASZ   8 /* Total size of Rela relocs */
 
#define DT_RELAENT   9 /* Size of one Rela reloc */
 
#define DT_STRSZ   10 /* Size of string table */
 
#define DT_SYMENT   11 /* Size of one symbol table entry */
 
#define DT_INIT   12 /* Address of init function */
 
#define DT_FINI   13 /* Address of termination function */
 
#define DT_SONAME   14 /* Name of shared object */
 
#define DT_RPATH   15 /* Library search path */
 
#define DT_SYMBOLIC   16 /* Start symbol search here */
 
#define DT_REL   17 /* Address of Rel relocs */
 
#define DT_RELSZ   18 /* Total size of Rel relocs */
 
#define DT_RELENT   19 /* Size of one Rel reloc */
 
#define DT_PLTREL   20 /* Type of reloc in PLT */
 
#define DT_DEBUG   21 /* For debugging; unspecified */
 
#define DT_TEXTREL   22 /* Reloc might modify .text */
 
#define DT_JMPREL   23 /* Address of PLT relocs */
 
#define DT_NUM   24 /* Number used */
 
#define DT_LOPROC   0x70000000 /* Start of processor-specific */
 
#define DT_HIPROC   0x7fffffff /* End of processor-specific */
 
#define DT_PROCNUM   DT_MIPS_NUM /* Most used by any processor */
 
#define DT_VERSYM   0x6ffffff0
 
#define DT_VERDEF
 
#define DT_VERDEFNUM   0x6ffffffd /* Number of version definitions */
 
#define DT_VERNEED
 
#define DT_VERNEEDNUM   0x6fffffff /* Number of needed versions */
 
#define DT_VERSIONTAGIDX(tag)   (DT_VERNEEDNUM - (tag)) /* Reverse order! */
 
#define DT_VERSIONTAGNUM   16
 
#define DT_AUXILIARY   0x7ffffffd /* Shared object to load before self */
 
#define DT_FILTER   0x7fffffff /* Shared object to get values from */
 
#define DT_EXTRATAGIDX(tag)   ((Elf32_Word)-((Elf32_Sword) (tag) <<1>>1)-1)
 
#define DT_EXTRANUM   3
 
#define VER_DEF_NONE   0 /* No version */
 
#define VER_DEF_CURRENT   1 /* Current version */
 
#define VER_DEF_NUM   2 /* Given version number */
 
#define VER_FLG_BASE   0x1 /* Version definition of file itself */
 
#define VER_FLG_WEAK   0x2 /* Weak version identifier */
 
#define VER_NEED_NONE   0 /* No version */
 
#define VER_NEED_CURRENT   1 /* Current version */
 
#define VER_NEED_NUM   2 /* Given version number */
 
#define VER_FLG_WEAK   0x2 /* Weak verison identifier */
 
#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 R_68K_NONE   0 /* No reloc */
 
#define R_68K_32   1 /* Direct 32 bit */
 
#define R_68K_16   2 /* Direct 16 bit */
 
#define R_68K_8   3 /* Direct 8 bit */
 
#define R_68K_PC32   4 /* PC relative 32 bit */
 
#define R_68K_PC16   5 /* PC relative 16 bit */
 
#define R_68K_PC8   6 /* PC relative 8 bit */
 
#define R_68K_GOT32   7 /* 32 bit PC relative GOT entry */
 
#define R_68K_GOT16   8 /* 16 bit PC relative GOT entry */
 
#define R_68K_GOT8   9 /* 8 bit PC relative GOT entry */
 
#define R_68K_GOT32O   10 /* 32 bit GOT offset */
 
#define R_68K_GOT16O   11 /* 16 bit GOT offset */
 
#define R_68K_GOT8O   12 /* 8 bit GOT offset */
 
#define R_68K_PLT32   13 /* 32 bit PC relative PLT address */
 
#define R_68K_PLT16   14 /* 16 bit PC relative PLT address */
 
#define R_68K_PLT8   15 /* 8 bit PC relative PLT address */
 
#define R_68K_PLT32O   16 /* 32 bit PLT offset */
 
#define R_68K_PLT16O   17 /* 16 bit PLT offset */
 
#define R_68K_PLT8O   18 /* 8 bit PLT offset */
 
#define R_68K_COPY   19 /* Copy symbol at runtime */
 
#define R_68K_GLOB_DAT   20 /* Create GOT entry */
 
#define R_68K_JMP_SLOT   21 /* Create PLT entry */
 
#define R_68K_RELATIVE   22 /* Adjust by program base */
 
#define R_68K_NUM   23
 
#define R_386_NONE   0 /* No reloc */
 
#define R_386_32   1 /* Direct 32 bit */
 
#define R_386_PC32   2 /* PC relative 32 bit */
 
#define R_386_GOT32   3 /* 32 bit GOT entry */
 
#define R_386_PLT32   4 /* 32 bit PLT address */
 
#define R_386_COPY   5 /* Copy symbol at runtime */
 
#define R_386_GLOB_DAT   6 /* Create GOT entry */
 
#define R_386_JMP_SLOT   7 /* Create PLT entry */
 
#define R_386_RELATIVE   8 /* Adjust by program base */
 
#define R_386_GOTOFF   9 /* 32 bit offset to GOT */
 
#define R_386_GOTPC   10 /* 32 bit PC relative offset to GOT */
 
#define R_386_NUM   11
 
#define R_SPARC_NONE   0 /* No reloc */
 
#define R_SPARC_8   1 /* Direct 8 bit */
 
#define R_SPARC_16   2 /* Direct 16 bit */
 
#define R_SPARC_32   3 /* Direct 32 bit */
 
#define R_SPARC_DISP8   4 /* PC relative 8 bit */
 
#define R_SPARC_DISP16   5 /* PC relative 16 bit */
 
#define R_SPARC_DISP32   6 /* PC relative 32 bit */
 
#define R_SPARC_WDISP30   7 /* PC relative 30 bit shifted */
 
#define R_SPARC_WDISP22   8 /* PC relative 22 bit shifted */
 
#define R_SPARC_HI22   9 /* High 22 bit */
 
#define R_SPARC_22   10 /* Direct 22 bit */
 
#define R_SPARC_13   11 /* Direct 13 bit */
 
#define R_SPARC_LO10   12 /* Truncated 10 bit */
 
#define R_SPARC_GOT10   13 /* Truncated 10 bit GOT entry */
 
#define R_SPARC_GOT13   14 /* 13 bit GOT entry */
 
#define R_SPARC_GOT22   15 /* 22 bit GOT entry shifted */
 
#define R_SPARC_PC10   16 /* PC relative 10 bit truncated */
 
#define R_SPARC_PC22   17 /* PC relative 22 bit shifted */
 
#define R_SPARC_WPLT30   18 /* 30 bit PC relative PLT address */
 
#define R_SPARC_COPY   19 /* Copy symbol at runtime */
 
#define R_SPARC_GLOB_DAT   20 /* Create GOT entry */
 
#define R_SPARC_JMP_SLOT   21 /* Create PLT entry */
 
#define R_SPARC_RELATIVE   22 /* Adjust by program base */
 
#define R_SPARC_UA32   23 /* Direct 32 bit unaligned */
 
#define R_SPARC_NUM   24
 
#define EF_MIPS_NOREORDER   1 /* A .noreorder directive was used */
 
#define EF_MIPS_PIC   2 /* Contains PIC code */
 
#define EF_MIPS_CPIC   4 /* Uses PIC calling sequence */
 
#define EF_MIPS_ARCH   0xf0000000 /* MIPS architecture level */
 
#define EI_TVERSION   15
 
#define EV_T_CURRENT   1
 
#define EF_IRIX_ABI64   0x00000010
 
#define EF_MIPS_OPSEX   EF_MIPS_NOREORDER
 
#define EF_MIPS_XGOT   0x00000008
 
#define EF_MIPS_OPTIONS_FIRST   0x00000080
 
#define EF_MIPS_UGEN_ALLOC   EF_MIPS_XGOT
 
#define EF_MIPS_UGEN_RESERVED   EF_MIPS_64BIT_WHIRL
 
#define EF_MIPS_ABI64   EF_IRIX_ABI64
 
#define EF_MIPS_64BIT_WHIRL   EF_MIPS_ABI64
 
#define EF_MIPS_ABI2   0x00000020
 
#define EF_MIPS_ARCH   0xf0000000 /* mask: 4 bit field */
 
#define EF_MIPS_ARCH_1   0x00000000
 
#define EF_MIPS_ARCH_2   0x10000000
 
#define EF_MIPS_ARCH_3   0x20000000
 
#define EF_MIPS_ARCH_4   0x30000000
 
#define EF_MIPS_ARCH_5   0x40000000
 
#define EF_MIPS_ARCH_6   0x50000000
 
#define EF_MIPS_ARCH_ASE   0x0f000000 /* mask: 4 bit field */
 
#define EF_MIPS_ARCH_ASE_MDMX   0x08000000 /* multi-media extensions*/
 
#define EF_MIPS_ARCH_ASE_M16   0x04000000 /* MIPS16 isa extensions */
 
#define EF_IA64_PIC   0x00000002
 
#define EF_IA64_CPIC   0x00000004
 
#define EF_IA64_ARCH   0xff000000
 
#define EF_IA64_ABI64   EF_IRIX_ABI64 /* 0x00000010 */
 
#define _TEXT_ALIGN   0x10000
 
#define _DATA_ALIGN   0x10000
 
#define ELF_IRIX_MAXPGSZ   (64*1024)
 
#define ELF_IRIX_MINPGSZ   (0x1000)
 
#define ELF_IA64_MAXPGSZ   ELF_IRIX_MAXPGSZ
 
#define ELF_IA64_MINPGSZ   ELF_IRIX_MINPGSZ
 
#define ELF_MIPS_MAXPGSZ   ELF_IRIX_MAXPGSZ
 
#define ELF_MIPS_MINPGSZ   ELF_IRIX_MINPGSZ
 
#define E_MIPS_ARCH_1   0x00000000 /* -mips1 code. */
 
#define E_MIPS_ARCH_2   0x10000000 /* -mips2 code. */
 
#define E_MIPS_ARCH_3   0x20000000 /* -mips3 code. */
 
#define PF_MIPS_LOCAL   0x10000000
 
#define SHN_MIPS_ACOMMON   0xff00 /* Allocated common symbols */
 
#define SHN_MIPS_TEXT   0xff01 /* Allocated test symbols. */
 
#define SHN_MIPS_DATA   0xff02 /* Allocated data symbols. */
 
#define SHN_MIPS_SCOMMON   0xff03 /* Small common symbols */
 
#define SHN_MIPS_SUNDEFINED   0xff04 /* Small undefined symbols */
 
#define SHT_MIPS_LIBLIST   0x70000000 /* Shared objects used in link */
 
#define SHT_MIPS_CONFLICT   0x70000002 /* Conflicting symbols */
 
#define SHT_MIPS_GPTAB   0x70000003 /* Global data area sizes */
 
#define SHT_MIPS_UCODE   0x70000004 /* Reserved for SGI/MIPS compilers */
 
#define SHT_MIPS_DEBUG   0x70000005 /* MIPS ECOFF debugging information */
 
#define SHT_MIPS_REGINFO   0x70000006 /* Register usage information */
 
#define SHT_MIPS_OPTIONS   0x7000000d /* Miscellaneous options. */
 
#define SHT_MIPS_DWARF   0x7000001e /* DWARF debugging information. */
 
#define SHT_MIPS_EVENTS   0x70000021 /* Event section. */
 
#define SHT_MIPS_XLATE   0x70000024
 
#define SHT_MIPS_XLATE_DEBUG   0x70000025
 
#define SHT_MIPS_WHIRL   0x70000026
 
#define SHT_MIPS_XLATE_OLD   0x70000028
 
#define SHF_MIPS_GPREL   0x10000000 /* Must be part of global data area */
 
#define SHT_IRIX_LIBLIST   (SHT_LOPROC + 0)
 
#define SHT_IRIX_MSYM   (SHT_LOPROC + 1)
 
#define SHT_IRIX_CONFLICT   (SHT_LOPROC + 2)
 
#define SHT_IRIX_GPTAB   (SHT_LOPROC + 3)
 
#define SHT_IRIX_UCODE   (SHT_LOPROC + 4)
 
#define SHT_IRIX_DEBUG   (SHT_LOPROC + 5)
 
#define SHT_IRIX_REGINFO   (SHT_LOPROC + 6)
 
#define SHT_IRIX_RELD   (SHT_LOPROC + 9)
 
#define SHT_IRIX_DONTUSE   (SHT_LOPROC + 10)
 
#define SHT_IRIX_IFACE   (SHT_LOPROC + 11)
 
#define SHT_IRIX_CONTENT   (SHT_LOPROC + 12)
 
#define SHT_IRIX_OPTIONS   (SHT_LOPROC + 13)
 
#define SHT_IRIX_SHDR   (SHT_LOPROC + 16)
 
#define SHT_IRIX_FDESC   (SHT_LOPROC + 17)
 
#define SHT_IRIX_EXTSYM   (SHT_LOPROC + 18)
 
#define SHT_IRIX_DENSE   (SHT_LOPROC + 19)
 
#define SHT_IRIX_PDESC   (SHT_LOPROC + 20)
 
#define SHT_IRIX_LOCSYM   (SHT_LOPROC + 21)
 
#define SHT_IRIX_AUXSYM   (SHT_LOPROC + 22)
 
#define SHT_IRIX_OPTSYM   (SHT_LOPROC + 23)
 
#define SHT_IRIX_LOCSTR   (SHT_LOPROC + 24)
 
#define SHT_IRIX_LINE   (SHT_LOPROC + 25)
 
#define SHT_IRIX_RFDESC   (SHT_LOPROC + 26)
 
#define SHT_IRIX_DELTASYM   (SHT_LOPROC + 27)
 
#define SHT_IRIX_DELTAINST   (SHT_LOPROC + 28)
 
#define SHT_IRIX_DELTACLASS   (SHT_LOPROC + 29)
 
#define SHT_IRIX_DWARF   (SHT_LOPROC + 30)
 
#define SHT_IRIX_DELTADECL   (SHT_LOPROC + 31)
 
#define SHT_IRIX_SYMBOL_LIB   (SHT_LOPROC + 32)
 
#define SHT_IRIX_EVENTS   (SHT_LOPROC + 33)
 
#define SHT_IRIX_TRANSLATE   (SHT_LOPROC + 34)
 
#define SHT_IRIX_PIXIE   (SHT_LOPROC + 35)
 
#define SHT_IRIX_XLATE   (SHT_LOPROC + 36)
 
#define SHT_IRIX_XLATE_DEBUG   (SHT_LOPROC + 37)
 
#define SHT_IRIX_WHIRL   (SHT_LOPROC + 38)
 
#define SHT_IRIX_EH_REGION   (SHT_LOPROC + 39)
 
#define SHT_IRIX_XLATE_OLD   (SHT_LOPROC + 40)
 
#define SHT_IRIX_PDR_EXCEPTION   (SHT_LOPROC + 41)
 
#define SHT_IRIX_EXT   (SHT_LOPROC + 42)
 
#define SHT_IRIX_UNWIND   (SHT_LOPROC + 43)
 
#define SHT_IRIX_UNWIND_INFO   (SHT_LOPROC + 44)
 
#define SHT_IRIX_PLT   (SHT_LOPROC + 45)
 
#define SHT_IRIX_PLTOFF   (SHT_LOPROC + 46)
 
#define SHT_IA64_UNWIND   SHT_IRIX_UNWIND
 
#define SHT_IA64_UNWIND_INFO   SHT_IRIX_UNWIND_INFO
 
#define SHT_IA64_OPTIONS   SHT_IRIX_OPTIONS
 
#define SHT_IRIX_NUM   47
 
#define SHT_MIPS_MSYM   SHT_IRIX_MSYM
 
#define SHT_MIPS_CONTENT   SHT_IRIX_CONTENT
 
#define SHT_MIPS_DELTADECL   SHT_IRIX_DELTADECL
 
#define SHT_MIPS_SYMBOL_LIB   SHT_IRIX_SYMBOL_LIB
 
#define SHT_MIPS_TRANSLATE   SHT_IRIX_TRANSLATE
 
#define SHT_MIPS_PIXIE   SHT_IRIX_PIXIE
 
#define SHT_MIPS_EH_REGION   SHT_IRIX_EH_REGION
 
#define SHT_MIPS_PDR_EXCEPTION   SHT_IRIX_PDR_EXCEPTION
 
#define SHT_MIPS_SHDR   SHT_IRIX_SHDR
 
#define SHT_MIPS_FDESC   SHT_IRIX_FDESC
 
#define SHT_MIPS_EXTSYM   SHT_IRIX_EXTSYM
 
#define SHT_MIPS_DENSE   SHT_IRIX_DENSE
 
#define SHT_MIPS_PDESC   SHT_IRIX_PDESC
 
#define SHT_MIPS_LOCSYM   SHT_IRIX_LOCSYM
 
#define SHT_MIPS_AUXSYM   SHT_IRIX_AUXSYM
 
#define SHT_MIPS_OPTSYM   SHT_IRIX_OPTSYM
 
#define SHT_MIPS_LOCSTR   SHT_IRIX_LOCSTR
 
#define SHT_MIPS_LINE   SHT_IRIX_LINE
 
#define SHT_MIPS_RFDESC   SHT_IRIX_RFDESC
 
#define SHT_MIPS_DONTUSE   SHT_IRIX_DONTUSE
 
#define SHF_IRIX_GPREL   0x10000000
 
#define SHF_IRIX_MERGE   0x20000000
 
#define SHF_IRIX_ADDR   0x40000000 /* Reserved for future */
 
#define SHF_IRIX_STRINGS   0x80000000 /* Reserved for future */
 
#define SHF_IRIX_NOSTRIP   0x08000000
 
#define SHF_IRIX_LOCAL   0x04000000
 
#define SHF_IRIX_NAMES   0x02000000 /* Reserved for future */
 
#define SHF_IRIX_NODUPE   0x01000000 /* Reserved for future */
 
#define SHF_MIPS_MERGE   SHF_IRIX_MERGE
 
#define SHF_MIPS_ADDR   SHF_IRIX_ADDR
 
#define SHF_MIPS_STRINGS   SHF_IRIX_STRINGS
 
#define SHF_MIPS_NOSTRIP   SHF_IRIX_NOSTRIP
 
#define SHF_MIPS_LOCAL   SHF_IRIX_LOCAL
 
#define SHF_MIPS_NAMES   SHF_IRIX_NAMES
 
#define SHF_MIPS_NODUPE   SHF_IRIX_NODUPE
 
#define SHT_MIPS_IFACE   SHT_IRIX_IFACE
 
#define STO_DEFAULT   0x0
 
#define STO_INTERNAL   0x1
 
#define STO_HIDDEN   0x2
 
#define STO_PROTECTED   0x3
 
#define STO_OPTIONAL   0x4
 
#define STO_SC_ALIGN_UNUSED   0xff /* No longer used */
 
#define STB_SPLIT_COMMON   (STB_LOPROC+0)
 
#define SHN_IRIX_ACOMMON   (SHN_LOPROC + 0)
 
#define SHN_IRIX_TEXT   (SHN_LOPROC + 1)
 
#define SHN_IRIX_DATA   (SHN_LOPROC + 2)
 
#define SHN_IRIX_SCOMMON   (SHN_LOPROC + 3)
 
#define SHN_IRIX_SUNDEFINED   (SHN_LOPROC + 4)
 
#define SHN_IRIX_LCOMMON   (SHN_LOPROC + 5)
 
#define SHN_IRIX_LUNDEFINED   (SHN_LOPROC + 6)
 
#define SHN_MIPS_LCOMMON   SHN_IRIX_LCOMMON
 
#define SHN_MIPS_LUNDEFINED   SHN_IRIX_LUNDEFINED
 
#define EK_DEF_UCHAR   (1) /* unsigned char (8 bits) */
 
#define EK_DEF_USHORT   (2) /* unsigned short (16 bits) */
 
#define EK_DEF_UINT   (3) /* unsigned int (32 bits) */
 
#define EK_DEF_ULONG   (4) /* unsigned long (64 bits) */
 
#define EK_DEF_ULEB128   (5) /* unsigned LEB128 encoded number */
 
#define EK_DEF_CHAR   (6) /* signed char (8 bits) */
 
#define EK_DEF_SHORT   (7) /* signed short (16 bits) */
 
#define EK_DEF_INT   (8) /* signed int (32 bits) */
 
#define EK_DEF_LONG   (9) /* signed long (64 bits) */
 
#define EK_DEF_LEB128   (10) /* signed LEB128 encoded number */
 
#define EK_DEF_STRING   (11) /* null terminated string */
 
#define EK_DEF_VAR
 
#define CK_DEF   EK_DEF
 
#define R_MIPS_GPREL   7
 
#define SA_PROTOTYPED   0x8000 /* Does def or ref have prototype ? */
 
#define SA_VARARGS   0x4000 /* Is this a varargs subprogram ? */
 
#define SA_PIC   0x2000 /* Are memory references PIC? */
 
#define SA_DSO_ENTRY   0x1000 /* Is subprogram valid DSO entry? */
 
#define SA_ADDRESSED   0x0800 /* Is subprogram address taken? */
 
#define SA_FUNCTION   0x0400 /* Does subprogram return a result? */
 
#define SA_NESTED   0x0200 /* Is subprogram nested? */
 
#define SA_IGNORE_ERROR   0x0100 /* Ignore consistency errors? */
 
#define SA_DEFINITION   0x0080 /* Is this a definition (no just call)? */
 
#define SA_AT_FREE   0x0040 /* Is the at register free at all branches? */
 
#define SA_FREE_REGS   0x0020 /* Free register mask precedes parm profile */
 
#define SA_PARAMETERS   0x0010 /* Parameter profile follows descriptor? */
 
#define SA_ALTINTERFACE   0x0008 /* Alternate descriptor follows? */
 
#define FT_unknown   0x0000
 
#define FT_signed_char   0x0001
 
#define FT_unsigned_char   0x0002
 
#define FT_signed_short   0x0003
 
#define FT_unsigned_short   0x0004
 
#define FT_signed_int32   0x0005
 
#define FT_unsigned_int32   0x0006
 
#define FT_signed_int64   0x0007
 
#define FT_unsigned_int64   0x0008
 
#define FT_pointer32   0x0009
 
#define FT_pointer64   0x000a
 
#define FT_float32   0x000b
 
#define FT_float64   0x000c
 
#define FT_float128   0x000d
 
#define FT_complex64   0x000e
 
#define FT_complex128   0x000f
 
#define FT_complex256   0x0010
 
#define FT_void   0x0011
 
#define FT_bool32   0x0012
 
#define FT_bool64   0x0013
 
#define FT_label32   0x0014
 
#define FT_label64   0x0015
 
#define FT_struct   0x0020
 
#define FT_union   0x0021
 
#define FT_enum   0x0022
 
#define FT_typedef   0x0023
 
#define FT_set   0x0024
 
#define FT_range   0x0025
 
#define FT_member_ptr   0x0026
 
#define FT_virtual_ptr   0x0027
 
#define FT_class   0x0028
 
#define MOD_pointer_to   0x01
 
#define MOD_reference_to   0x02
 
#define MOD_const   0x03
 
#define MOD_volatile   0x04
 
#define MOD_function   0x80
 
#define MOD_array_of   0x81
 
#define PDM_TYPE   0x00ff /* Fundamental type of parameter */
 
#define PDM_REFERENCE   0x4000 /* Reference parameter ? */
 
#define PDM_SIZE   0x2000 /* Followed by explicit 32-bit byte count? */
 
#define PDM_Qualifiers   0x0f00 /* Count of type qualifiers << 8 */
 
#define PDMF_REFERENCE   0x40
 
#define PDMF_SIZE   0x20
 
#define PDMF_Qualifiers   0x0f
 
#define R_MIPS_NONE   0 /* No reloc */
 
#define R_MIPS_16   1 /* Direct 16 bit */
 
#define R_MIPS_32   2 /* Direct 32 bit */
 
#define R_MIPS_REL32   3 /* PC relative 32 bit */
 
#define R_MIPS_26   4 /* Direct 26 bit shifted */
 
#define R_MIPS_HI16   5 /* High 16 bit */
 
#define R_MIPS_LO16   6 /* Low 16 bit */
 
#define R_MIPS_GPREL16   7 /* GP relative 16 bit */
 
#define R_MIPS_LITERAL   8 /* 16 bit literal entry */
 
#define R_MIPS_GOT16   9 /* 16 bit GOT entry */
 
#define R_MIPS_PC16   10 /* PC relative 16 bit */
 
#define R_MIPS_CALL16   11 /* 16 bit GOT entry for function */
 
#define R_MIPS_GPREL32   12 /* GP relative 32 bit */
 
#define R_MIPS_NUM   13
 
#define R_MIPS_SHIFT5   16
 
#define R_MIPS_SHIFT6   17
 
#define R_MIPS_64   18
 
#define R_MIPS_GOT_DISP   19
 
#define R_MIPS_GOT_PAGE   20
 
#define R_MIPS_GOT_OFST   21
 
#define R_MIPS_GOT_HI16   22
 
#define R_MIPS_GOT_LO16   23
 
#define R_MIPS_SUB   24
 
#define R_MIPS_INSERT_A   25
 
#define R_MIPS_INSERT_B   26
 
#define R_MIPS_DELETE   27
 
#define R_MIPS_HIGHER   28
 
#define R_MIPS_HIGHEST   29
 
#define R_MIPS_CALL_HI16   30
 
#define R_MIPS_CALL_LO16   31
 
#define R_MIPS_SCN_DISP   32
 
#define R_MIPS_REL16   33
 
#define R_MIPS_ADD_IMMEDIATE   34
 
#define R_MIPS_PJUMP   35
 
#define R_MIPS_RELGOT   36
 
#define R_MIPS_JALR   37
 
#define _R_MIPS_COUNT_   38 /* Number of relocations */
 
#define PT_MIPS_REGINFO   0x70000000 /* Register usage information */
 
#define PT_IA64_ARCHEXT   (PT_LOPROC + 0)
 
#define PT_IA64_UNWIND   (PT_LOPROC + 1)
 
#define PT_IA64_OPTIONS   (PT_LOPROC + 2)
 
#define PF_IA64_NORECOV   0x80000000
 
#define DT_MIPS_RLD_VERSION   0x70000001 /* Runtime linker interface version */
 
#define DT_MIPS_TIME_STAMP   0x70000002 /* Timestamp */
 
#define DT_MIPS_ICHECKSUM   0x70000003 /* Checksum */
 
#define DT_MIPS_IVERSION   0x70000004 /* Version string (string tbl index) */
 
#define DT_MIPS_FLAGS   0x70000005 /* Flags */
 
#define DT_MIPS_BASE_ADDRESS   0x70000006 /* Base address */
 
#define DT_MIPS_MSYM   0x70000007
 
#define DT_MIPS_CONFLICT   0x70000008 /* Address of CONFLICT section */
 
#define DT_MIPS_LIBLIST   0x70000009 /* Address of LIBLIST section */
 
#define DT_MIPS_LOCAL_GOTNO   0x7000000a /* Number of local GOT entries */
 
#define DT_MIPS_CONFLICTNO   0x7000000b /* Number of CONFLICT entries */
 
#define DT_MIPS_LIBLISTNO   0x70000010 /* Number of LIBLIST entries */
 
#define DT_MIPS_SYMTABNO   0x70000011 /* Number of DYNSYM entries */
 
#define DT_MIPS_UNREFEXTNO   0x70000012 /* First external DYNSYM */
 
#define DT_MIPS_GOTSYM   0x70000013 /* First GOT entry in DYNSYM */
 
#define DT_MIPS_HIPAGENO   0x70000014 /* Number of GOT page table entries */
 
#define DT_MIPS_RLD_MAP   0x70000016 /* Address of run time loader map. */
 
#define DT_MIPS_NUM   0x17
 
#define RHF_NONE   0 /* No flags */
 
#define RHF_QUICKSTART   (1 << 0) /* Use quickstart */
 
#define RHF_NOTPOT   (1 << 1) /* Hash size not power of 2 */
 
#define RHF_NO_LIBRARY_REPLACEMENT   (1 << 2) /* Ignore LD_LIBRARY_PATH */
 
#define LL_EXACT_MATCH   (1 << 0) /* Require exact match */
 
#define LL_IGNORE_INT_VER   (1 << 1) /* Ignore interface version */
 
#define LL_NONE   0
 
#define LL_REQUIRE_MINOR   0x4
 
#define LL_EXPORTS   0x8
 
#define LL_DELAY_LOAD   0x10
 
#define LL_DELTA   0x20
 
#define RHF_NO_MOVE   0x00000008
 
#define RHF_SGI_ONLY   0x00000010
 
#define RHF_GUARANTEE_INIT   0x00000020
 
#define RHF_DELTA_C_PLUS_PLUS   0x00000040
 
#define RHF_GUARANTEE_START_INIT   0x00000080
 
#define RHF_PIXIE   0x00000100
 
#define RHF_DEFAULT_DELAY_LOAD   0x00000200
 
#define RHF_REQUICKSTART   0x00000400
 
#define RHF_REQUICKSTARTED   0x00000800
 
#define RHF_CORD   0x00001000
 
#define RHF_NO_UNRES_UNDEF   0x00002000
 
#define RHF_RLD_ORDER_SAFE   0x00004000
 
#define DT_IRIX_LTR   0x70000033
 
#define DT_IRIX_LPT   0x70000034
 
#define DT_IRIX_LPT_IDX   0x70000035
 
#define DT_IRIX_LPT_NO   0x70000036
 
#define DT_IRIX_PLT   0x70000037
 
#define DT_IRIX_PLT_NON_PREEMPT_IDX   0x70000038
 
#define DT_IRIX_PLT_NON_PREEMPT_NO   0x70000039
 
#define DT_IRIX_PLT_IN_DYNSYM_IDX   0x7000003A
 
#define DT_IRIX_PLT_IN_DYMSYM_NO   0x7000003B
 
#define DT_IRIX_PLT_PROTECTED_IDX   0x7000003C
 
#define DT_IRIX_PLT_PROTECTED_NO   0x7000003D
 
#define DT_IRIX_PLT_PREEMPT_IDX   0x7000003E
 
#define DT_IRIX_PLT_PREEMPT_NO   0x7000003F
 
#define DT_IRIX_DLT   0x70000040
 
#define DT_IRIX_DLT_NON_PREEMPT_IDX   0x70000041
 
#define DT_IRIX_DLT_NON_PREEMPT_NO   0x70000042
 
#define DT_IRIX_DLT_IN_DYNSYM_IDX   0x70000043
 
#define DT_IRIX_DLT_IN_DYMSYM_NO   0x70000044
 
#define DT_IRIX_DLT_PROTECTED_IDX   0x70000045
 
#define DT_IRIX_DLT_PROTECTED_NO   0x70000046
 
#define DT_IRIX_DLT_PREEMPT_IDX   0x70000047
 
#define DT_IRIX_DLT_PREEMPT_NO   0x70000048
 
#define DT_IRIX_DSYM_PLT_IDX   0x70000049
 
#define DT_IRIX_DSYM_DLT_IDX   0x7000004A
 
#define DT_MIPS_70000015   0x70000015 /* reserved */
 
#define DT_MIPS_CXX_FLAGS   0x70000022 /* Flags: C++ flavor */
 
#define DT_MIPS_PIXIE_INIT   0x70000023 /* Init code for pixie */
 
#define DT_MIPS_SYMBOL_LIB   0x70000024
 
#define DT_MIPS_LOCALPAGE_GOTIDX   0x70000025
 
#define DT_MIPS_LOCAL_GOTIDX   0x70000026
 
#define DT_MIPS_HIDDEN_GOTIDX   0x70000027
 
#define DT_MIPS_PROTECTED_GOTIDX   0x70000028
 
#define DT_MIPS_OPTIONS   0x70000029 /* Address of .options */
 
#define DT_MIPS_INTERFACE   0x7000002a /* Address of .interface */
 
#define DT_MIPS_DYNSTR_ALIGN   0x7000002b
 
#define DT_MIPS_INTERFACE_SIZE   0x7000002c /* size of the .interface */
 
#define DT_MIPS_RLD_TEXT_RESOLVE_ADDR   0x7000002d /* Addr of rld_text_resolve */
 
#define DT_MIPS_PERF_SUFFIX
 
#define DT_MIPS_COMPACT_SIZE   0x7000002f /* (O32)Size of .compact_rel */
 
#define DT_MIPS_GP_VALUE   0x70000030 /* gp value for aux gots */
 
#define DT_MIPS_AUX_DYNAMIC   0x70000031 /* Address of aux .dynamic */
 
#define RLD_VERSION   1
 
#define SHT_PARISC_GOT   0x70000000 /* GOT for external data. */
 
#define SHT_PARISC_ARCH   0x70000001 /* Architecture extensions. */
 
#define SHT_PARISC_GLOBAL   0x70000002 /* Definition of $global$. */
 
#define SHT_PARISC_MILLI   0x70000003 /* Millicode routines. */
 
#define SHT_PARISC_UNWIND   0x70000004 /* Unwind information. */
 
#define SHT_PARISC_PLT   0x70000005 /* Procedure linkage table. */
 
#define SHT_PARISC_SDATA   0x70000006 /* Short initialized data. */
 
#define SHT_PARISC_SBSS   0x70000007 /* Short uninitialized data. */
 
#define SHT_PARISC_SYMEXTN   0x70000008 /* Argument/relocation info. */
 
#define SHT_PARISC_STUBS   0x70000009 /* Linker stubs. */
 
#define SHF_PARISC_SHORT   0x20000000 /* Section with short addressing. */
 
#define STT_PARISC_MILLICODE   13 /* Millicode function entry point. */
 
#define R_ALPHA_NONE   0 /* No reloc */
 
#define R_ALPHA_REFLONG   1 /* Direct 32 bit */
 
#define R_ALPHA_REFQUAD   2 /* Direct 64 bit */
 
#define R_ALPHA_GPREL32   3 /* GP relative 32 bit */
 
#define R_ALPHA_LITERAL   4 /* GP relative 16 bit w/optimization */
 
#define R_ALPHA_LITUSE   5 /* Optimization hint for LITERAL */
 
#define R_ALPHA_GPDISP   6 /* Add displacement to GP */
 
#define R_ALPHA_BRADDR   7 /* PC+4 relative 23 bit shifted */
 
#define R_ALPHA_HINT   8 /* PC+4 relative 16 bit shifted */
 
#define R_ALPHA_SREL16   9 /* PC relative 16 bit */
 
#define R_ALPHA_SREL32   10 /* PC relative 32 bit */
 
#define R_ALPHA_SREL64   11 /* PC relative 64 bit */
 
#define R_ALPHA_OP_PUSH   12 /* OP stack push */
 
#define R_ALPHA_OP_STORE   13 /* OP stack pop and store */
 
#define R_ALPHA_OP_PSUB   14 /* OP stack subtract */
 
#define R_ALPHA_OP_PRSHIFT   15 /* OP stack right shift */
 
#define R_ALPHA_GPVALUE   16
 
#define R_ALPHA_GPRELHIGH   17
 
#define R_ALPHA_GPRELLOW   18
 
#define R_ALPHA_IMMED_GP_16   19
 
#define R_ALPHA_IMMED_GP_HI32   20
 
#define R_ALPHA_IMMED_SCN_HI32   21
 
#define R_ALPHA_IMMED_BR_HI32   22
 
#define R_ALPHA_IMMED_LO32   23
 
#define R_ALPHA_COPY   24 /* Copy symbol at runtime */
 
#define R_ALPHA_GLOB_DAT   25 /* Create GOT entry */
 
#define R_ALPHA_JMP_SLOT   26 /* Create PLT entry */
 
#define R_ALPHA_RELATIVE   27 /* Adjust by program base */
 
#define R_ALPHA_NUM   28
 
#define SHT_MIPS_IPALNO   (SHT_LOPROC + 42)
 
#define SHF_IA_64_SHORT   SHF_MIPS_GPREL
 

Typedefs

typedef uint16_t Elf64_Half
 
typedef uint32_t Elf32_Word
 
typedef int32_t Elf32_Sword
 
typedef uint32_t Elf64_Word
 
typedef int32_t Elf64_Sword
 
typedef uint64_t Elf32_Xword
 
typedef int64_t Elf32_Sxword
 
typedef uint64_t Elf64_Xword
 
typedef int64_t Elf64_Sxword
 
typedef uint32_t Elf32_Addr
 
typedef uint64_t Elf64_Addr
 
typedef uint32_t Elf32_Off
 
typedef uint64_t Elf64_Off
 
typedef uint16_t Elf32_Section
 
typedef uint16_t Elf64_Section
 
typedef uint32_t Elf32_Symndx
 
typedef uint64_t Elf64_Symndx
 
typedef unsigned char Elf32_Byte
 
typedef unsigned char Elf64_Byte
 
typedef Elf_MIPS_Event_Kind Elf_Event_Kind
 
typedef Elf_Ifd Elf_Interface_Descriptor
 
typedef Elf32_Addr Elf32_Conflict
 
typedef Elf64_Addr Elf64_Conflict
 

Enumerations

enum  Elf_MIPS_Content_Kind {
  CK_NULL = 0, CK_DEFAULT = 0x30, CK_ALIGN = 0x31, CK_INSTR = 0x32,
  CK_DATA = 0x33, CK_SADDR_32 = 0x34, CK_GADDR_32 = 0x35, CK_CADDR_32 = 0x36,
  CK_SADDR_64 = 0x37, CK_GADDR_64 = 0x38, CK_CADDR_64 = 0x39, CK_NO_XFORM = 0x3a,
  CK_NO_REORDER = 0x3b, CK_GP_GROUP = 0x3c, CK_STUBS = 0x3d
}
 
enum  Elf64_Rel_Ssym { RSS_UNDEF = 0, RSS_GP = 1, RSS_GP0 = 2, RSS_LOC = 3 }
 
enum  {
  R_IA_64_NONE = 0x00, R_IA_64_IMM14 = 0x21, R_IA_64_IMM22 = 0x22, R_IA_64_IMM64 = 0x23,
  R_IA_64_DIR32MSB = 0x24, R_IA_64_DIR32LSB = 0x25, R_IA_64_DIR64MSB = 0x26, R_IA_64_DIR64LSB = 0x27,
  R_IA_64_GPREL22 = 0x2a, R_IA_64_GPREL64I = 0x2b, R_IA_64_GPREL64MSB = 0x2e, R_IA_64_GPREL64LSB = 0x2f,
  R_IA_64_LTOFF22 = 0x32, R_IA_64_LTOFF64I = 0x33, R_IA_64_PLTOFF22 = 0x3a, R_IA_64_PLTOFF64I = 0x3b,
  R_IA_64_PLTOFF64MSB = 0x3e, R_IA_64_PLTOFF64LSB = 0x3f, R_IA_64_FPTR64I = 0x43, R_IA_64_FPTR32MSB = 0x44,
  R_IA_64_FPTR32LSB = 0x45, R_IA_64_FPTR64MSB = 0x46, R_IA_64_FPTR64LSB = 0x47, R_IA_64_PCREL21B = 0x49,
  R_IA_64_PCREL21M = 0x4a, R_IA_64_PCREL21F = 0x4b, R_IA_64_PCREL32MSB = 0x4c, R_IA_64_PCREL32LSB = 0x4d,
  R_IA_64_PCREL64MSB = 0x4e, R_IA_64_PCREL64LSB = 0x4f, R_IA_64_LTOFF_FPTR22 = 0x52, R_IA_64_LTOFF_FPTR64I = 0x53,
  R_IA_64_SEGREL32MSB = 0x5c, R_IA_64_SEGREL32LSB = 0x5d, R_IA_64_SEGREL64MSB = 0x5e, R_IA_64_SEGREL64LSB = 0x5f,
  R_IA_64_SECREL32MSB = 0x64, R_IA_64_SECREL32LSB = 0x65, R_IA_64_SECREL64MSB = 0x66, R_IA_64_SECREL64LSB = 0x67,
  R_IA_64_REL32MSB = 0x6c, R_IA_64_REL32LSB = 0x6d, R_IA_64_REL64MSB = 0x6e, R_IA_64_REL64LSB = 0x6f,
  R_IA_64_LTV32MSB = 0x70, R_IA_64_LTV32LSB = 0x71, R_IA_64_LTV64MSB = 0x72, R_IA_64_LTV64LSB = 0x73,
  R_IA_64_IPLTMSB = 0x80, R_IA_64_IPLTLSB = 0x81, R_IA_64_END_ = 0x82
}
 
enum  Elf_MIPS_Event_Kind {
  EK_NULL = 0x00, EK_ADDR_RESET = 0x01, EK_INCR_LOC_EXT = 0x02, EK_ENTRY = 0x03,
  EK_IF_ENTRY = 0x04, EK_EXIT = 0x05, EK_PEND = 0x06, EK_SWITCH_32 = 0x7,
  EK_SWITCH_64 = 0x8, EK_DUMMY = 0x09, EK_BB_START = 0x0a, EK_INCR_LOC_UNALIGNED = 0x0b,
  EK_GP_PROLOG_HI = 0x0c, EK_GP_PROLOG_LO = 0x0d, EK_GOT_PAGE = 0x0e, EK_GOT_OFST = 0x0f,
  EK_HI = 0x10, EK_LO = 0x11, EK_64_HIGHEST = 0x12, EK_64_HIGHER = 0x13,
  EK_64_HIGH = 0x14, EK_64_LOW = 0x15, EK_GPREL = 0x16, EK_DEF = 0x17,
  EK_FCALL_LOCAL = 0x18, EK_FCALL_EXTERN = 0x19, EK_FCALL_EXTERN_BIG = 0x1a, EK_FCALL_MULT = 0x1b,
  EK_FCALL_MULT_PARTIAL = 0x1c, EK_LTR_FCALL = 0x1d, EK_PCREL_GOT0 = 0x1e, EK_MEM_COPY_LOAD = 0x1f,
  EK_MEM_COPY_STORE = 0x20, EK_MEM_PARTIAL_LOAD = 0x21, EK_MEM_EAGER_LOAD = 0x22, EK_MEM_VALID_LOAD = 0x23,
  EK_CK_UNUSED_NONE_0 = 0x50, EK_CK_UNUSED_NONE_1 = 0x51, EK_CK_UNUSED_NONE_2 = 0x52, EK_CK_UNUSED_NONE_3 = 0x53,
  EK_CK_UNUSED_NONE_4 = 0x54, EK_CK_UNUSED_16BIT_0 = 0x55, EK_CK_UNUSED_16BIT_1 = 0x56, EK_CK_UNUSED_16BIT_2 = 0x57,
  EK_CK_UNUSED_16BIT_3 = 0x58, EK_CK_UNUSED_16BIT_4 = 0x59, EK_CK_UNUSED_32BIT_0 = 0x5a, EK_CK_UNUSED_32BIT_1 = 0x5b,
  EK_CK_UNUSED_32BIT_2 = 0x5c, EK_CK_UNUSED_64BIT_0 = 0x5d, EK_CK_UNUSED_64BIT_1 = 0x5e, EK_CK_UNUSED_64BIT_2 = 0x5f,
  EK_CK_UNUSED_64BIT_3 = 0x60, EK_CK_UNUSED_64BIT_4 = 0x61, EK_CK_UNUSED_ULEB128_0 = 0x62, EK_CK_UNUSED_ULEB128_1 = 0x63,
  EK_CK_UNUSED_ULEB128_2 = 0x64, EK_CK_UNUSED_ULEB128_3 = 0x65, EK_CK_UNUSED_ULEB128_4 = 0x66, EK_CK_UNUSED_ULEB128_5 = 0x67,
  EK_CK_UNUSED_ULEB128_6 = 0x68, EK_CK_UNUSED_ULEB128_7 = 0x69, EK_CK_UNUSED_ULEB128_8 = 0x6a, EK_CK_UNUSED_ULEB128_9 = 0x6b,
  EK_INCR_LOC = 0x80
}
 

Variables

__BEGIN_DECLS typedef uint16_t Elf32_Half
 
Elf64_Conflict _ConflictList64 []
 

Macro Definition Documentation

#define __BEGIN_DECLS

Definition at line 72 of file elf.h.

#define __END_DECLS

Definition at line 73 of file elf.h.

#define _DATA_ALIGN   0x10000

Definition at line 1295 of file elf.h.

#define _DOTDOTDOT

Definition at line 74 of file elf.h.

#define _R_MIPS_COUNT_   38 /* Number of relocations */

Definition at line 1806 of file elf.h.

#define _TEXT_ALIGN   0x10000

Definition at line 1294 of file elf.h.

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

Definition at line 990 of file elf.h.

#define AT_EGID   14 /* Effective gid */

Definition at line 997 of file elf.h.

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

Definition at line 992 of file elf.h.

#define AT_EUID   12 /* Effective uid */

Definition at line 995 of file elf.h.

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

Definition at line 985 of file elf.h.

#define AT_FLAGS   8 /* Flags */

Definition at line 991 of file elf.h.

#define AT_GID   13 /* Real gid */

Definition at line 996 of file elf.h.

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

Definition at line 984 of file elf.h.

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

Definition at line 993 of file elf.h.

#define AT_NULL   0 /* End of vector */

Definition at line 983 of file elf.h.

#define AT_PAGESZ   6 /* System page size */

Definition at line 989 of file elf.h.

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

Definition at line 986 of file elf.h.

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

Definition at line 987 of file elf.h.

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

Definition at line 988 of file elf.h.

#define AT_UID   11 /* Real uid */

Definition at line 994 of file elf.h.

#define CK_DEF   EK_DEF

Definition at line 1652 of file elf.h.

#define DT_AUXILIARY   0x7ffffffd /* Shared object to load before self */

Definition at line 879 of file elf.h.

#define DT_DEBUG   21 /* For debugging; unspecified */

Definition at line 855 of file elf.h.

#define DT_EXTRANUM   3

Definition at line 882 of file elf.h.

#define DT_EXTRATAGIDX (   tag)    ((Elf32_Word)-((Elf32_Sword) (tag) <<1>>1)-1)

Definition at line 881 of file elf.h.

#define DT_FILTER   0x7fffffff /* Shared object to get values from */

Definition at line 880 of file elf.h.

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

Definition at line 847 of file elf.h.

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

Definition at line 838 of file elf.h.

#define DT_HIPROC   0x7fffffff /* End of processor-specific */

Definition at line 860 of file elf.h.

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

Definition at line 846 of file elf.h.

#define DT_IRIX_DLT   0x70000040

Definition at line 2083 of file elf.h.

#define DT_IRIX_DLT_IN_DYMSYM_NO   0x70000044

Definition at line 2087 of file elf.h.

#define DT_IRIX_DLT_IN_DYNSYM_IDX   0x70000043

Definition at line 2086 of file elf.h.

#define DT_IRIX_DLT_NON_PREEMPT_IDX   0x70000041

Definition at line 2084 of file elf.h.

#define DT_IRIX_DLT_NON_PREEMPT_NO   0x70000042

Definition at line 2085 of file elf.h.

#define DT_IRIX_DLT_PREEMPT_IDX   0x70000047

Definition at line 2090 of file elf.h.

#define DT_IRIX_DLT_PREEMPT_NO   0x70000048

Definition at line 2091 of file elf.h.

#define DT_IRIX_DLT_PROTECTED_IDX   0x70000045

Definition at line 2088 of file elf.h.

#define DT_IRIX_DLT_PROTECTED_NO   0x70000046

Definition at line 2089 of file elf.h.

#define DT_IRIX_DSYM_DLT_IDX   0x7000004A

Definition at line 2093 of file elf.h.

#define DT_IRIX_DSYM_PLT_IDX   0x70000049

Definition at line 2092 of file elf.h.

#define DT_IRIX_LPT   0x70000034

Definition at line 2071 of file elf.h.

#define DT_IRIX_LPT_IDX   0x70000035

Definition at line 2072 of file elf.h.

#define DT_IRIX_LPT_NO   0x70000036

Definition at line 2073 of file elf.h.

#define DT_IRIX_LTR   0x70000033

Definition at line 2070 of file elf.h.

#define DT_IRIX_PLT   0x70000037

Definition at line 2074 of file elf.h.

#define DT_IRIX_PLT_IN_DYMSYM_NO   0x7000003B

Definition at line 2078 of file elf.h.

#define DT_IRIX_PLT_IN_DYNSYM_IDX   0x7000003A

Definition at line 2077 of file elf.h.

#define DT_IRIX_PLT_NON_PREEMPT_IDX   0x70000038

Definition at line 2075 of file elf.h.

#define DT_IRIX_PLT_NON_PREEMPT_NO   0x70000039

Definition at line 2076 of file elf.h.

#define DT_IRIX_PLT_PREEMPT_IDX   0x7000003E

Definition at line 2081 of file elf.h.

#define DT_IRIX_PLT_PREEMPT_NO   0x7000003F

Definition at line 2082 of file elf.h.

#define DT_IRIX_PLT_PROTECTED_IDX   0x7000003C

Definition at line 2079 of file elf.h.

#define DT_IRIX_PLT_PROTECTED_NO   0x7000003D

Definition at line 2080 of file elf.h.

#define DT_JMPREL   23 /* Address of PLT relocs */

Definition at line 857 of file elf.h.

#define DT_LOPROC   0x70000000 /* Start of processor-specific */

Definition at line 859 of file elf.h.

#define DT_MIPS_70000015   0x70000015 /* reserved */

Definition at line 2113 of file elf.h.

#define DT_MIPS_AUX_DYNAMIC   0x70000031 /* Address of aux .dynamic */

Definition at line 2152 of file elf.h.

#define DT_MIPS_BASE_ADDRESS   0x70000006 /* Base address */

Definition at line 1869 of file elf.h.

#define DT_MIPS_COMPACT_SIZE   0x7000002f /* (O32)Size of .compact_rel */

Definition at line 2150 of file elf.h.

#define DT_MIPS_CONFLICT   0x70000008 /* Address of CONFLICT section */

Definition at line 1871 of file elf.h.

#define DT_MIPS_CONFLICTNO   0x7000000b /* Number of CONFLICT entries */

Definition at line 1874 of file elf.h.

#define DT_MIPS_CXX_FLAGS   0x70000022 /* Flags: C++ flavor */

Definition at line 2136 of file elf.h.

#define DT_MIPS_DYNSTR_ALIGN   0x7000002b

Definition at line 2145 of file elf.h.

#define DT_MIPS_FLAGS   0x70000005 /* Flags */

Definition at line 1868 of file elf.h.

#define DT_MIPS_GOTSYM   0x70000013 /* First GOT entry in DYNSYM */

Definition at line 1878 of file elf.h.

#define DT_MIPS_GP_VALUE   0x70000030 /* gp value for aux gots */

Definition at line 2151 of file elf.h.

#define DT_MIPS_HIDDEN_GOTIDX   0x70000027

Definition at line 2141 of file elf.h.

#define DT_MIPS_HIPAGENO   0x70000014 /* Number of GOT page table entries */

Definition at line 1879 of file elf.h.

#define DT_MIPS_ICHECKSUM   0x70000003 /* Checksum */

Definition at line 1866 of file elf.h.

#define DT_MIPS_INTERFACE   0x7000002a /* Address of .interface */

Definition at line 2144 of file elf.h.

#define DT_MIPS_INTERFACE_SIZE   0x7000002c /* size of the .interface */

Definition at line 2146 of file elf.h.

#define DT_MIPS_IVERSION   0x70000004 /* Version string (string tbl index) */

Definition at line 1867 of file elf.h.

#define DT_MIPS_LIBLIST   0x70000009 /* Address of LIBLIST section */

Definition at line 1872 of file elf.h.

#define DT_MIPS_LIBLISTNO   0x70000010 /* Number of LIBLIST entries */

Definition at line 1875 of file elf.h.

#define DT_MIPS_LOCAL_GOTIDX   0x70000026

Definition at line 2140 of file elf.h.

#define DT_MIPS_LOCAL_GOTNO   0x7000000a /* Number of local GOT entries */

Definition at line 1873 of file elf.h.

#define DT_MIPS_LOCALPAGE_GOTIDX   0x70000025

Definition at line 2139 of file elf.h.

#define DT_MIPS_MSYM   0x70000007

Definition at line 1870 of file elf.h.

#define DT_MIPS_NUM   0x17

Definition at line 1881 of file elf.h.

#define DT_MIPS_OPTIONS   0x70000029 /* Address of .options */

Definition at line 2143 of file elf.h.

#define DT_MIPS_PERF_SUFFIX
Value:
0x7000002e /* suffix to be added to dso
* name before dlopen() call */

Definition at line 2148 of file elf.h.

#define DT_MIPS_PIXIE_INIT   0x70000023 /* Init code for pixie */

Definition at line 2137 of file elf.h.

#define DT_MIPS_PROTECTED_GOTIDX   0x70000028

Definition at line 2142 of file elf.h.

#define DT_MIPS_RLD_MAP   0x70000016 /* Address of run time loader map. */

Definition at line 1880 of file elf.h.

#define DT_MIPS_RLD_TEXT_RESOLVE_ADDR   0x7000002d /* Addr of rld_text_resolve */

Definition at line 2147 of file elf.h.

#define DT_MIPS_RLD_VERSION   0x70000001 /* Runtime linker interface version */

Definition at line 1864 of file elf.h.

#define DT_MIPS_SYMBOL_LIB   0x70000024

Definition at line 2138 of file elf.h.

#define DT_MIPS_SYMTABNO   0x70000011 /* Number of DYNSYM entries */

Definition at line 1876 of file elf.h.

#define DT_MIPS_TIME_STAMP   0x70000002 /* Timestamp */

Definition at line 1865 of file elf.h.

#define DT_MIPS_UNREFEXTNO   0x70000012 /* First external DYNSYM */

Definition at line 1877 of file elf.h.

#define DT_NEEDED   1 /* Name of needed library */

Definition at line 835 of file elf.h.

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

Definition at line 834 of file elf.h.

#define DT_NUM   24 /* Number used */

Definition at line 858 of file elf.h.

#define DT_PLTGOT   3 /* Processor defined value */

Definition at line 837 of file elf.h.

#define DT_PLTREL   20 /* Type of reloc in PLT */

Definition at line 854 of file elf.h.

#define DT_PLTRELSZ   2 /* Size in bytes of PLT relocs */

Definition at line 836 of file elf.h.

#define DT_PROCNUM   DT_MIPS_NUM /* Most used by any processor */

Definition at line 861 of file elf.h.

#define DT_REL   17 /* Address of Rel relocs */

Definition at line 851 of file elf.h.

#define DT_RELA   7 /* Address of Rela relocs */

Definition at line 841 of file elf.h.

#define DT_RELAENT   9 /* Size of one Rela reloc */

Definition at line 843 of file elf.h.

#define DT_RELASZ   8 /* Total size of Rela relocs */

Definition at line 842 of file elf.h.

#define DT_RELENT   19 /* Size of one Rel reloc */

Definition at line 853 of file elf.h.

#define DT_RELSZ   18 /* Total size of Rel relocs */

Definition at line 852 of file elf.h.

#define DT_RPATH   15 /* Library search path */

Definition at line 849 of file elf.h.

#define DT_SONAME   14 /* Name of shared object */

Definition at line 848 of file elf.h.

#define DT_STRSZ   10 /* Size of string table */

Definition at line 844 of file elf.h.

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

Definition at line 839 of file elf.h.

#define DT_SYMBOLIC   16 /* Start symbol search here */

Definition at line 850 of file elf.h.

#define DT_SYMENT   11 /* Size of one symbol table entry */

Definition at line 845 of file elf.h.

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

Definition at line 840 of file elf.h.

#define DT_TEXTREL   22 /* Reloc might modify .text */

Definition at line 856 of file elf.h.

#define DT_VERDEF
Value:
0x6ffffffc /* Address of version definition
table */

Definition at line 868 of file elf.h.

#define DT_VERDEFNUM   0x6ffffffd /* Number of version definitions */

Definition at line 870 of file elf.h.

#define DT_VERNEED
Value:
0x6ffffffe /* Address of table with needed
versions */

Definition at line 871 of file elf.h.

#define DT_VERNEEDNUM   0x6fffffff /* Number of needed versions */

Definition at line 873 of file elf.h.

#define DT_VERSIONTAGIDX (   tag)    (DT_VERNEEDNUM - (tag)) /* Reverse order! */

Definition at line 874 of file elf.h.

#define DT_VERSIONTAGNUM   16

Definition at line 875 of file elf.h.

#define DT_VERSYM   0x6ffffff0

Definition at line 865 of file elf.h.

#define E_MIPS_ARCH_1   0x00000000 /* -mips1 code. */

Definition at line 1317 of file elf.h.

#define E_MIPS_ARCH_2   0x10000000 /* -mips2 code. */

Definition at line 1318 of file elf.h.

#define E_MIPS_ARCH_3   0x20000000 /* -mips3 code. */

Definition at line 1319 of file elf.h.

#define EF_IA64_ABI64   EF_IRIX_ABI64 /* 0x00000010 */

Definition at line 1284 of file elf.h.

#define EF_IA64_ARCH   0xff000000

Definition at line 1278 of file elf.h.

#define EF_IA64_CPIC   0x00000004

Definition at line 1272 of file elf.h.

#define EF_IA64_PIC   0x00000002

Definition at line 1267 of file elf.h.

#define EF_IRIX_ABI64   0x00000010

Definition at line 1197 of file elf.h.

Referenced by Config_ELF_From_Target(), and Config_Target_From_ELF().

#define EF_MIPS_64BIT_WHIRL   EF_MIPS_ABI64

Definition at line 1222 of file elf.h.

#define EF_MIPS_ABI2   0x00000020

Definition at line 1225 of file elf.h.

#define EF_MIPS_ABI64   EF_IRIX_ABI64

Definition at line 1219 of file elf.h.

#define EF_MIPS_ARCH   0xf0000000 /* MIPS architecture level */

Definition at line 1233 of file elf.h.

#define EF_MIPS_ARCH   0xf0000000 /* mask: 4 bit field */

Definition at line 1233 of file elf.h.

#define EF_MIPS_ARCH_1   0x00000000

Definition at line 1234 of file elf.h.

#define EF_MIPS_ARCH_2   0x10000000

Definition at line 1235 of file elf.h.

#define EF_MIPS_ARCH_3   0x20000000

Definition at line 1236 of file elf.h.

#define EF_MIPS_ARCH_4   0x30000000

Definition at line 1237 of file elf.h.

#define EF_MIPS_ARCH_5   0x40000000

Definition at line 1238 of file elf.h.

#define EF_MIPS_ARCH_6   0x50000000

Definition at line 1239 of file elf.h.

#define EF_MIPS_ARCH_ASE   0x0f000000 /* mask: 4 bit field */

Definition at line 1247 of file elf.h.

#define EF_MIPS_ARCH_ASE_M16   0x04000000 /* MIPS16 isa extensions */

Definition at line 1249 of file elf.h.

#define EF_MIPS_ARCH_ASE_MDMX   0x08000000 /* multi-media extensions*/

Definition at line 1248 of file elf.h.

#define EF_MIPS_CPIC   4 /* Uses PIC calling sequence */

Definition at line 1186 of file elf.h.

Referenced by Create_Elf_Header().

#define EF_MIPS_NOREORDER   1 /* A .noreorder directive was used */

Definition at line 1184 of file elf.h.

#define EF_MIPS_OPSEX   EF_MIPS_NOREORDER

Definition at line 1212 of file elf.h.

#define EF_MIPS_OPTIONS_FIRST   0x00000080

Definition at line 1214 of file elf.h.

Referenced by Create_Elf_Header().

#define EF_MIPS_PIC   2 /* Contains PIC code */

Definition at line 1185 of file elf.h.

Referenced by Create_Elf_Header().

#define EF_MIPS_UGEN_ALLOC   EF_MIPS_XGOT

Definition at line 1216 of file elf.h.

#define EF_MIPS_UGEN_RESERVED   EF_MIPS_64BIT_WHIRL

Definition at line 1217 of file elf.h.

#define EF_MIPS_XGOT   0x00000008

Definition at line 1213 of file elf.h.

Referenced by Create_Elf_Header().

#define EI_CLASS   4 /* File class byte index */

Definition at line 190 of file elf.h.

Referenced by check_elf_header(), get_section(), and write_output().

#define EI_DATA   5 /* Data encoding byte index */

Definition at line 195 of file elf.h.

Referenced by Create_Elf_Header(), and write_output().

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

Definition at line 169 of file elf.h.

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

Definition at line 172 of file elf.h.

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

Definition at line 175 of file elf.h.

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

Definition at line 178 of file elf.h.

#define EI_NIDENT   (16)

Definition at line 127 of file elf.h.

#define EI_PAD   7 /* Byte index of padding bytes */

Definition at line 203 of file elf.h.

#define EI_TVERSION   15

Definition at line 1194 of file elf.h.

Referenced by Set_Elf_Version().

#define EI_VERSION   6 /* File version byte index */

Definition at line 200 of file elf.h.

Referenced by check_elf_header(), and write_output().

#define EK_DEF_CHAR   (6) /* signed char (8 bits) */

Definition at line 1641 of file elf.h.

#define EK_DEF_INT   (8) /* signed int (32 bits) */

Definition at line 1643 of file elf.h.

#define EK_DEF_LEB128   (10) /* signed LEB128 encoded number */

Definition at line 1645 of file elf.h.

#define EK_DEF_LONG   (9) /* signed long (64 bits) */

Definition at line 1644 of file elf.h.

#define EK_DEF_SHORT   (7) /* signed short (16 bits) */

Definition at line 1642 of file elf.h.

#define EK_DEF_STRING   (11) /* null terminated string */

Definition at line 1646 of file elf.h.

#define EK_DEF_UCHAR   (1) /* unsigned char (8 bits) */

Definition at line 1636 of file elf.h.

#define EK_DEF_UINT   (3) /* unsigned int (32 bits) */

Definition at line 1638 of file elf.h.

#define EK_DEF_ULEB128   (5) /* unsigned LEB128 encoded number */

Definition at line 1640 of file elf.h.

#define EK_DEF_ULONG   (4) /* unsigned long (64 bits) */

Definition at line 1639 of file elf.h.

#define EK_DEF_USHORT   (2) /* unsigned short (16 bits) */

Definition at line 1637 of file elf.h.

#define EK_DEF_VAR
Value:
(12) /* variable length field: the first 2
bytes is an unsigned short
specifying the total number of bytes
of this field including the first 2
bytes */

Definition at line 1647 of file elf.h.

#define ELF32_FSZ_ADDR   4

Definition at line 425 of file elf.h.

#define ELF32_FSZ_HALF   2

Definition at line 426 of file elf.h.

#define ELF32_FSZ_OFF   4

Definition at line 427 of file elf.h.

#define ELF32_FSZ_SWORD   4

Definition at line 428 of file elf.h.

#define ELF32_R_INFO (   sym,
  type 
)    (((sym) << 8) + ((type) & 0xff))

Definition at line 747 of file elf.h.

#define ELF32_R_SYM (   val)    ((val) >> 8)

Definition at line 745 of file elf.h.

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

Definition at line 746 of file elf.h.

#define ELF32_ST_BIND (   val)    (((unsigned char) (val)) >> 4)

Definition at line 610 of file elf.h.

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

Definition at line 612 of file elf.h.

Referenced by ELF32::Elf_st_info(), Em_Add_New_Symbol(), and Em_Set_Symbol_Binding().

#define ELF32_ST_TYPE (   val)    ((val) & 0xf)

Definition at line 611 of file elf.h.

Referenced by Em_Set_Symbol_Binding().

#define ELF64_FSZ_ADDR   8

Definition at line 417 of file elf.h.

#define ELF64_FSZ_HALF   2

Definition at line 418 of file elf.h.

#define ELF64_FSZ_OFF   8

Definition at line 419 of file elf.h.

#define ELF64_FSZ_SWORD   4

Definition at line 420 of file elf.h.

#define ELF64_FSZ_SXWORD   8

Definition at line 422 of file elf.h.

#define ELF64_FSZ_WORD   4

Definition at line 421 of file elf.h.

Referenced by Em_Add_New_Option().

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

Definition at line 751 of file elf.h.

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

Definition at line 749 of file elf.h.

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

Definition at line 750 of file elf.h.

#define ELF64_ST_BIND (   val)    ELF32_ST_BIND (val)

Definition at line 615 of file elf.h.

#define ELF64_ST_INFO (   bind,
  type 
)    ELF32_ST_INFO ((bind), (type))

Definition at line 617 of file elf.h.

Referenced by ELF64::Elf_st_info(), Em_Add_New_Symbol(), and Em_Set_Symbol_Binding().

#define ELF64_ST_TYPE (   val)    ELF32_ST_TYPE (val)

Definition at line 616 of file elf.h.

Referenced by Em_Set_Symbol_Binding().

#define ELF_BSS   ".bss"

Definition at line 297 of file elf.h.

#define ELF_COMMENT   ".comment"

Definition at line 298 of file elf.h.

Referenced by check_section_headers(), Em_Add_Comment(), and WN_write_revision().

#define ELF_DATA   ".data"

Definition at line 299 of file elf.h.

#define ELF_DATA_PU   ".data_pu"

Definition at line 300 of file elf.h.

#define ELF_DEBUG   ".debug"

Definition at line 301 of file elf.h.

#define ELF_DYNAMIC   ".dynamic"

Definition at line 302 of file elf.h.

#define ELF_DYNSTR   ".dynstr"

Definition at line 303 of file elf.h.

#define ELF_DYNSYM   ".dynsym"

Definition at line 304 of file elf.h.

#define ELF_FINI   ".fini"

Definition at line 306 of file elf.h.

#define ELF_GOT   ".got"

Definition at line 307 of file elf.h.

#define ELF_HASH   ".hash"

Definition at line 309 of file elf.h.

#define ELF_IA64_MAXPGSZ   ELF_IRIX_MAXPGSZ

Definition at line 1299 of file elf.h.

#define ELF_IA64_MINPGSZ   ELF_IRIX_MINPGSZ

Definition at line 1300 of file elf.h.

#define ELF_INIT   ".init"

Definition at line 310 of file elf.h.

#define ELF_IRIX_MAXPGSZ   (64*1024)

Definition at line 1296 of file elf.h.

#define ELF_IRIX_MINPGSZ   (0x1000)

Definition at line 1297 of file elf.h.

#define ELF_MIPS_MAXPGSZ   ELF_IRIX_MAXPGSZ

Definition at line 1302 of file elf.h.

#define ELF_MIPS_MINPGSZ   ELF_IRIX_MINPGSZ

Definition at line 1303 of file elf.h.

#define ELF_MSYM   ".msym"

Definition at line 305 of file elf.h.

#define ELF_PLT   ".plt"

Definition at line 308 of file elf.h.

#define ELF_REL_DATA   ".rel.data"

Definition at line 311 of file elf.h.

#define ELF_REL_DYN   ".rel.dyn"

Definition at line 314 of file elf.h.

#define ELF_REL_FINI   ".rel.fini"

Definition at line 312 of file elf.h.

#define ELF_REL_INIT   ".rel.init"

Definition at line 313 of file elf.h.

#define ELF_REL_RODATA   ".rel.rodata"

Definition at line 315 of file elf.h.

#define ELF_REL_TEXT   ".rel.text"

Definition at line 316 of file elf.h.

#define ELF_RODATA   ".rodata"

Definition at line 317 of file elf.h.

#define ELF_RODATA_PU   ".rodata_pu"

Definition at line 318 of file elf.h.

#define ELF_SHSTRTAB   ".shstrtab"

Definition at line 319 of file elf.h.

Referenced by Create_Elf_Header(), layout_sections(), and write_output().

#define ELF_STRTAB   ".strtab"

Definition at line 320 of file elf.h.

Referenced by Create_Elf_Header().

#define ELF_SYMTAB   ".symtab"

Definition at line 321 of file elf.h.

Referenced by Create_Elf_Header().

#define ELF_TEXT   ".text"

Definition at line 322 of file elf.h.

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

Definition at line 192 of file elf.h.

Referenced by check_elf_header(), ELF32::Elf_class(), get_section(), and WN_massage_input().

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

Definition at line 193 of file elf.h.

Referenced by check_elf_header(), ELF64::Elf_class(), and write_output().

#define ELFCLASSNONE   0 /* Invalid class */

Definition at line 191 of file elf.h.

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

Definition at line 197 of file elf.h.

Referenced by Create_Elf_Header(), and write_output().

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

Definition at line 198 of file elf.h.

Referenced by Create_Elf_Header(), and write_output().

#define ELFDATANONE   0 /* Invalid data encoding */

Definition at line 196 of file elf.h.

#define ELFMAG   "\177ELF"

Definition at line 182 of file elf.h.

Referenced by write_output().

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

Definition at line 170 of file elf.h.

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

Definition at line 173 of file elf.h.

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

Definition at line 176 of file elf.h.

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

Definition at line 179 of file elf.h.

#define EM_386   3 /* Intel 80386 */

Definition at line 225 of file elf.h.

#define EM_486   6 /* Intel 80486 */

Definition at line 228 of file elf.h.

#define EM_68K   4 /* Motorola m68k family */

Definition at line 226 of file elf.h.

#define EM_860   7 /* Intel 80860 */

Definition at line 229 of file elf.h.

#define EM_88K   5 /* Motorola m88k family */

Definition at line 227 of file elf.h.

#define EM_ALPHA   0x9026

Definition at line 252 of file elf.h.

#define EM_EAS2_3   0x0406

Definition at line 240 of file elf.h.

#define EM_IA_64   50 /* Intel IA64 */

Definition at line 239 of file elf.h.

Referenced by Em_Write_Reginfo(), and Get_Elf_Target_Machine().

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

Definition at line 223 of file elf.h.

#define EM_MIPS   8 /* MIPS R3000 big-endian */

Definition at line 230 of file elf.h.

#define EM_MIPS_RS4_BE   10 /* MIPS R4000 big-endian */

Definition at line 232 of file elf.h.

#define EM_NONE   0 /* No machine */

Definition at line 222 of file elf.h.

#define EM_PARISC   15 /* HPPA */

Definition at line 245 of file elf.h.

#define EM_PPC   20 /* PowerPC */

Definition at line 246 of file elf.h.

#define EM_S370   9 /* Amdahl */

Definition at line 231 of file elf.h.

#define EM_SPARC   2 /* SUN SPARC */

Definition at line 224 of file elf.h.

#define EM_SPARC64   11 /* SPARC v9 (not official) 64-bit */

Definition at line 243 of file elf.h.

#define EM_XIA64
Value:
10 /* Experimental IA64 objects
* used only by the simulator.
*/

Definition at line 236 of file elf.h.

#define ET_CORE   4 /* Core file */

Definition at line 211 of file elf.h.

#define ET_DYN   3 /* Shared object file */

Definition at line 210 of file elf.h.

#define ET_EXEC   2 /* Executable file */

Definition at line 209 of file elf.h.

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

Definition at line 214 of file elf.h.

#define ET_IR   (ET_LOPROC + 0) /* file is a 32-bit or 64-bit WHIRL file*/

Definition at line 217 of file elf.h.

Referenced by check_elf_header(), and write_output().

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

Definition at line 213 of file elf.h.

#define ET_NONE   0 /* No file type */

Definition at line 207 of file elf.h.

#define ET_NUM   5 /* Number of defined types. */

Definition at line 212 of file elf.h.

#define ET_REL   1 /* Relocatable file */

Definition at line 208 of file elf.h.

Referenced by Create_Elf_Header().

#define EV_CURRENT   1 /* Current version */

Definition at line 257 of file elf.h.

Referenced by check_elf_header(), Em_Begin_File(), and write_output().

#define EV_NONE   0 /* Invalid ELF version */

Definition at line 256 of file elf.h.

Referenced by Em_Begin_File().

#define EV_T_CURRENT   1

Definition at line 1195 of file elf.h.

Referenced by Set_Elf_Version().

#define FT_bool32   0x0012

Definition at line 1699 of file elf.h.

#define FT_bool64   0x0013

Definition at line 1700 of file elf.h.

#define FT_class   0x0028

Definition at line 1711 of file elf.h.

#define FT_complex128   0x000f

Definition at line 1696 of file elf.h.

#define FT_complex256   0x0010

Definition at line 1697 of file elf.h.

#define FT_complex64   0x000e

Definition at line 1695 of file elf.h.

#define FT_enum   0x0022

Definition at line 1705 of file elf.h.

#define FT_float128   0x000d

Definition at line 1694 of file elf.h.

#define FT_float32   0x000b

Definition at line 1692 of file elf.h.

#define FT_float64   0x000c

Definition at line 1693 of file elf.h.

#define FT_label32   0x0014

Definition at line 1701 of file elf.h.

#define FT_label64   0x0015

Definition at line 1702 of file elf.h.

#define FT_member_ptr   0x0026

Definition at line 1709 of file elf.h.

#define FT_pointer32   0x0009

Definition at line 1690 of file elf.h.

#define FT_pointer64   0x000a

Definition at line 1691 of file elf.h.

#define FT_range   0x0025

Definition at line 1708 of file elf.h.

#define FT_set   0x0024

Definition at line 1707 of file elf.h.

#define FT_signed_char   0x0001

Definition at line 1682 of file elf.h.

#define FT_signed_int32   0x0005

Definition at line 1686 of file elf.h.

#define FT_signed_int64   0x0007

Definition at line 1688 of file elf.h.

#define FT_signed_short   0x0003

Definition at line 1684 of file elf.h.

#define FT_struct   0x0020

Definition at line 1703 of file elf.h.

#define FT_typedef   0x0023

Definition at line 1706 of file elf.h.

#define FT_union   0x0021

Definition at line 1704 of file elf.h.

#define FT_unknown   0x0000

Definition at line 1681 of file elf.h.

#define FT_unsigned_char   0x0002

Definition at line 1683 of file elf.h.

#define FT_unsigned_int32   0x0006

Definition at line 1687 of file elf.h.

#define FT_unsigned_int64   0x0008

Definition at line 1689 of file elf.h.

#define FT_unsigned_short   0x0004

Definition at line 1685 of file elf.h.

#define FT_virtual_ptr   0x0027

Definition at line 1710 of file elf.h.

#define FT_void   0x0011

Definition at line 1698 of file elf.h.

#define IA64_ARCHEXT   ".IA_64.archext"

Definition at line 412 of file elf.h.

#define IA64_CONFLICT   ".conflict"

Definition at line 371 of file elf.h.

#define IA64_CONTENT   ".IA64.content"

Definition at line 398 of file elf.h.

#define IA64_DEBUG_ABBREV   ".debug_abbrev"

Definition at line 386 of file elf.h.

#define IA64_DEBUG_ARANGES   ".debug_aranges"

Definition at line 388 of file elf.h.

#define IA64_DEBUG_FRAME   ".debug_frame"

Definition at line 387 of file elf.h.

#define IA64_DEBUG_FUNCNAMES   ".debug_funcnames"

Definition at line 391 of file elf.h.

#define IA64_DEBUG_INFO   ".debug_info"

Definition at line 384 of file elf.h.

#define IA64_DEBUG_LINE   ".debug_line"

Definition at line 385 of file elf.h.

#define IA64_DEBUG_PUBNAMES   ".debug_pubnames"

Definition at line 389 of file elf.h.

#define IA64_DEBUG_STR   ".debug_str"

Definition at line 390 of file elf.h.

#define IA64_DEBUG_TYPENAMES   ".debug_typenames"

Definition at line 392 of file elf.h.

#define IA64_DEBUG_VARNAMES   ".debug_varnames"

Definition at line 393 of file elf.h.

#define IA64_DEBUG_WEAKNAMES   ".debug_weaknames"

Definition at line 394 of file elf.h.

#define IA64_EVENTS   ".IA64.events"

Definition at line 380 of file elf.h.

#define IA64_INTERFACES   ".IA64.interfaces"

Definition at line 381 of file elf.h.

#define IA64_LIBLIST   ".liblist"

Definition at line 369 of file elf.h.

#define IA64_LIT16   ".lit16"

Definition at line 379 of file elf.h.

#define IA64_LIT4   ".lit4"

Definition at line 377 of file elf.h.

#define IA64_LIT8   ".lit8"

Definition at line 378 of file elf.h.

#define IA64_MSYM   ".msym"

Definition at line 370 of file elf.h.

#define IA64_OPTIONS   ".IA64.options"

Definition at line 382 of file elf.h.

Referenced by Em_Add_New_Option().

#define IA64_PLTOFF   ".IA_64.pltoff"

Definition at line 413 of file elf.h.

#define IA64_RDATA   ".rdata"

Definition at line 375 of file elf.h.

#define IA64_REL_SDATA   ".rel.sdata"

Definition at line 373 of file elf.h.

#define IA64_SBSS   ".sbss"

Definition at line 376 of file elf.h.

#define IA64_SDATA   ".sdata"

Definition at line 372 of file elf.h.

#define IA64_SRDATA   ".srdata"

Definition at line 374 of file elf.h.

#define IA64_SYMBOL_LIB   ".IA64.symlib"

Definition at line 383 of file elf.h.

#define IA64_UNWIND   ".IA_64.unwind"

Definition at line 414 of file elf.h.

#define IA64_UNWIND_INFO   ".IA_64.unwind_info"

Definition at line 415 of file elf.h.

#define IA64_WHIRL   ".IA64.WHIRL"

Definition at line 397 of file elf.h.

#define IA64_XLATE   ".IA64.Xlate"

Definition at line 395 of file elf.h.

#define IA64_XLATE_DEBUG   ".IA64.Xlate_debug"

Definition at line 396 of file elf.h.

#define IS_ELF (   ehdr)
Value:
((ehdr).e_ident[EI_MAG0] == ELFMAG0 && \
(ehdr).e_ident[EI_MAG1] == ELFMAG1 && \
(ehdr).e_ident[EI_MAG2] == ELFMAG2 && \
(ehdr).e_ident[EI_MAG3] == ELFMAG3)

Definition at line 185 of file elf.h.

Referenced by check_elf_header().

#define LL_DELAY_LOAD   0x10

Definition at line 1951 of file elf.h.

#define LL_DELTA   0x20

Definition at line 1953 of file elf.h.

#define LL_EXACT_MATCH   (1 << 0) /* Require exact match */

Definition at line 1903 of file elf.h.

#define LL_EXPORTS   0x8

Definition at line 1950 of file elf.h.

#define LL_IGNORE_INT_VER   (1 << 1) /* Ignore interface version */

Definition at line 1904 of file elf.h.

#define LL_NONE   0

Definition at line 1948 of file elf.h.

#define LL_REQUIRE_MINOR   0x4

Definition at line 1949 of file elf.h.

#define MIPS_CONFLICT   ".conflict"

Definition at line 332 of file elf.h.

#define MIPS_CONTENT   ".MIPS.content"

Definition at line 360 of file elf.h.

#define MIPS_DEBUG_ABBREV   ".debug_abbrev"

Definition at line 349 of file elf.h.

#define MIPS_DEBUG_ARANGES   ".debug_aranges"

Definition at line 351 of file elf.h.

#define MIPS_DEBUG_FRAME   ".debug_frame"

Definition at line 350 of file elf.h.

#define MIPS_DEBUG_FUNCNAMES   ".debug_funcnames"

Definition at line 354 of file elf.h.

#define MIPS_DEBUG_INFO   ".debug_info"

Definition at line 347 of file elf.h.

#define MIPS_DEBUG_LINE   ".debug_line"

Definition at line 348 of file elf.h.

#define MIPS_DEBUG_PUBNAMES   ".debug_pubnames"

Definition at line 352 of file elf.h.

#define MIPS_DEBUG_STR   ".debug_str"

Definition at line 353 of file elf.h.

#define MIPS_DEBUG_TYPENAMES   ".debug_typenames"

Definition at line 355 of file elf.h.

#define MIPS_DEBUG_VARNAMES   ".debug_varnames"

Definition at line 356 of file elf.h.

#define MIPS_DEBUG_WEAKNAMES   ".debug_weaknames"

Definition at line 357 of file elf.h.

#define MIPS_EVENTS   ".MIPS.events"

Definition at line 343 of file elf.h.

#define MIPS_INTERFACES   ".MIPS.interfaces"

Definition at line 344 of file elf.h.

#define MIPS_LIBLIST   ".liblist"

Definition at line 330 of file elf.h.

#define MIPS_LIT16   ".lit16"

Definition at line 342 of file elf.h.

#define MIPS_LIT4   ".lit4"

Definition at line 340 of file elf.h.

#define MIPS_LIT8   ".lit8"

Definition at line 341 of file elf.h.

#define MIPS_MSYM   ".msym"

Definition at line 331 of file elf.h.

#define MIPS_OPTIONS   ".MIPS.options"

Definition at line 345 of file elf.h.

#define MIPS_RDATA   ".rdata"

Definition at line 338 of file elf.h.

#define MIPS_REL_SDATA   ".rel.sdata"

Definition at line 335 of file elf.h.

#define MIPS_SBSS   ".sbss"

Definition at line 339 of file elf.h.

#define MIPS_SDATA   ".sdata"

Definition at line 333 of file elf.h.

#define MIPS_SDATA_PU   ".sdata_pu"

Definition at line 334 of file elf.h.

#define MIPS_SRDATA   ".srdata"

Definition at line 336 of file elf.h.

#define MIPS_SRDATA_PU   ".srdata_pu"

Definition at line 337 of file elf.h.

#define MIPS_SYMBOL_LIB   ".MIPS.symlib"

Definition at line 346 of file elf.h.

#define MIPS_WHIRL   ".WHIRL" /* Mips uses this name */

Definition at line 361 of file elf.h.

#define MIPS_XLATE   ".MIPS.Xlate"

Definition at line 358 of file elf.h.

#define MIPS_XLATE_DEBUG   ".MIPS.Xlate_debug"

Definition at line 359 of file elf.h.

#define MOD_array_of   0x81

Definition at line 1719 of file elf.h.

#define MOD_const   0x03

Definition at line 1716 of file elf.h.

#define MOD_function   0x80

Definition at line 1718 of file elf.h.

#define MOD_pointer_to   0x01

Definition at line 1714 of file elf.h.

#define MOD_reference_to   0x02

Definition at line 1715 of file elf.h.

#define MOD_volatile   0x04

Definition at line 1717 of file elf.h.

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

Definition at line 802 of file elf.h.

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

Definition at line 803 of file elf.h.

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

Definition at line 801 of file elf.h.

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

Definition at line 807 of file elf.h.

#define ODK_EXCEPTIONS   2 /* MIPS Exception processing options */

Definition at line 465 of file elf.h.

#define ODK_FILL   5 /* The fill value used by the linker */

Definition at line 469 of file elf.h.

#define ODK_GP_GROUP   9 /* GP group for text/data sections */

Definition at line 475 of file elf.h.

#define ODK_HWAND   7 /* HW workarounds.'AND' when merging */

Definition at line 472 of file elf.h.

#define ODK_HWOR   8 /* HW workarounds.'OR' when merging */

Definition at line 474 of file elf.h.

#define ODK_HWPATCH   4 /* MIPS Hardware workarounds performed*/

Definition at line 468 of file elf.h.

#define ODK_IA64_EXCEPTIONS   12 /* NOT USED! */

Definition at line 481 of file elf.h.

#define ODK_IA64_HWAND   13 /* NOT USED! */

Definition at line 482 of file elf.h.

#define ODK_IA64_HWOR   14 /* NOT USED! */

Definition at line 483 of file elf.h.

#define ODK_IA64_REGINFO   11 /* TO BE CHANGED! */

Definition at line 477 of file elf.h.

Referenced by Em_Write_Reginfo().

#define ODK_IDENT   10 /* ID information */

Definition at line 476 of file elf.h.

#define ODK_MIPS_EXCEPTIONS   2 /* MIPS Exception processing options */

Definition at line 464 of file elf.h.

#define ODK_MIPS_HWAND   7 /* HW workarounds.'AND' when merging */

Definition at line 471 of file elf.h.

#define ODK_MIPS_HWOR   8 /* HW workarounds.'OR' when merging */

Definition at line 473 of file elf.h.

#define ODK_MIPS_HWPATCH   4 /* MIPS Hardware workarounds performed*/

Definition at line 467 of file elf.h.

#define ODK_MIPS_REGINFO   1 /* MIPS Register usage information */

Definition at line 462 of file elf.h.

#define ODK_NULL   0 /* Undefined */

Definition at line 461 of file elf.h.

#define ODK_PAD   3 /* Section padding options */

Definition at line 466 of file elf.h.

#define ODK_PAGESIZE   12 /* Alternate segment page size */

Definition at line 478 of file elf.h.

#define ODK_REGINFO   1 /* MIPS Register usage information */

Definition at line 463 of file elf.h.

#define ODK_TAGS   6 /* Space for desktop tools to write */

Definition at line 470 of file elf.h.

#define OEX_DISMISS   0x80000 /* Dismiss invalid address faults? */

Definition at line 494 of file elf.h.

#define OEX_FPDBUG   0x40000 /* Force floating point debug mode? */

Definition at line 492 of file elf.h.

#define OEX_FPU_DIV0   0x08

Definition at line 498 of file elf.h.

#define OEX_FPU_INEX   0x01

Definition at line 501 of file elf.h.

#define OEX_FPU_INVAL   0x10

Definition at line 497 of file elf.h.

#define OEX_FPU_MAX   0x1f00 /* FPE's which MAY be enabled */

Definition at line 496 of file elf.h.

#define OEX_FPU_MIN   0x1f /* FPE's which MUST be enabled */

Definition at line 495 of file elf.h.

#define OEX_FPU_OFLO   0x04

Definition at line 499 of file elf.h.

#define OEX_FPU_UFLO   0x02

Definition at line 500 of file elf.h.

#define OEX_PAGE0   0x10000 /* page zero must be mapped */

Definition at line 490 of file elf.h.

#define OEX_PRECISEFP   OEX_FPDBUG

Definition at line 493 of file elf.h.

#define OEX_SMM   0x20000 /* Force sequential memory mode? */

Definition at line 491 of file elf.h.

#define OGP_GROUP   0x0000ffff /* GP group number */

Definition at line 535 of file elf.h.

#define OGP_SELF   0x00010000 /* Self-contained GP groups */

Definition at line 536 of file elf.h.

#define OHW_R10KLDL   0x10 /* R10000 requires LDL patch */

Definition at line 512 of file elf.h.

#define OHW_R4KEOP   0x1 /* R4000 end-of-page patch */

Definition at line 508 of file elf.h.

#define OHW_R5KCVTL   0x8 /* R5000 cvt.[ds].l bug. clean=1 */

Definition at line 511 of file elf.h.

#define OHW_R5KEOP   0x4 /* R5000 end-of-page patch */

Definition at line 510 of file elf.h.

#define OHW_R8KPFETCH   0x2 /* may need R8000 prefetch patch */

Definition at line 509 of file elf.h.

#define OHWO0_FIXADE   0x00000001 /* Object requires FIXADE call */

Definition at line 519 of file elf.h.

#define OPAD_POSTFIX   0x2

Definition at line 527 of file elf.h.

#define OPAD_PREFIX   0x1

Definition at line 526 of file elf.h.

#define OPAD_SYMBOL   0x4

Definition at line 528 of file elf.h.

#define PDM_Qualifiers   0x0f00 /* Count of type qualifiers << 8 */

Definition at line 1725 of file elf.h.

#define PDM_REFERENCE   0x4000 /* Reference parameter ? */

Definition at line 1723 of file elf.h.

#define PDM_SIZE   0x2000 /* Followed by explicit 32-bit byte count? */

Definition at line 1724 of file elf.h.

#define PDM_TYPE   0x00ff /* Fundamental type of parameter */

Definition at line 1722 of file elf.h.

#define PDMF_Qualifiers   0x0f

Definition at line 1730 of file elf.h.

#define PDMF_REFERENCE   0x40

Definition at line 1728 of file elf.h.

#define PDMF_SIZE   0x20

Definition at line 1729 of file elf.h.

#define PF_IA64_NORECOV   0x80000000

Definition at line 1843 of file elf.h.

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

Definition at line 797 of file elf.h.

#define PF_MIPS_LOCAL   0x10000000

Definition at line 1325 of file elf.h.

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

Definition at line 796 of file elf.h.

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

Definition at line 795 of file elf.h.

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

Definition at line 794 of file elf.h.

#define PT_DYNAMIC   2 /* Dynamic linking information */

Definition at line 783 of file elf.h.

#define PT_HIPROC   0x7fffffff /* End of processor-specific */

Definition at line 790 of file elf.h.

#define PT_IA64_ARCHEXT   (PT_LOPROC + 0)

Definition at line 1821 of file elf.h.

#define PT_IA64_OPTIONS   (PT_LOPROC + 2)

Definition at line 1832 of file elf.h.

#define PT_IA64_UNWIND   (PT_LOPROC + 1)

Definition at line 1825 of file elf.h.

#define PT_INTERP   3 /* Program interpreter */

Definition at line 784 of file elf.h.

#define PT_LOAD   1 /* Loadable program segment */

Definition at line 782 of file elf.h.

#define PT_LOPROC   0x70000000 /* Start of processor-specific */

Definition at line 789 of file elf.h.

#define PT_MIPS_REGINFO   0x70000000 /* Register usage information */

Definition at line 1815 of file elf.h.

#define PT_NOTE   4 /* Auxiliary information */

Definition at line 785 of file elf.h.

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

Definition at line 781 of file elf.h.

#define PT_NUM   7 /* Number of defined types. */

Definition at line 788 of file elf.h.

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

Definition at line 787 of file elf.h.

#define PT_SHLIB   5 /* Reserved */

Definition at line 786 of file elf.h.

#define R_386_32   1 /* Direct 32 bit */

Definition at line 1033 of file elf.h.

#define R_386_COPY   5 /* Copy symbol at runtime */

Definition at line 1037 of file elf.h.

#define R_386_GLOB_DAT   6 /* Create GOT entry */

Definition at line 1038 of file elf.h.

#define R_386_GOT32   3 /* 32 bit GOT entry */

Definition at line 1035 of file elf.h.

#define R_386_GOTOFF   9 /* 32 bit offset to GOT */

Definition at line 1041 of file elf.h.

#define R_386_GOTPC   10 /* 32 bit PC relative offset to GOT */

Definition at line 1042 of file elf.h.

#define R_386_JMP_SLOT   7 /* Create PLT entry */

Definition at line 1039 of file elf.h.

#define R_386_NONE   0 /* No reloc */

Definition at line 1032 of file elf.h.

#define R_386_NUM   11

Definition at line 1043 of file elf.h.

#define R_386_PC32   2 /* PC relative 32 bit */

Definition at line 1034 of file elf.h.

#define R_386_PLT32   4 /* 32 bit PLT address */

Definition at line 1036 of file elf.h.

#define R_386_RELATIVE   8 /* Adjust by program base */

Definition at line 1040 of file elf.h.

#define R_68K_16   2 /* Direct 16 bit */

Definition at line 1005 of file elf.h.

#define R_68K_32   1 /* Direct 32 bit */

Definition at line 1004 of file elf.h.

#define R_68K_8   3 /* Direct 8 bit */

Definition at line 1006 of file elf.h.

#define R_68K_COPY   19 /* Copy symbol at runtime */

Definition at line 1022 of file elf.h.

#define R_68K_GLOB_DAT   20 /* Create GOT entry */

Definition at line 1023 of file elf.h.

#define R_68K_GOT16   8 /* 16 bit PC relative GOT entry */

Definition at line 1011 of file elf.h.

#define R_68K_GOT16O   11 /* 16 bit GOT offset */

Definition at line 1014 of file elf.h.

#define R_68K_GOT32   7 /* 32 bit PC relative GOT entry */

Definition at line 1010 of file elf.h.

#define R_68K_GOT32O   10 /* 32 bit GOT offset */

Definition at line 1013 of file elf.h.

#define R_68K_GOT8   9 /* 8 bit PC relative GOT entry */

Definition at line 1012 of file elf.h.

#define R_68K_GOT8O   12 /* 8 bit GOT offset */

Definition at line 1015 of file elf.h.

#define R_68K_JMP_SLOT   21 /* Create PLT entry */

Definition at line 1024 of file elf.h.

#define R_68K_NONE   0 /* No reloc */

Definition at line 1003 of file elf.h.

#define R_68K_NUM   23

Definition at line 1026 of file elf.h.

#define R_68K_PC16   5 /* PC relative 16 bit */

Definition at line 1008 of file elf.h.

#define R_68K_PC32   4 /* PC relative 32 bit */

Definition at line 1007 of file elf.h.

#define R_68K_PC8   6 /* PC relative 8 bit */

Definition at line 1009 of file elf.h.

#define R_68K_PLT16   14 /* 16 bit PC relative PLT address */

Definition at line 1017 of file elf.h.

#define R_68K_PLT16O   17 /* 16 bit PLT offset */

Definition at line 1020 of file elf.h.

#define R_68K_PLT32   13 /* 32 bit PC relative PLT address */

Definition at line 1016 of file elf.h.

#define R_68K_PLT32O   16 /* 32 bit PLT offset */

Definition at line 1019 of file elf.h.

#define R_68K_PLT8   15 /* 8 bit PC relative PLT address */

Definition at line 1018 of file elf.h.

#define R_68K_PLT8O   18 /* 8 bit PLT offset */

Definition at line 1021 of file elf.h.

#define R_68K_RELATIVE   22 /* Adjust by program base */

Definition at line 1025 of file elf.h.

#define R_ALPHA_BRADDR   7 /* PC+4 relative 23 bit shifted */

Definition at line 2230 of file elf.h.

#define R_ALPHA_COPY   24 /* Copy symbol at runtime */

Definition at line 2247 of file elf.h.

#define R_ALPHA_GLOB_DAT   25 /* Create GOT entry */

Definition at line 2248 of file elf.h.

#define R_ALPHA_GPDISP   6 /* Add displacement to GP */

Definition at line 2229 of file elf.h.

#define R_ALPHA_GPREL32   3 /* GP relative 32 bit */

Definition at line 2226 of file elf.h.

#define R_ALPHA_GPRELHIGH   17

Definition at line 2240 of file elf.h.

#define R_ALPHA_GPRELLOW   18

Definition at line 2241 of file elf.h.

#define R_ALPHA_GPVALUE   16

Definition at line 2239 of file elf.h.

#define R_ALPHA_HINT   8 /* PC+4 relative 16 bit shifted */

Definition at line 2231 of file elf.h.

#define R_ALPHA_IMMED_BR_HI32   22

Definition at line 2245 of file elf.h.

#define R_ALPHA_IMMED_GP_16   19

Definition at line 2242 of file elf.h.

#define R_ALPHA_IMMED_GP_HI32   20

Definition at line 2243 of file elf.h.

#define R_ALPHA_IMMED_LO32   23

Definition at line 2246 of file elf.h.

#define R_ALPHA_IMMED_SCN_HI32   21

Definition at line 2244 of file elf.h.

#define R_ALPHA_JMP_SLOT   26 /* Create PLT entry */

Definition at line 2249 of file elf.h.

#define R_ALPHA_LITERAL   4 /* GP relative 16 bit w/optimization */

Definition at line 2227 of file elf.h.

#define R_ALPHA_LITUSE   5 /* Optimization hint for LITERAL */

Definition at line 2228 of file elf.h.

#define R_ALPHA_NONE   0 /* No reloc */

Definition at line 2223 of file elf.h.

#define R_ALPHA_NUM   28

Definition at line 2251 of file elf.h.

#define R_ALPHA_OP_PRSHIFT   15 /* OP stack right shift */

Definition at line 2238 of file elf.h.

#define R_ALPHA_OP_PSUB   14 /* OP stack subtract */

Definition at line 2237 of file elf.h.

#define R_ALPHA_OP_PUSH   12 /* OP stack push */

Definition at line 2235 of file elf.h.

#define R_ALPHA_OP_STORE   13 /* OP stack pop and store */

Definition at line 2236 of file elf.h.

#define R_ALPHA_REFLONG   1 /* Direct 32 bit */

Definition at line 2224 of file elf.h.

#define R_ALPHA_REFQUAD   2 /* Direct 64 bit */

Definition at line 2225 of file elf.h.

#define R_ALPHA_RELATIVE   27 /* Adjust by program base */

Definition at line 2250 of file elf.h.

#define R_ALPHA_SREL16   9 /* PC relative 16 bit */

Definition at line 2232 of file elf.h.

#define R_ALPHA_SREL32   10 /* PC relative 32 bit */

Definition at line 2233 of file elf.h.

#define R_ALPHA_SREL64   11 /* PC relative 64 bit */

Definition at line 2234 of file elf.h.

#define R_MIPS_16   1 /* Direct 16 bit */

Definition at line 1769 of file elf.h.

#define R_MIPS_26   4 /* Direct 26 bit shifted */

Definition at line 1772 of file elf.h.

#define R_MIPS_32   2 /* Direct 32 bit */

Definition at line 1770 of file elf.h.

#define R_MIPS_64   18

Definition at line 1784 of file elf.h.

#define R_MIPS_ADD_IMMEDIATE   34

Definition at line 1800 of file elf.h.

#define R_MIPS_CALL16   11 /* 16 bit GOT entry for function */

Definition at line 1779 of file elf.h.

#define R_MIPS_CALL_HI16   30

Definition at line 1796 of file elf.h.

#define R_MIPS_CALL_LO16   31

Definition at line 1797 of file elf.h.

#define R_MIPS_DELETE   27

Definition at line 1793 of file elf.h.

#define R_MIPS_GOT16   9 /* 16 bit GOT entry */

Definition at line 1777 of file elf.h.

#define R_MIPS_GOT_DISP   19

Definition at line 1785 of file elf.h.

#define R_MIPS_GOT_HI16   22

Definition at line 1788 of file elf.h.

#define R_MIPS_GOT_LO16   23

Definition at line 1789 of file elf.h.

#define R_MIPS_GOT_OFST   21

Definition at line 1787 of file elf.h.

#define R_MIPS_GOT_PAGE   20

Definition at line 1786 of file elf.h.

#define R_MIPS_GPREL   7

Definition at line 1654 of file elf.h.

#define R_MIPS_GPREL16   7 /* GP relative 16 bit */

Definition at line 1775 of file elf.h.

#define R_MIPS_GPREL32   12 /* GP relative 32 bit */

Definition at line 1780 of file elf.h.

#define R_MIPS_HI16   5 /* High 16 bit */

Definition at line 1773 of file elf.h.

#define R_MIPS_HIGHER   28

Definition at line 1794 of file elf.h.

#define R_MIPS_HIGHEST   29

Definition at line 1795 of file elf.h.

#define R_MIPS_INSERT_A   25

Definition at line 1791 of file elf.h.

#define R_MIPS_INSERT_B   26

Definition at line 1792 of file elf.h.

#define R_MIPS_JALR   37

Definition at line 1803 of file elf.h.

#define R_MIPS_LITERAL   8 /* 16 bit literal entry */

Definition at line 1776 of file elf.h.

#define R_MIPS_LO16   6 /* Low 16 bit */

Definition at line 1774 of file elf.h.

#define R_MIPS_NONE   0 /* No reloc */

Definition at line 1768 of file elf.h.

#define R_MIPS_NUM   13

Definition at line 1781 of file elf.h.

#define R_MIPS_PC16   10 /* PC relative 16 bit */

Definition at line 1778 of file elf.h.

#define R_MIPS_PJUMP   35

Definition at line 1801 of file elf.h.

#define R_MIPS_REL16   33

Definition at line 1799 of file elf.h.

#define R_MIPS_REL32   3 /* PC relative 32 bit */

Definition at line 1771 of file elf.h.

#define R_MIPS_RELGOT   36

Definition at line 1802 of file elf.h.

#define R_MIPS_SCN_DISP   32

Definition at line 1798 of file elf.h.

#define R_MIPS_SHIFT5   16

Definition at line 1782 of file elf.h.

#define R_MIPS_SHIFT6   17

Definition at line 1783 of file elf.h.

#define R_MIPS_SUB   24

Definition at line 1790 of file elf.h.

#define R_SPARC_13   11 /* Direct 13 bit */

Definition at line 1165 of file elf.h.

#define R_SPARC_16   2 /* Direct 16 bit */

Definition at line 1156 of file elf.h.

#define R_SPARC_22   10 /* Direct 22 bit */

Definition at line 1164 of file elf.h.

#define R_SPARC_32   3 /* Direct 32 bit */

Definition at line 1157 of file elf.h.

#define R_SPARC_8   1 /* Direct 8 bit */

Definition at line 1155 of file elf.h.

#define R_SPARC_COPY   19 /* Copy symbol at runtime */

Definition at line 1173 of file elf.h.

#define R_SPARC_DISP16   5 /* PC relative 16 bit */

Definition at line 1159 of file elf.h.

#define R_SPARC_DISP32   6 /* PC relative 32 bit */

Definition at line 1160 of file elf.h.

#define R_SPARC_DISP8   4 /* PC relative 8 bit */

Definition at line 1158 of file elf.h.

#define R_SPARC_GLOB_DAT   20 /* Create GOT entry */

Definition at line 1174 of file elf.h.

#define R_SPARC_GOT10   13 /* Truncated 10 bit GOT entry */

Definition at line 1167 of file elf.h.

#define R_SPARC_GOT13   14 /* 13 bit GOT entry */

Definition at line 1168 of file elf.h.

#define R_SPARC_GOT22   15 /* 22 bit GOT entry shifted */

Definition at line 1169 of file elf.h.

#define R_SPARC_HI22   9 /* High 22 bit */

Definition at line 1163 of file elf.h.

#define R_SPARC_JMP_SLOT   21 /* Create PLT entry */

Definition at line 1175 of file elf.h.

#define R_SPARC_LO10   12 /* Truncated 10 bit */

Definition at line 1166 of file elf.h.

#define R_SPARC_NONE   0 /* No reloc */

Definition at line 1154 of file elf.h.

#define R_SPARC_NUM   24

Definition at line 1178 of file elf.h.

#define R_SPARC_PC10   16 /* PC relative 10 bit truncated */

Definition at line 1170 of file elf.h.

#define R_SPARC_PC22   17 /* PC relative 22 bit shifted */

Definition at line 1171 of file elf.h.

#define R_SPARC_RELATIVE   22 /* Adjust by program base */

Definition at line 1176 of file elf.h.

#define R_SPARC_UA32   23 /* Direct 32 bit unaligned */

Definition at line 1177 of file elf.h.

#define R_SPARC_WDISP22   8 /* PC relative 22 bit shifted */

Definition at line 1162 of file elf.h.

#define R_SPARC_WDISP30   7 /* PC relative 30 bit shifted */

Definition at line 1161 of file elf.h.

#define R_SPARC_WPLT30   18 /* 30 bit PC relative PLT address */

Definition at line 1172 of file elf.h.

#define RHF_CORD   0x00001000

Definition at line 2050 of file elf.h.

#define RHF_DEFAULT_DELAY_LOAD   0x00000200

Definition at line 2027 of file elf.h.

#define RHF_DELTA_C_PLUS_PLUS   0x00000040

Definition at line 1999 of file elf.h.

#define RHF_GUARANTEE_INIT   0x00000020

Definition at line 1987 of file elf.h.

#define RHF_GUARANTEE_START_INIT   0x00000080

Definition at line 2003 of file elf.h.

#define RHF_NO_LIBRARY_REPLACEMENT   (1 << 2) /* Ignore LD_LIBRARY_PATH */

Definition at line 1888 of file elf.h.

#define RHF_NO_MOVE   0x00000008

Definition at line 1973 of file elf.h.

#define RHF_NO_UNRES_UNDEF   0x00002000

Definition at line 2055 of file elf.h.

#define RHF_NONE   0 /* No flags */

Definition at line 1885 of file elf.h.

#define RHF_NOTPOT   (1 << 1) /* Hash size not power of 2 */

Definition at line 1887 of file elf.h.

#define RHF_PIXIE   0x00000100

Definition at line 2018 of file elf.h.

#define RHF_QUICKSTART   (1 << 0) /* Use quickstart */

Definition at line 1886 of file elf.h.

#define RHF_REQUICKSTART   0x00000400

Definition at line 2035 of file elf.h.

#define RHF_REQUICKSTARTED   0x00000800

Definition at line 2045 of file elf.h.

#define RHF_RLD_ORDER_SAFE   0x00004000

Definition at line 2061 of file elf.h.

#define RHF_SGI_ONLY   0x00000010

Definition at line 1980 of file elf.h.

#define RLD_VERSION   1

Definition at line 2192 of file elf.h.

#define SA_ADDRESSED   0x0800 /* Is subprogram address taken? */

Definition at line 1670 of file elf.h.

#define SA_ALTINTERFACE   0x0008 /* Alternate descriptor follows? */

Definition at line 1678 of file elf.h.

#define SA_AT_FREE   0x0040 /* Is the at register free at all branches? */

Definition at line 1675 of file elf.h.

#define SA_DEFINITION   0x0080 /* Is this a definition (no just call)? */

Definition at line 1674 of file elf.h.

#define SA_DSO_ENTRY   0x1000 /* Is subprogram valid DSO entry? */

Definition at line 1669 of file elf.h.

#define SA_FREE_REGS   0x0020 /* Free register mask precedes parm profile */

Definition at line 1676 of file elf.h.

#define SA_FUNCTION   0x0400 /* Does subprogram return a result? */

Definition at line 1671 of file elf.h.

#define SA_IGNORE_ERROR   0x0100 /* Ignore consistency errors? */

Definition at line 1673 of file elf.h.

#define SA_NESTED   0x0200 /* Is subprogram nested? */

Definition at line 1672 of file elf.h.

#define SA_PARAMETERS   0x0010 /* Parameter profile follows descriptor? */

Definition at line 1677 of file elf.h.

#define SA_PIC   0x2000 /* Are memory references PIC? */

Definition at line 1668 of file elf.h.

#define SA_PROTOTYPED   0x8000 /* Does def or ref have prototype ? */

Definition at line 1666 of file elf.h.

#define SA_VARARGS   0x4000 /* Is this a varargs subprogram ? */

Definition at line 1667 of file elf.h.

#define SELFMAG   4

Definition at line 183 of file elf.h.

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

Definition at line 578 of file elf.h.

Referenced by Create_Elf_Header(), and Em_Add_New_Option().

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

Definition at line 579 of file elf.h.

Referenced by SEC_is_exec().

#define SHF_IA_64_SHORT   SHF_MIPS_GPREL

Definition at line 2268 of file elf.h.

Referenced by SEC_is_gprel().

#define SHF_IRIX_ADDR   0x40000000 /* Reserved for future */

Definition at line 1454 of file elf.h.

#define SHF_IRIX_GPREL   0x10000000

Definition at line 1452 of file elf.h.

#define SHF_IRIX_LOCAL   0x04000000

Definition at line 1457 of file elf.h.

#define SHF_IRIX_MERGE   0x20000000

Definition at line 1453 of file elf.h.

#define SHF_IRIX_NAMES   0x02000000 /* Reserved for future */

Definition at line 1458 of file elf.h.

#define SHF_IRIX_NODUPE   0x01000000 /* Reserved for future */

Definition at line 1459 of file elf.h.

#define SHF_IRIX_NOSTRIP   0x08000000

Definition at line 1456 of file elf.h.

Referenced by Em_Add_New_Option().

#define SHF_IRIX_STRINGS   0x80000000 /* Reserved for future */

Definition at line 1455 of file elf.h.

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

Definition at line 580 of file elf.h.

#define SHF_MIPS_ADDR   SHF_IRIX_ADDR

Definition at line 1462 of file elf.h.

#define SHF_MIPS_GPREL   0x10000000 /* Must be part of global data area */

Definition at line 1353 of file elf.h.

#define SHF_MIPS_LOCAL   SHF_IRIX_LOCAL

Definition at line 1465 of file elf.h.

#define SHF_MIPS_MERGE   SHF_IRIX_MERGE

Definition at line 1461 of file elf.h.

Referenced by SEC_is_merge().

#define SHF_MIPS_NAMES   SHF_IRIX_NAMES

Definition at line 1466 of file elf.h.

#define SHF_MIPS_NODUPE   SHF_IRIX_NODUPE

Definition at line 1467 of file elf.h.

#define SHF_MIPS_NOSTRIP   SHF_IRIX_NOSTRIP

Definition at line 1464 of file elf.h.

#define SHF_MIPS_STRINGS   SHF_IRIX_STRINGS

Definition at line 1463 of file elf.h.

#define SHF_PARISC_SHORT   0x20000000 /* Section with short addressing. */

Definition at line 2212 of file elf.h.

#define SHF_WRITE   (1 << 0) /* Writable */

Definition at line 577 of file elf.h.

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

Definition at line 546 of file elf.h.

#define SHN_COMMON   0xfff2 /* Associated symbol is common */

Definition at line 547 of file elf.h.

#define SHN_HIPROC   0xff1f /* End of processor-specific */

Definition at line 545 of file elf.h.

#define SHN_HIRESERVE   0xffff /* End of reserved indices */

Definition at line 548 of file elf.h.

#define SHN_IRIX_ACOMMON   (SHN_LOPROC + 0)

Definition at line 1504 of file elf.h.

#define SHN_IRIX_DATA   (SHN_LOPROC + 2)

Definition at line 1506 of file elf.h.

#define SHN_IRIX_LCOMMON   (SHN_LOPROC + 5)

Definition at line 1509 of file elf.h.

#define SHN_IRIX_LUNDEFINED   (SHN_LOPROC + 6)

Definition at line 1510 of file elf.h.

#define SHN_IRIX_SCOMMON   (SHN_LOPROC + 3)

Definition at line 1507 of file elf.h.

#define SHN_IRIX_SUNDEFINED   (SHN_LOPROC + 4)

Definition at line 1508 of file elf.h.

#define SHN_IRIX_TEXT   (SHN_LOPROC + 1)

Definition at line 1505 of file elf.h.

#define SHN_LOPROC   0xff00 /* Start of processor-specific */

Definition at line 544 of file elf.h.

#define SHN_LORESERVE   0xff00 /* Start of reserved indices */

Definition at line 543 of file elf.h.

#define SHN_MIPS_ACOMMON   0xff00 /* Allocated common symbols */

Definition at line 1329 of file elf.h.

#define SHN_MIPS_DATA   0xff02 /* Allocated data symbols. */

Definition at line 1331 of file elf.h.

#define SHN_MIPS_LCOMMON   SHN_IRIX_LCOMMON

Definition at line 1516 of file elf.h.

#define SHN_MIPS_LUNDEFINED   SHN_IRIX_LUNDEFINED

Definition at line 1517 of file elf.h.

#define SHN_MIPS_SCOMMON   0xff03 /* Small common symbols */

Definition at line 1332 of file elf.h.

#define SHN_MIPS_SUNDEFINED   0xff04 /* Small undefined symbols */

Definition at line 1333 of file elf.h.

#define SHN_MIPS_TEXT   0xff01 /* Allocated test symbols. */

Definition at line 1330 of file elf.h.

#define SHN_UNDEF   0 /* Undefined section */
#define SHN_UNDEF   0 /* No section, undefined symbol. */

Definition at line 606 of file elf.h.

#define SHT_DYNAMIC   6 /* Dynamic linking information */

Definition at line 558 of file elf.h.

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

Definition at line 563 of file elf.h.

#define SHT_GNU_verdef   0x6ffffffd /* Version definition section. */

Definition at line 566 of file elf.h.

#define SHT_GNU_verneed   0x6ffffffe /* Version needs section. */

Definition at line 567 of file elf.h.

#define SHT_GNU_versym   0x6fffffff /* Version symbol table. */

Definition at line 568 of file elf.h.

#define SHT_HASH   5 /* Symbol hash table */

Definition at line 557 of file elf.h.

#define SHT_HIPROC   0x7fffffff /* End of processor-specific */

Definition at line 571 of file elf.h.

#define SHT_HISUNW   0x6fffffff /* Sun-specific high bound. */

Definition at line 569 of file elf.h.

#define SHT_HIUSER   0x8fffffff /* End of application-specific */

Definition at line 573 of file elf.h.

#define SHT_IA64_OPTIONS   SHT_IRIX_OPTIONS

Definition at line 1413 of file elf.h.

#define SHT_IA64_UNWIND   SHT_IRIX_UNWIND

Definition at line 1411 of file elf.h.

#define SHT_IA64_UNWIND_INFO   SHT_IRIX_UNWIND_INFO

Definition at line 1412 of file elf.h.

#define SHT_IRIX_AUXSYM   (SHT_LOPROC + 22)

Definition at line 1382 of file elf.h.

#define SHT_IRIX_CONFLICT   (SHT_LOPROC + 2)

Definition at line 1358 of file elf.h.

#define SHT_IRIX_CONTENT   (SHT_LOPROC + 12)

Definition at line 1373 of file elf.h.

#define SHT_IRIX_DEBUG   (SHT_LOPROC + 5)

Definition at line 1361 of file elf.h.

#define SHT_IRIX_DELTACLASS   (SHT_LOPROC + 29)

Definition at line 1390 of file elf.h.

#define SHT_IRIX_DELTADECL   (SHT_LOPROC + 31)

Definition at line 1393 of file elf.h.

#define SHT_IRIX_DELTAINST   (SHT_LOPROC + 28)

Definition at line 1389 of file elf.h.

#define SHT_IRIX_DELTASYM   (SHT_LOPROC + 27)

Definition at line 1388 of file elf.h.

#define SHT_IRIX_DENSE   (SHT_LOPROC + 19)

Definition at line 1379 of file elf.h.

#define SHT_IRIX_DONTUSE   (SHT_LOPROC + 10)

Definition at line 1370 of file elf.h.

#define SHT_IRIX_DWARF   (SHT_LOPROC + 30)

Definition at line 1392 of file elf.h.

#define SHT_IRIX_EH_REGION   (SHT_LOPROC + 39)

Definition at line 1401 of file elf.h.

#define SHT_IRIX_EVENTS   (SHT_LOPROC + 33)

Definition at line 1395 of file elf.h.

#define SHT_IRIX_EXT   (SHT_LOPROC + 42)

Definition at line 1406 of file elf.h.

#define SHT_IRIX_EXTSYM   (SHT_LOPROC + 18)

Definition at line 1378 of file elf.h.

#define SHT_IRIX_FDESC   (SHT_LOPROC + 17)

Definition at line 1377 of file elf.h.

#define SHT_IRIX_GPTAB   (SHT_LOPROC + 3)

Definition at line 1359 of file elf.h.

#define SHT_IRIX_IFACE   (SHT_LOPROC + 11)

Definition at line 1372 of file elf.h.

Referenced by Em_Add_New_Interface().

#define SHT_IRIX_LIBLIST   (SHT_LOPROC + 0)

Definition at line 1356 of file elf.h.

#define SHT_IRIX_LINE   (SHT_LOPROC + 25)

Definition at line 1385 of file elf.h.

#define SHT_IRIX_LOCSTR   (SHT_LOPROC + 24)

Definition at line 1384 of file elf.h.

#define SHT_IRIX_LOCSYM   (SHT_LOPROC + 21)

Definition at line 1381 of file elf.h.

#define SHT_IRIX_MSYM   (SHT_LOPROC + 1)

Definition at line 1357 of file elf.h.

#define SHT_IRIX_NUM   47

Definition at line 1416 of file elf.h.

#define SHT_IRIX_OPTIONS   (SHT_LOPROC + 13)

Definition at line 1374 of file elf.h.

Referenced by Em_Add_New_Option().

#define SHT_IRIX_OPTSYM   (SHT_LOPROC + 23)

Definition at line 1383 of file elf.h.

#define SHT_IRIX_PDESC   (SHT_LOPROC + 20)

Definition at line 1380 of file elf.h.

#define SHT_IRIX_PDR_EXCEPTION   (SHT_LOPROC + 41)

Definition at line 1403 of file elf.h.

#define SHT_IRIX_PIXIE   (SHT_LOPROC + 35)

Definition at line 1397 of file elf.h.

#define SHT_IRIX_PLT   (SHT_LOPROC + 45)

Definition at line 1409 of file elf.h.

#define SHT_IRIX_PLTOFF   (SHT_LOPROC + 46)

Definition at line 1410 of file elf.h.

#define SHT_IRIX_REGINFO   (SHT_LOPROC + 6)

Definition at line 1362 of file elf.h.

#define SHT_IRIX_RELD   (SHT_LOPROC + 9)

Definition at line 1369 of file elf.h.

#define SHT_IRIX_RFDESC   (SHT_LOPROC + 26)

Definition at line 1386 of file elf.h.

#define SHT_IRIX_SHDR   (SHT_LOPROC + 16)

Definition at line 1376 of file elf.h.

#define SHT_IRIX_SYMBOL_LIB   (SHT_LOPROC + 32)

Definition at line 1394 of file elf.h.

#define SHT_IRIX_TRANSLATE   (SHT_LOPROC + 34)

Definition at line 1396 of file elf.h.

#define SHT_IRIX_UCODE   (SHT_LOPROC + 4)

Definition at line 1360 of file elf.h.

#define SHT_IRIX_UNWIND   (SHT_LOPROC + 43)

Definition at line 1407 of file elf.h.

#define SHT_IRIX_UNWIND_INFO   (SHT_LOPROC + 44)

Definition at line 1408 of file elf.h.

#define SHT_IRIX_WHIRL   (SHT_LOPROC + 38)

Definition at line 1400 of file elf.h.

#define SHT_IRIX_XLATE   (SHT_LOPROC + 36)

Definition at line 1398 of file elf.h.

#define SHT_IRIX_XLATE_DEBUG   (SHT_LOPROC + 37)

Definition at line 1399 of file elf.h.

#define SHT_IRIX_XLATE_OLD   (SHT_LOPROC + 40)

Definition at line 1402 of file elf.h.

#define SHT_LOPROC   0x70000000 /* Start of processor-specific */

Definition at line 570 of file elf.h.

#define SHT_LOSUNW   0x6ffffffd /* Sun-specific low bound. */

Definition at line 565 of file elf.h.

#define SHT_LOUSER   0x80000000 /* Start of application-specific */

Definition at line 572 of file elf.h.

#define SHT_MIPS_AUXSYM   SHT_IRIX_AUXSYM

Definition at line 1437 of file elf.h.

#define SHT_MIPS_CONFLICT   0x70000002 /* Conflicting symbols */

Definition at line 1338 of file elf.h.

#define SHT_MIPS_CONTENT   SHT_IRIX_CONTENT

Definition at line 1422 of file elf.h.

#define SHT_MIPS_DEBUG   0x70000005 /* MIPS ECOFF debugging information */

Definition at line 1341 of file elf.h.

#define SHT_MIPS_DELTADECL   SHT_IRIX_DELTADECL

Definition at line 1424 of file elf.h.

#define SHT_MIPS_DENSE   SHT_IRIX_DENSE

Definition at line 1434 of file elf.h.

#define SHT_MIPS_DONTUSE   SHT_IRIX_DONTUSE

Definition at line 1443 of file elf.h.

#define SHT_MIPS_DWARF   0x7000001e /* DWARF debugging information. */

Definition at line 1344 of file elf.h.

#define SHT_MIPS_EH_REGION   SHT_IRIX_EH_REGION

Definition at line 1428 of file elf.h.

#define SHT_MIPS_EVENTS   0x70000021 /* Event section. */

Definition at line 1345 of file elf.h.

#define SHT_MIPS_EXTSYM   SHT_IRIX_EXTSYM

Definition at line 1433 of file elf.h.

#define SHT_MIPS_FDESC   SHT_IRIX_FDESC

Definition at line 1432 of file elf.h.

#define SHT_MIPS_GPTAB   0x70000003 /* Global data area sizes */

Definition at line 1339 of file elf.h.

#define SHT_MIPS_IFACE   SHT_IRIX_IFACE

Definition at line 1469 of file elf.h.

#define SHT_MIPS_IPALNO   (SHT_LOPROC + 42)

Definition at line 2265 of file elf.h.

#define SHT_MIPS_LIBLIST   0x70000000 /* Shared objects used in link */

Definition at line 1337 of file elf.h.

#define SHT_MIPS_LINE   SHT_IRIX_LINE

Definition at line 1440 of file elf.h.

#define SHT_MIPS_LOCSTR   SHT_IRIX_LOCSTR

Definition at line 1439 of file elf.h.

#define SHT_MIPS_LOCSYM   SHT_IRIX_LOCSYM

Definition at line 1436 of file elf.h.

#define SHT_MIPS_MSYM   SHT_IRIX_MSYM

Definition at line 1421 of file elf.h.

#define SHT_MIPS_OPTIONS   0x7000000d /* Miscellaneous options. */

Definition at line 1343 of file elf.h.

#define SHT_MIPS_OPTSYM   SHT_IRIX_OPTSYM

Definition at line 1438 of file elf.h.

#define SHT_MIPS_PDESC   SHT_IRIX_PDESC

Definition at line 1435 of file elf.h.

#define SHT_MIPS_PDR_EXCEPTION   SHT_IRIX_PDR_EXCEPTION

Definition at line 1429 of file elf.h.

#define SHT_MIPS_PIXIE   SHT_IRIX_PIXIE

Definition at line 1427 of file elf.h.

#define SHT_MIPS_REGINFO   0x70000006 /* Register usage information */

Definition at line 1342 of file elf.h.

#define SHT_MIPS_RFDESC   SHT_IRIX_RFDESC

Definition at line 1441 of file elf.h.

#define SHT_MIPS_SHDR   SHT_IRIX_SHDR

Definition at line 1431 of file elf.h.

#define SHT_MIPS_SYMBOL_LIB   SHT_IRIX_SYMBOL_LIB

Definition at line 1425 of file elf.h.

#define SHT_MIPS_TRANSLATE   SHT_IRIX_TRANSLATE

Definition at line 1426 of file elf.h.

#define SHT_MIPS_UCODE   0x70000004 /* Reserved for SGI/MIPS compilers */

Definition at line 1340 of file elf.h.

#define SHT_MIPS_XLATE   0x70000024

Definition at line 1346 of file elf.h.

#define SHT_MIPS_XLATE_DEBUG   0x70000025

Definition at line 1347 of file elf.h.

#define SHT_MIPS_XLATE_OLD   0x70000028

Definition at line 1349 of file elf.h.

#define SHT_NOBITS   8 /* Program space with no data (bss) */

Definition at line 560 of file elf.h.

Referenced by SEC_is_nobits().

#define SHT_NOTE   7 /* Notes */

Definition at line 559 of file elf.h.

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

Definition at line 552 of file elf.h.

#define SHT_NUM   12 /* Number of defined types. */

Definition at line 564 of file elf.h.

#define SHT_PARISC_ARCH   0x70000001 /* Architecture extensions. */

Definition at line 2200 of file elf.h.

#define SHT_PARISC_GLOBAL   0x70000002 /* Definition of $global$. */

Definition at line 2201 of file elf.h.

#define SHT_PARISC_GOT   0x70000000 /* GOT for external data. */

Definition at line 2199 of file elf.h.

#define SHT_PARISC_MILLI   0x70000003 /* Millicode routines. */

Definition at line 2202 of file elf.h.

#define SHT_PARISC_PLT   0x70000005 /* Procedure linkage table. */

Definition at line 2204 of file elf.h.

#define SHT_PARISC_SBSS   0x70000007 /* Short uninitialized data. */

Definition at line 2206 of file elf.h.

#define SHT_PARISC_SDATA   0x70000006 /* Short initialized data. */

Definition at line 2205 of file elf.h.

#define SHT_PARISC_STUBS   0x70000009 /* Linker stubs. */

Definition at line 2208 of file elf.h.

#define SHT_PARISC_SYMEXTN   0x70000008 /* Argument/relocation info. */

Definition at line 2207 of file elf.h.

#define SHT_PARISC_UNWIND   0x70000004 /* Unwind information. */

Definition at line 2203 of file elf.h.

#define SHT_PROGBITS   1 /* Program data */

Definition at line 553 of file elf.h.

Referenced by check_section_headers(), Em_Add_Comment(), and WN_write_revision().

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

Definition at line 561 of file elf.h.

Referenced by Create_New_Relocation_Section(), and setup_new_section_for_dwarf().

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

Definition at line 556 of file elf.h.

Referenced by Create_New_Relocation_Section(), and setup_new_section_for_dwarf().

#define SHT_SHLIB   10 /* Reserved */

Definition at line 562 of file elf.h.

#define SHT_STRTAB   3 /* String table */

Definition at line 555 of file elf.h.

Referenced by Create_Elf_Header(), and layout_sections().

#define SHT_SYMTAB   2 /* Symbol table */

Definition at line 554 of file elf.h.

Referenced by Create_Elf_Header(), and Read_Elf_File().

#define STB_GLOBAL   1 /* Global symbol */

Definition at line 622 of file elf.h.

#define STB_HIPROC   15 /* End of processor-specific */

Definition at line 626 of file elf.h.

#define STB_LOCAL   0 /* Local symbol */

Definition at line 621 of file elf.h.

Referenced by Create_Elf_Header(), and Em_Create_Section_Symbol().

#define STB_LOPROC   13 /* Start of processor-specific */

Definition at line 625 of file elf.h.

#define STB_NUM   3 /* Number of defined types. */

Definition at line 624 of file elf.h.

#define STB_SPLIT_COMMON   (STB_LOPROC+0)

Definition at line 1491 of file elf.h.

#define STB_WEAK   2 /* Weak symbol */

Definition at line 623 of file elf.h.

Referenced by Em_Add_New_Weak_Symbol().

#define STN_UNDEF   0 /* End of a chain. */

Definition at line 644 of file elf.h.

#define STO_DEFAULT   0x0

Definition at line 1481 of file elf.h.

#define STO_HIDDEN   0x2

Definition at line 1483 of file elf.h.

#define STO_INTERNAL   0x1

Definition at line 1482 of file elf.h.

#define STO_OPTIONAL   0x4

Definition at line 1485 of file elf.h.

#define STO_PROTECTED   0x3

Definition at line 1484 of file elf.h.

#define STO_SC_ALIGN_UNUSED   0xff /* No longer used */

Definition at line 1486 of file elf.h.

#define STT_FILE   4 /* Symbol's name is file name */

Definition at line 634 of file elf.h.

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

Definition at line 632 of file elf.h.

#define STT_HIPROC   15 /* End of processor-specific */

Definition at line 637 of file elf.h.

#define STT_LOPROC   13 /* Start of processor-specific */

Definition at line 636 of file elf.h.

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

Definition at line 630 of file elf.h.

Referenced by Create_Elf_Header().

#define STT_NUM   5 /* Number of defined types. */

Definition at line 635 of file elf.h.

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

Definition at line 631 of file elf.h.

#define STT_PARISC_MILLICODE   13 /* Millicode function entry point. */

Definition at line 2216 of file elf.h.

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

Definition at line 633 of file elf.h.

Referenced by Em_Create_Section_Symbol().

#define VER_DEF_CURRENT   1 /* Current version */

Definition at line 900 of file elf.h.

#define VER_DEF_NONE   0 /* No version */

Definition at line 899 of file elf.h.

#define VER_DEF_NUM   2 /* Given version number */

Definition at line 901 of file elf.h.

#define VER_FLG_BASE   0x1 /* Version definition of file itself */

Definition at line 904 of file elf.h.

#define VER_FLG_WEAK   0x2 /* Weak version identifier */

Definition at line 947 of file elf.h.

#define VER_FLG_WEAK   0x2 /* Weak verison identifier */

Definition at line 947 of file elf.h.

#define VER_NEED_CURRENT   1 /* Current version */

Definition at line 931 of file elf.h.

#define VER_NEED_NONE   0 /* No version */

Definition at line 930 of file elf.h.

#define VER_NEED_NUM   2 /* Given version number */

Definition at line 932 of file elf.h.

Typedef Documentation

Definition at line 105 of file elf.h.

typedef unsigned char Elf32_Byte

Definition at line 121 of file elf.h.

Definition at line 2186 of file elf.h.

Definition at line 109 of file elf.h.

typedef uint16_t Elf32_Section

Definition at line 113 of file elf.h.

typedef int32_t Elf32_Sword

Definition at line 94 of file elf.h.

typedef int64_t Elf32_Sxword

Definition at line 100 of file elf.h.

Definition at line 117 of file elf.h.

Definition at line 93 of file elf.h.

typedef uint64_t Elf32_Xword

Definition at line 99 of file elf.h.

typedef uint64_t Elf64_Addr

Definition at line 106 of file elf.h.

typedef unsigned char Elf64_Byte

Definition at line 122 of file elf.h.

Definition at line 2188 of file elf.h.

typedef uint16_t Elf64_Half

Definition at line 90 of file elf.h.

typedef uint64_t Elf64_Off

Definition at line 110 of file elf.h.

typedef uint16_t Elf64_Section

Definition at line 114 of file elf.h.

typedef int32_t Elf64_Sword

Definition at line 96 of file elf.h.

typedef int64_t Elf64_Sxword

Definition at line 102 of file elf.h.

typedef uint64_t Elf64_Symndx

Definition at line 118 of file elf.h.

Definition at line 95 of file elf.h.

typedef uint64_t Elf64_Xword

Definition at line 101 of file elf.h.

Definition at line 1631 of file elf.h.

Definition at line 1663 of file elf.h.

Enumeration Type Documentation

anonymous enum
Enumerator
R_IA_64_NONE 
R_IA_64_IMM14 
R_IA_64_IMM22 
R_IA_64_IMM64 
R_IA_64_DIR32MSB 
R_IA_64_DIR32LSB 
R_IA_64_DIR64MSB 
R_IA_64_DIR64LSB 
R_IA_64_GPREL22 
R_IA_64_GPREL64I 
R_IA_64_GPREL64MSB 
R_IA_64_GPREL64LSB 
R_IA_64_LTOFF22 
R_IA_64_LTOFF64I 
R_IA_64_PLTOFF22 
R_IA_64_PLTOFF64I 
R_IA_64_PLTOFF64MSB 
R_IA_64_PLTOFF64LSB 
R_IA_64_FPTR64I 
R_IA_64_FPTR32MSB 
R_IA_64_FPTR32LSB 
R_IA_64_FPTR64MSB 
R_IA_64_FPTR64LSB 
R_IA_64_PCREL21B 
R_IA_64_PCREL21M 
R_IA_64_PCREL21F 
R_IA_64_PCREL32MSB 
R_IA_64_PCREL32LSB 
R_IA_64_PCREL64MSB 
R_IA_64_PCREL64LSB 
R_IA_64_LTOFF_FPTR22 
R_IA_64_LTOFF_FPTR64I 
R_IA_64_SEGREL32MSB 
R_IA_64_SEGREL32LSB 
R_IA_64_SEGREL64MSB 
R_IA_64_SEGREL64LSB 
R_IA_64_SECREL32MSB 
R_IA_64_SECREL32LSB 
R_IA_64_SECREL64MSB 
R_IA_64_SECREL64LSB 
R_IA_64_REL32MSB 
R_IA_64_REL32LSB 
R_IA_64_REL64MSB 
R_IA_64_REL64LSB 
R_IA_64_LTV32MSB 
R_IA_64_LTV32LSB 
R_IA_64_LTV64MSB 
R_IA_64_LTV64LSB 
R_IA_64_IPLTMSB 
R_IA_64_IPLTLSB 
R_IA_64_END_ 

Definition at line 1046 of file elf.h.

Enumerator
RSS_UNDEF 
RSS_GP 
RSS_GP0 
RSS_LOC 

Definition at line 708 of file elf.h.

Enumerator
CK_NULL 
CK_DEFAULT 
CK_ALIGN 
CK_INSTR 
CK_DATA 
CK_SADDR_32 
CK_GADDR_32 
CK_CADDR_32 
CK_SADDR_64 
CK_GADDR_64 
CK_CADDR_64 
CK_NO_XFORM 
CK_NO_REORDER 
CK_GP_GROUP 
CK_STUBS 

Definition at line 432 of file elf.h.

Enumerator
EK_NULL 
EK_ADDR_RESET 
EK_INCR_LOC_EXT 
EK_ENTRY 
EK_IF_ENTRY 
EK_EXIT 
EK_PEND 
EK_SWITCH_32 
EK_SWITCH_64 
EK_DUMMY 
EK_BB_START 
EK_INCR_LOC_UNALIGNED 
EK_GP_PROLOG_HI 
EK_GP_PROLOG_LO 
EK_GOT_PAGE 
EK_GOT_OFST 
EK_HI 
EK_LO 
EK_64_HIGHEST 
EK_64_HIGHER 
EK_64_HIGH 
EK_64_LOW 
EK_GPREL 
EK_DEF 
EK_FCALL_LOCAL 
EK_FCALL_EXTERN 
EK_FCALL_EXTERN_BIG 
EK_FCALL_MULT 
EK_FCALL_MULT_PARTIAL 
EK_LTR_FCALL 
EK_PCREL_GOT0 
EK_MEM_COPY_LOAD 
EK_MEM_COPY_STORE 
EK_MEM_PARTIAL_LOAD 
EK_MEM_EAGER_LOAD 
EK_MEM_VALID_LOAD 
EK_CK_UNUSED_NONE_0 
EK_CK_UNUSED_NONE_1 
EK_CK_UNUSED_NONE_2 
EK_CK_UNUSED_NONE_3 
EK_CK_UNUSED_NONE_4 
EK_CK_UNUSED_16BIT_0 
EK_CK_UNUSED_16BIT_1 
EK_CK_UNUSED_16BIT_2 
EK_CK_UNUSED_16BIT_3 
EK_CK_UNUSED_16BIT_4 
EK_CK_UNUSED_32BIT_0 
EK_CK_UNUSED_32BIT_1 
EK_CK_UNUSED_32BIT_2 
EK_CK_UNUSED_64BIT_0 
EK_CK_UNUSED_64BIT_1 
EK_CK_UNUSED_64BIT_2 
EK_CK_UNUSED_64BIT_3 
EK_CK_UNUSED_64BIT_4 
EK_CK_UNUSED_ULEB128_0 
EK_CK_UNUSED_ULEB128_1 
EK_CK_UNUSED_ULEB128_2 
EK_CK_UNUSED_ULEB128_3 
EK_CK_UNUSED_ULEB128_4 
EK_CK_UNUSED_ULEB128_5 
EK_CK_UNUSED_ULEB128_6 
EK_CK_UNUSED_ULEB128_7 
EK_CK_UNUSED_ULEB128_8 
EK_CK_UNUSED_ULEB128_9 
EK_INCR_LOC 

Definition at line 1521 of file elf.h.

Variable Documentation

Elf64_Conflict _ConflictList64[]
__BEGIN_DECLS typedef uint16_t Elf32_Half

Definition at line 89 of file elf.h.