00001 00002 00003 #define i386 1 00004 #define linux 1 00005 #define unix 1 00006 #define _ELF_H 1 00007 #define _FEATURES_H 1 00008 #define _BSD_SOURCE 1 00009 #define _SVID_SOURCE 1 00010 #define _POSIX_SOURCE 1 00011 #define _POSIX_C_SOURCE 200112L 00012 #define _SYS_CDEFS_H 1 00013 00014 #define _STDINT_H 1 00015 #define _BITS_WCHAR_H 1 00016 typedef signed char int8_t; 00017 typedef short int int16_t; 00018 typedef long int32_t; 00019 typedef long long int int64_t; 00020 typedef unsigned char uint8_t; 00021 typedef unsigned short int uint16_t; 00022 typedef unsigned long uint32_t; 00023 typedef unsigned long long int uint64_t; 00024 typedef signed char int_least8_t; 00025 typedef short int int_least16_t; 00026 typedef long int_least32_t; 00027 typedef long long int int_least64_t; 00028 typedef unsigned char uint_least8_t; 00029 typedef unsigned short int uint_least16_t; 00030 typedef unsigned long uint_least32_t; 00031 typedef unsigned long long int uint_least64_t; 00032 typedef signed char int_fast8_t; 00033 typedef long int_fast16_t; 00034 typedef long int_fast32_t; 00035 typedef long long int int_fast64_t; 00036 typedef unsigned char uint_fast8_t; 00037 typedef unsigned int uint_fast16_t; 00038 typedef unsigned int uint_fast32_t; 00039 typedef unsigned long long int uint_fast64_t; 00040 typedef int intptr_t; 00041 typedef unsigned long uintptr_t; 00042 typedef long long int intmax_t; 00043 typedef unsigned long long int uintmax_t; 00044 #define INT8_MIN (-128) 00045 #define INT16_MIN (-32767-1) 00046 #define INT32_MIN (-2147483647-1) 00047 #define INT8_MAX (127) 00048 #define INT16_MAX (32767) 00049 #define INT32_MAX (2147483647) 00050 #define UINT8_MAX (255) 00051 #define UINT16_MAX (65535) 00052 #define UINT32_MAX (4294967295U) 00053 #define INT_LEAST8_MIN (-128) 00054 #define INT_LEAST16_MIN (-32767-1) 00055 #define INT_LEAST32_MIN (-2147483647-1) 00056 #define INT_LEAST8_MAX (127) 00057 #define INT_LEAST16_MAX (32767) 00058 #define INT_LEAST32_MAX (2147483647) 00059 #define UINT_LEAST8_MAX (255) 00060 #define UINT_LEAST16_MAX (65535) 00061 #define UINT_LEAST32_MAX (4294967295U) 00062 #define INT_FAST8_MIN (-128) 00063 #define INT_FAST16_MIN (-2147483647-1) 00064 #define INT_FAST32_MIN (-2147483647-1) 00065 #define INT_FAST8_MAX (127) 00066 #define INT_FAST16_MAX (2147483647) 00067 #define INT_FAST32_MAX (2147483647) 00068 #define UINT_FAST8_MAX (255) 00069 #define UINT_FAST16_MAX (4294967295U) 00070 #define UINT_FAST32_MAX (4294967295U) 00071 #define INTPTR_MIN (-2147483647-1) 00072 #define INTPTR_MAX (2147483647) 00073 #define UINTPTR_MAX (4294967295U) 00074 #define PTRDIFF_MIN (-2147483647-1) 00075 #define PTRDIFF_MAX (2147483647) 00076 #define SIG_ATOMIC_MIN (-2147483647-1) 00077 #define SIG_ATOMIC_MAX (2147483647) 00078 #define SIZE_MAX (4294967295U) 00079 #define WINT_MIN (0u) 00080 #define WINT_MAX (4294967295u) 00081 #define INT8_C(c) c 00082 #define INT16_C(c) c 00083 #define INT32_C(c) c 00084 #define INT64_C(c) c ## LL 00085 00086 #define UINT8_C(c) c 00087 #define UINT16_C(c) c 00088 #define UINT32_C(c) c ## U 00089 00090 00091 00092 #define UINT64_C(c) c ## ULL 00093 00094 00095 00096 00097 00098 00099 00100 #define INTMAX_C(c) c ## LL 00101 #define UINTMAX_C(c) c ## ULL 00102 typedef uint16_t Elf32_Half; 00103 typedef uint16_t Elf64_Half; 00104 typedef uint32_t Elf32_Word; 00105 typedef int32_t Elf32_Sword; 00106 typedef uint32_t Elf64_Word; 00107 typedef int32_t Elf64_Sword; 00108 typedef uint64_t Elf32_Xword; 00109 typedef int64_t Elf32_Sxword; 00110 typedef uint64_t Elf64_Xword; 00111 typedef int64_t Elf64_Sxword; 00112 typedef uint32_t Elf32_Addr; 00113 typedef uint64_t Elf64_Addr; 00114 typedef uint32_t Elf32_Off; 00115 typedef uint64_t Elf64_Off; 00116 typedef uint16_t Elf32_Section; 00117 typedef uint16_t Elf64_Section; 00118 typedef Elf32_Half Elf32_Versym; 00119 typedef Elf64_Half Elf64_Versym; 00120 #define EI_NIDENT (16) 00121 typedef struct 00122 { 00123 unsigned char e_ident[(16)]; 00124 Elf32_Half e_type; 00125 Elf32_Half e_machine; 00126 Elf32_Word e_version; 00127 Elf32_Addr e_entry; 00128 Elf32_Off e_phoff; 00129 Elf32_Off e_shoff; 00130 Elf32_Word e_flags; 00131 Elf32_Half e_ehsize; 00132 Elf32_Half e_phentsize; 00133 Elf32_Half e_phnum; 00134 Elf32_Half e_shentsize; 00135 Elf32_Half e_shnum; 00136 Elf32_Half e_shstrndx; 00137 } Elf32_Ehdr; 00138 typedef struct 00139 { 00140 unsigned char e_ident[(16)]; 00141 Elf64_Half e_type; 00142 Elf64_Half e_machine; 00143 Elf64_Word e_version; 00144 Elf64_Addr e_entry; 00145 Elf64_Off e_phoff; 00146 Elf64_Off e_shoff; 00147 Elf64_Word e_flags; 00148 Elf64_Half e_ehsize; 00149 Elf64_Half e_phentsize; 00150 Elf64_Half e_phnum; 00151 Elf64_Half e_shentsize; 00152 Elf64_Half e_shnum; 00153 Elf64_Half e_shstrndx; 00154 } Elf64_Ehdr; 00155 #define EI_MAG0 0 00156 #define ELFMAG0 0x7f 00157 #define EI_MAG1 1 00158 #define ELFMAG1 'E' 00159 #define EI_MAG2 2 00160 #define ELFMAG2 'L' 00161 #define EI_MAG3 3 00162 #define ELFMAG3 'F' 00163 #define ELFMAG "\177ELF" 00164 #define SELFMAG 4 00165 #define EI_CLASS 4 00166 #define ELFCLASSNONE 0 00167 #define ELFCLASS32 1 00168 #define ELFCLASS64 2 00169 #define ELFCLASSNUM 3 00170 #define EI_DATA 5 00171 #define ELFDATANONE 0 00172 #define ELFDATA2LSB 1 00173 #define ELFDATA2MSB 2 00174 #define ELFDATANUM 3 00175 #define EI_VERSION 6 00176 #define EI_OSABI 7 00177 #define ELFOSABI_NONE 0 00178 #define ELFOSABI_SYSV 0 00179 #define ELFOSABI_HPUX 1 00180 #define ELFOSABI_NETBSD 2 00181 #define ELFOSABI_LINUX 3 00182 #define ELFOSABI_SOLARIS 6 00183 #define ELFOSABI_AIX 7 00184 #define ELFOSABI_IRIX 8 00185 #define ELFOSABI_FREEBSD 9 00186 #define ELFOSABI_TRU64 10 00187 #define ELFOSABI_MODESTO 11 00188 #define ELFOSABI_OPENBSD 12 00189 #define ELFOSABI_ARM 97 00190 #define ELFOSABI_STANDALONE 255 00191 #define EI_ABIVERSION 8 00192 #define EI_PAD 9 00193 #define ET_NONE 0 00194 #define ET_REL 1 00195 #define ET_EXEC 2 00196 #define ET_DYN 3 00197 #define ET_CORE 4 00198 #define ET_NUM 5 00199 #define ET_LOOS 0xfe00 00200 #define ET_HIOS 0xfeff 00201 #define ET_LOPROC 0xff00 00202 #define ET_HIPROC 0xffff 00203 #define EM_NONE 0 00204 #define EM_M32 1 00205 #define EM_SPARC 2 00206 #define EM_386 3 00207 #define EM_68K 4 00208 #define EM_88K 5 00209 #define EM_860 7 00210 #define EM_MIPS 8 00211 #define EM_S370 9 00212 #define EM_MIPS_RS3_LE 10 00213 #define EM_PARISC 15 00214 #define EM_VPP500 17 00215 #define EM_SPARC32PLUS 18 00216 #define EM_960 19 00217 #define EM_PPC 20 00218 #define EM_PPC64 21 00219 #define EM_S390 22 00220 #define EM_V800 36 00221 #define EM_FR20 37 00222 #define EM_RH32 38 00223 #define EM_RCE 39 00224 #define EM_ARM 40 00225 #define EM_FAKE_ALPHA 41 00226 #define EM_SH 42 00227 #define EM_SPARCV9 43 00228 #define EM_TRICORE 44 00229 #define EM_ARC 45 00230 #define EM_H8_300 46 00231 #define EM_H8_300H 47 00232 #define EM_H8S 48 00233 #define EM_H8_500 49 00234 #define EM_IA_64 50 00235 #define EM_MIPS_X 51 00236 #define EM_COLDFIRE 52 00237 #define EM_68HC12 53 00238 #define EM_MMA 54 00239 #define EM_PCP 55 00240 #define EM_NCPU 56 00241 #define EM_NDR1 57 00242 #define EM_STARCORE 58 00243 #define EM_ME16 59 00244 #define EM_ST100 60 00245 #define EM_TINYJ 61 00246 #define EM_X86_64 62 00247 #define EM_PDSP 63 00248 #define EM_FX66 66 00249 #define EM_ST9PLUS 67 00250 #define EM_ST7 68 00251 #define EM_68HC16 69 00252 #define EM_68HC11 70 00253 #define EM_68HC08 71 00254 #define EM_68HC05 72 00255 #define EM_SVX 73 00256 #define EM_ST19 74 00257 #define EM_VAX 75 00258 #define EM_CRIS 76 00259 #define EM_JAVELIN 77 00260 #define EM_FIREPATH 78 00261 #define EM_ZSP 79 00262 #define EM_MMIX 80 00263 #define EM_HUANY 81 00264 #define EM_PRISM 82 00265 #define EM_AVR 83 00266 #define EM_FR30 84 00267 #define EM_D10V 85 00268 #define EM_D30V 86 00269 #define EM_V850 87 00270 #define EM_M32R 88 00271 #define EM_MN10300 89 00272 #define EM_MN10200 90 00273 #define EM_PJ 91 00274 #define EM_OPENRISC 92 00275 #define EM_ARC_A5 93 00276 #define EM_XTENSA 94 00277 #define EM_NUM 95 00278 #define EM_ALPHA 0x9026 00279 #define EV_NONE 0 00280 #define EV_CURRENT 1 00281 #define EV_NUM 2 00282 typedef struct 00283 { 00284 Elf32_Word sh_name; 00285 Elf32_Word sh_type; 00286 Elf32_Word sh_flags; 00287 Elf32_Addr sh_addr; 00288 Elf32_Off sh_offset; 00289 Elf32_Word sh_size; 00290 Elf32_Word sh_link; 00291 Elf32_Word sh_info; 00292 Elf32_Word sh_addralign; 00293 Elf32_Word sh_entsize; 00294 } Elf32_Shdr; 00295 typedef struct 00296 { 00297 Elf64_Word sh_name; 00298 Elf64_Word sh_type; 00299 Elf64_Xword sh_flags; 00300 Elf64_Addr sh_addr; 00301 Elf64_Off sh_offset; 00302 Elf64_Xword sh_size; 00303 Elf64_Word sh_link; 00304 Elf64_Word sh_info; 00305 Elf64_Xword sh_addralign; 00306 Elf64_Xword sh_entsize; 00307 } Elf64_Shdr; 00308 #define SHN_UNDEF 0 00309 #define SHN_LORESERVE 0xff00 00310 #define SHN_LOPROC 0xff00 00311 #define SHN_BEFORE 0xff00 00312 #define SHN_AFTER 0xff01 00313 #define SHN_HIPROC 0xff1f 00314 #define SHN_LOOS 0xff20 00315 #define SHN_HIOS 0xff3f 00316 #define SHN_ABS 0xfff1 00317 #define SHN_COMMON 0xfff2 00318 #define SHN_XINDEX 0xffff 00319 #define SHN_HIRESERVE 0xffff 00320 #define SHT_NULL 0 00321 #define SHT_PROGBITS 1 00322 #define SHT_SYMTAB 2 00323 #define SHT_STRTAB 3 00324 #define SHT_RELA 4 00325 #define SHT_HASH 5 00326 #define SHT_DYNAMIC 6 00327 #define SHT_NOTE 7 00328 #define SHT_NOBITS 8 00329 #define SHT_REL 9 00330 #define SHT_SHLIB 10 00331 #define SHT_DYNSYM 11 00332 #define SHT_INIT_ARRAY 14 00333 #define SHT_FINI_ARRAY 15 00334 #define SHT_PREINIT_ARRAY 16 00335 #define SHT_GROUP 17 00336 #define SHT_SYMTAB_SHNDX 18 00337 #define SHT_NUM 19 00338 #define SHT_LOOS 0x60000000 00339 #define SHT_GNU_HASH 0x6ffffff6 00340 #define SHT_GNU_LIBLIST 0x6ffffff7 00341 #define SHT_CHECKSUM 0x6ffffff8 00342 #define SHT_LOSUNW 0x6ffffffa 00343 #define SHT_SUNW_move 0x6ffffffa 00344 #define SHT_SUNW_COMDAT 0x6ffffffb 00345 #define SHT_SUNW_syminfo 0x6ffffffc 00346 #define SHT_GNU_verdef 0x6ffffffd 00347 #define SHT_GNU_verneed 0x6ffffffe 00348 #define SHT_GNU_versym 0x6fffffff 00349 #define SHT_HISUNW 0x6fffffff 00350 #define SHT_HIOS 0x6fffffff 00351 #define SHT_LOPROC 0x70000000 00352 #define SHT_HIPROC 0x7fffffff 00353 #define SHT_LOUSER 0x80000000 00354 #define SHT_HIUSER 0x8fffffff 00355 #define SHF_WRITE (1 << 0) 00356 #define SHF_ALLOC (1 << 1) 00357 #define SHF_EXECINSTR (1 << 2) 00358 #define SHF_MERGE (1 << 4) 00359 #define SHF_STRINGS (1 << 5) 00360 #define SHF_INFO_LINK (1 << 6) 00361 #define SHF_LINK_ORDER (1 << 7) 00362 #define SHF_OS_NONCONFORMING (1 << 8) 00363 #define SHF_GROUP (1 << 9) 00364 #define SHF_TLS (1 << 10) 00365 #define SHF_MASKOS 0x0ff00000 00366 #define SHF_MASKPROC 0xf0000000 00367 #define SHF_ORDERED (1 << 30) 00368 #define SHF_EXCLUDE (1 << 31) 00369 #define GRP_COMDAT 0x1 00370 typedef struct 00371 { 00372 Elf32_Word st_name; 00373 Elf32_Addr st_value; 00374 Elf32_Word st_size; 00375 unsigned char st_info; 00376 unsigned char st_other; 00377 Elf32_Section st_shndx; 00378 } Elf32_Sym; 00379 typedef struct 00380 { 00381 Elf64_Word st_name; 00382 unsigned char st_info; 00383 unsigned char st_other; 00384 Elf64_Section st_shndx; 00385 Elf64_Addr st_value; 00386 Elf64_Xword st_size; 00387 } Elf64_Sym; 00388 typedef struct 00389 { 00390 Elf32_Half si_boundto; 00391 Elf32_Half si_flags; 00392 } Elf32_Syminfo; 00393 typedef struct 00394 { 00395 Elf64_Half si_boundto; 00396 Elf64_Half si_flags; 00397 } Elf64_Syminfo; 00398 #define SYMINFO_BT_SELF 0xffff 00399 #define SYMINFO_BT_PARENT 0xfffe 00400 #define SYMINFO_BT_LOWRESERVE 0xff00 00401 #define SYMINFO_FLG_DIRECT 0x0001 00402 #define SYMINFO_FLG_PASSTHRU 0x0002 00403 #define SYMINFO_FLG_COPY 0x0004 00404 #define SYMINFO_FLG_LAZYLOAD 0x0008 00405 #define SYMINFO_NONE 0 00406 #define SYMINFO_CURRENT 1 00407 #define SYMINFO_NUM 2 00408 #define ELF32_ST_BIND(val) (((unsigned char) (val)) >> 4) 00409 #define ELF32_ST_TYPE(val) ((val) & 0xf) 00410 #define ELF32_ST_INFO(bind,type) (((bind) << 4) + ((type) & 0xf)) 00411 #define ELF64_ST_BIND(val) ELF32_ST_BIND (val) 00412 #define ELF64_ST_TYPE(val) ELF32_ST_TYPE (val) 00413 #define ELF64_ST_INFO(bind,type) ELF32_ST_INFO ((bind), (type)) 00414 #define STB_LOCAL 0 00415 #define STB_GLOBAL 1 00416 #define STB_WEAK 2 00417 #define STB_NUM 3 00418 #define STB_LOOS 10 00419 #define STB_HIOS 12 00420 #define STB_LOPROC 13 00421 #define STB_HIPROC 15 00422 #define STT_NOTYPE 0 00423 #define STT_OBJECT 1 00424 #define STT_FUNC 2 00425 #define STT_SECTION 3 00426 #define STT_FILE 4 00427 #define STT_COMMON 5 00428 #define STT_TLS 6 00429 #define STT_NUM 7 00430 #define STT_LOOS 10 00431 #define STT_HIOS 12 00432 #define STT_LOPROC 13 00433 #define STT_HIPROC 15 00434 #define STN_UNDEF 0 00435 #define ELF32_ST_VISIBILITY(o) ((o) & 0x03) 00436 #define ELF64_ST_VISIBILITY(o) ELF32_ST_VISIBILITY (o) 00437 #define STV_DEFAULT 0 00438 #define STV_INTERNAL 1 00439 #define STV_HIDDEN 2 00440 #define STV_PROTECTED 3 00441 typedef struct 00442 { 00443 Elf32_Addr r_offset; 00444 Elf32_Word r_info; 00445 } Elf32_Rel; 00446 typedef struct 00447 { 00448 Elf64_Addr r_offset; 00449 Elf64_Xword r_info; 00450 } Elf64_Rel; 00451 typedef struct 00452 { 00453 Elf32_Addr r_offset; 00454 Elf32_Word r_info; 00455 Elf32_Sword r_addend; 00456 } Elf32_Rela; 00457 typedef struct 00458 { 00459 Elf64_Addr r_offset; 00460 Elf64_Xword r_info; 00461 Elf64_Sxword r_addend; 00462 } Elf64_Rela; 00463 #define ELF32_R_SYM(val) ((val) >> 8) 00464 #define ELF32_R_TYPE(val) ((val) & 0xff) 00465 #define ELF32_R_INFO(sym,type) (((sym) << 8) + ((type) & 0xff)) 00466 #define ELF64_R_SYM(i) ((i) >> 32) 00467 #define ELF64_R_TYPE(i) ((i) & 0xffffffff) 00468 #define ELF64_R_INFO(sym,type) ((((Elf64_Xword) (sym)) << 32) + (type)) 00469 typedef struct 00470 { 00471 Elf32_Word p_type; 00472 Elf32_Off p_offset; 00473 Elf32_Addr p_vaddr; 00474 Elf32_Addr p_paddr; 00475 Elf32_Word p_filesz; 00476 Elf32_Word p_memsz; 00477 Elf32_Word p_flags; 00478 Elf32_Word p_align; 00479 } Elf32_Phdr; 00480 typedef struct 00481 { 00482 Elf64_Word p_type; 00483 Elf64_Word p_flags; 00484 Elf64_Off p_offset; 00485 Elf64_Addr p_vaddr; 00486 Elf64_Addr p_paddr; 00487 Elf64_Xword p_filesz; 00488 Elf64_Xword p_memsz; 00489 Elf64_Xword p_align; 00490 } Elf64_Phdr; 00491 #define PT_NULL 0 00492 #define PT_LOAD 1 00493 #define PT_DYNAMIC 2 00494 #define PT_INTERP 3 00495 #define PT_NOTE 4 00496 #define PT_SHLIB 5 00497 #define PT_PHDR 6 00498 #define PT_TLS 7 00499 #define PT_NUM 8 00500 #define PT_LOOS 0x60000000 00501 #define PT_GNU_EH_FRAME 0x6474e550 00502 #define PT_GNU_STACK 0x6474e551 00503 #define PT_GNU_RELRO 0x6474e552 00504 #define PT_LOSUNW 0x6ffffffa 00505 #define PT_SUNWBSS 0x6ffffffa 00506 #define PT_SUNWSTACK 0x6ffffffb 00507 #define PT_HISUNW 0x6fffffff 00508 #define PT_HIOS 0x6fffffff 00509 #define PT_LOPROC 0x70000000 00510 #define PT_HIPROC 0x7fffffff 00511 #define PF_X (1 << 0) 00512 #define PF_W (1 << 1) 00513 #define PF_R (1 << 2) 00514 #define PF_MASKOS 0x0ff00000 00515 #define PF_MASKPROC 0xf0000000 00516 #define NT_PRSTATUS 1 00517 #define NT_FPREGSET 2 00518 #define NT_PRPSINFO 3 00519 #define NT_PRXREG 4 00520 #define NT_TASKSTRUCT 4 00521 #define NT_PLATFORM 5 00522 #define NT_AUXV 6 00523 #define NT_GWINDOWS 7 00524 #define NT_ASRS 8 00525 #define NT_PSTATUS 10 00526 #define NT_PSINFO 13 00527 #define NT_PRCRED 14 00528 #define NT_UTSNAME 15 00529 #define NT_LWPSTATUS 16 00530 #define NT_LWPSINFO 17 00531 #define NT_PRFPXREG 20 00532 #define NT_PRXFPREG 0x46e62b7f 00533 #define NT_VERSION 1 00534 typedef struct 00535 { 00536 Elf32_Sword d_tag; 00537 union 00538 { 00539 Elf32_Word d_val; 00540 Elf32_Addr d_ptr; 00541 } d_un; 00542 } Elf32_Dyn; 00543 typedef struct 00544 { 00545 Elf64_Sxword d_tag; 00546 union 00547 { 00548 Elf64_Xword d_val; 00549 Elf64_Addr d_ptr; 00550 } d_un; 00551 } Elf64_Dyn; 00552 #define DT_NULL 0 00553 #define DT_NEEDED 1 00554 #define DT_PLTRELSZ 2 00555 #define DT_PLTGOT 3 00556 #define DT_HASH 4 00557 #define DT_STRTAB 5 00558 #define DT_SYMTAB 6 00559 #define DT_RELA 7 00560 #define DT_RELASZ 8 00561 #define DT_RELAENT 9 00562 #define DT_STRSZ 10 00563 #define DT_SYMENT 11 00564 #define DT_INIT 12 00565 #define DT_FINI 13 00566 #define DT_SONAME 14 00567 #define DT_RPATH 15 00568 #define DT_SYMBOLIC 16 00569 #define DT_REL 17 00570 #define DT_RELSZ 18 00571 #define DT_RELENT 19 00572 #define DT_PLTREL 20 00573 #define DT_DEBUG 21 00574 #define DT_TEXTREL 22 00575 #define DT_JMPREL 23 00576 #define DT_BIND_NOW 24 00577 #define DT_INIT_ARRAY 25 00578 #define DT_FINI_ARRAY 26 00579 #define DT_INIT_ARRAYSZ 27 00580 #define DT_FINI_ARRAYSZ 28 00581 #define DT_RUNPATH 29 00582 #define DT_FLAGS 30 00583 #define DT_ENCODING 32 00584 #define DT_PREINIT_ARRAY 32 00585 #define DT_PREINIT_ARRAYSZ 33 00586 #define DT_NUM 34 00587 #define DT_LOOS 0x6000000d 00588 #define DT_HIOS 0x6ffff000 00589 #define DT_LOPROC 0x70000000 00590 #define DT_HIPROC 0x7fffffff 00591 #define DT_PROCNUM DT_MIPS_NUM 00592 #define DT_VALRNGLO 0x6ffffd00 00593 #define DT_GNU_PRELINKED 0x6ffffdf5 00594 #define DT_GNU_CONFLICTSZ 0x6ffffdf6 00595 #define DT_GNU_LIBLISTSZ 0x6ffffdf7 00596 #define DT_CHECKSUM 0x6ffffdf8 00597 #define DT_PLTPADSZ 0x6ffffdf9 00598 #define DT_MOVEENT 0x6ffffdfa 00599 #define DT_MOVESZ 0x6ffffdfb 00600 #define DT_FEATURE_1 0x6ffffdfc 00601 #define DT_POSFLAG_1 0x6ffffdfd 00602 #define DT_SYMINSZ 0x6ffffdfe 00603 #define DT_SYMINENT 0x6ffffdff 00604 #define DT_VALRNGHI 0x6ffffdff 00605 #define DT_VALTAGIDX(tag) (DT_VALRNGHI - (tag)) 00606 #define DT_VALNUM 12 00607 #define DT_ADDRRNGLO 0x6ffffe00 00608 #define DT_GNU_HASH 0x6ffffef5 00609 #define DT_TLSDESC_PLT 0x6ffffef6 00610 #define DT_TLSDESC_GOT 0x6ffffef7 00611 #define DT_GNU_CONFLICT 0x6ffffef8 00612 #define DT_GNU_LIBLIST 0x6ffffef9 00613 #define DT_CONFIG 0x6ffffefa 00614 #define DT_DEPAUDIT 0x6ffffefb 00615 #define DT_AUDIT 0x6ffffefc 00616 #define DT_PLTPAD 0x6ffffefd 00617 #define DT_MOVETAB 0x6ffffefe 00618 #define DT_SYMINFO 0x6ffffeff 00619 #define DT_ADDRRNGHI 0x6ffffeff 00620 #define DT_ADDRTAGIDX(tag) (DT_ADDRRNGHI - (tag)) 00621 #define DT_ADDRNUM 11 00622 #define DT_VERSYM 0x6ffffff0 00623 #define DT_RELACOUNT 0x6ffffff9 00624 #define DT_RELCOUNT 0x6ffffffa 00625 #define DT_FLAGS_1 0x6ffffffb 00626 #define DT_VERDEF 0x6ffffffc 00627 #define DT_VERDEFNUM 0x6ffffffd 00628 #define DT_VERNEED 0x6ffffffe 00629 #define DT_VERNEEDNUM 0x6fffffff 00630 #define DT_VERSIONTAGIDX(tag) (DT_VERNEEDNUM - (tag)) 00631 #define DT_VERSIONTAGNUM 16 00632 #define DT_AUXILIARY 0x7ffffffd 00633 #define DT_FILTER 0x7fffffff 00634 #define DT_EXTRATAGIDX(tag) ((Elf32_Word)-((Elf32_Sword) (tag) <<1>>1)-1) 00635 #define DT_EXTRANUM 3 00636 #define DF_ORIGIN 0x00000001 00637 #define DF_SYMBOLIC 0x00000002 00638 #define DF_TEXTREL 0x00000004 00639 #define DF_BIND_NOW 0x00000008 00640 #define DF_STATIC_TLS 0x00000010 00641 #define DF_1_NOW 0x00000001 00642 #define DF_1_GLOBAL 0x00000002 00643 #define DF_1_GROUP 0x00000004 00644 #define DF_1_NODELETE 0x00000008 00645 #define DF_1_LOADFLTR 0x00000010 00646 #define DF_1_INITFIRST 0x00000020 00647 #define DF_1_NOOPEN 0x00000040 00648 #define DF_1_ORIGIN 0x00000080 00649 #define DF_1_DIRECT 0x00000100 00650 #define DF_1_TRANS 0x00000200 00651 #define DF_1_INTERPOSE 0x00000400 00652 #define DF_1_NODEFLIB 0x00000800 00653 #define DF_1_NODUMP 0x00001000 00654 #define DF_1_CONFALT 0x00002000 00655 #define DF_1_ENDFILTEE 0x00004000 00656 #define DF_1_DISPRELDNE 0x00008000 00657 #define DF_1_DISPRELPND 0x00010000 00658 #define DTF_1_PARINIT 0x00000001 00659 #define DTF_1_CONFEXP 0x00000002 00660 #define DF_P1_LAZYLOAD 0x00000001 00661 #define DF_P1_GROUPPERM 0x00000002 00662 typedef struct 00663 { 00664 Elf32_Half vd_version; 00665 Elf32_Half vd_flags; 00666 Elf32_Half vd_ndx; 00667 Elf32_Half vd_cnt; 00668 Elf32_Word vd_hash; 00669 Elf32_Word vd_aux; 00670 Elf32_Word vd_next; 00671 } Elf32_Verdef; 00672 typedef struct 00673 { 00674 Elf64_Half vd_version; 00675 Elf64_Half vd_flags; 00676 Elf64_Half vd_ndx; 00677 Elf64_Half vd_cnt; 00678 Elf64_Word vd_hash; 00679 Elf64_Word vd_aux; 00680 Elf64_Word vd_next; 00681 } Elf64_Verdef; 00682 #define VER_DEF_NONE 0 00683 #define VER_DEF_CURRENT 1 00684 #define VER_DEF_NUM 2 00685 #define VER_FLG_BASE 0x1 00686 #define VER_FLG_WEAK 0x2 00687 #define VER_NDX_LOCAL 0 00688 #define VER_NDX_GLOBAL 1 00689 #define VER_NDX_LORESERVE 0xff00 00690 #define VER_NDX_ELIMINATE 0xff01 00691 typedef struct 00692 { 00693 Elf32_Word vda_name; 00694 Elf32_Word vda_next; 00695 } Elf32_Verdaux; 00696 typedef struct 00697 { 00698 Elf64_Word vda_name; 00699 Elf64_Word vda_next; 00700 } Elf64_Verdaux; 00701 typedef struct 00702 { 00703 Elf32_Half vn_version; 00704 Elf32_Half vn_cnt; 00705 Elf32_Word vn_file; 00706 Elf32_Word vn_aux; 00707 Elf32_Word vn_next; 00708 } Elf32_Verneed; 00709 typedef struct 00710 { 00711 Elf64_Half vn_version; 00712 Elf64_Half vn_cnt; 00713 Elf64_Word vn_file; 00714 Elf64_Word vn_aux; 00715 Elf64_Word vn_next; 00716 } Elf64_Verneed; 00717 #define VER_NEED_NONE 0 00718 #define VER_NEED_CURRENT 1 00719 #define VER_NEED_NUM 2 00720 typedef struct 00721 { 00722 Elf32_Word vna_hash; 00723 Elf32_Half vna_flags; 00724 Elf32_Half vna_other; 00725 Elf32_Word vna_name; 00726 Elf32_Word vna_next; 00727 } Elf32_Vernaux; 00728 typedef struct 00729 { 00730 Elf64_Word vna_hash; 00731 Elf64_Half vna_flags; 00732 Elf64_Half vna_other; 00733 Elf64_Word vna_name; 00734 Elf64_Word vna_next; 00735 } Elf64_Vernaux; 00736 #define VER_FLG_WEAK 0x2 00737 typedef struct 00738 { 00739 uint32_t a_type; 00740 union 00741 { 00742 uint32_t a_val; 00743 } a_un; 00744 } Elf32_auxv_t; 00745 typedef struct 00746 { 00747 uint64_t a_type; 00748 union 00749 { 00750 uint64_t a_val; 00751 } a_un; 00752 } Elf64_auxv_t; 00753 #define AT_NULL 0 00754 #define AT_IGNORE 1 00755 #define AT_EXECFD 2 00756 #define AT_PHDR 3 00757 #define AT_PHENT 4 00758 #define AT_PHNUM 5 00759 #define AT_PAGESZ 6 00760 #define AT_BASE 7 00761 #define AT_FLAGS 8 00762 #define AT_ENTRY 9 00763 #define AT_NOTELF 10 00764 #define AT_UID 11 00765 #define AT_EUID 12 00766 #define AT_GID 13 00767 #define AT_EGID 14 00768 #define AT_CLKTCK 17 00769 #define AT_PLATFORM 15 00770 #define AT_HWCAP 16 00771 #define AT_FPUCW 18 00772 #define AT_DCACHEBSIZE 19 00773 #define AT_ICACHEBSIZE 20 00774 #define AT_UCACHEBSIZE 21 00775 #define AT_IGNOREPPC 22 00776 #define AT_SECURE 23 00777 #define AT_SYSINFO 32 00778 #define AT_SYSINFO_EHDR 33 00779 #define AT_L1I_CACHESHAPE 34 00780 #define AT_L1D_CACHESHAPE 35 00781 #define AT_L2_CACHESHAPE 36 00782 #define AT_L3_CACHESHAPE 37 00783 typedef struct 00784 { 00785 Elf32_Word n_namesz; 00786 Elf32_Word n_descsz; 00787 Elf32_Word n_type; 00788 } Elf32_Nhdr; 00789 typedef struct 00790 { 00791 Elf64_Word n_namesz; 00792 Elf64_Word n_descsz; 00793 Elf64_Word n_type; 00794 } Elf64_Nhdr; 00795 #define ELF_NOTE_SOLARIS "SUNW Solaris" 00796 #define ELF_NOTE_GNU "GNU" 00797 #define ELF_NOTE_PAGESIZE_HINT 1 00798 #define NT_GNU_ABI_TAG 1 00799 #define ELF_NOTE_ABI NT_GNU_ABI_TAG 00800 #define ELF_NOTE_OS_LINUX 0 00801 #define ELF_NOTE_OS_GNU 1 00802 #define ELF_NOTE_OS_SOLARIS2 2 00803 #define ELF_NOTE_OS_FREEBSD 3 00804 #define NT_GNU_HWCAP 2 00805 #define NT_GNU_BUILD_ID 3 00806 typedef struct 00807 { 00808 Elf32_Xword m_value; 00809 Elf32_Word m_info; 00810 Elf32_Word m_poffset; 00811 Elf32_Half m_repeat; 00812 Elf32_Half m_stride; 00813 } Elf32_Move; 00814 typedef struct 00815 { 00816 Elf64_Xword m_value; 00817 Elf64_Xword m_info; 00818 Elf64_Xword m_poffset; 00819 Elf64_Half m_repeat; 00820 Elf64_Half m_stride; 00821 } Elf64_Move; 00822 #define ELF32_M_SYM(info) ((info) >> 8) 00823 #define ELF32_M_SIZE(info) ((unsigned char) (info)) 00824 #define ELF32_M_INFO(sym,size) (((sym) << 8) + (unsigned char) (size)) 00825 #define ELF64_M_SYM(info) ELF32_M_SYM (info) 00826 #define ELF64_M_SIZE(info) ELF32_M_SIZE (info) 00827 #define ELF64_M_INFO(sym,size) ELF32_M_INFO (sym, size) 00828 #define EF_CPU32 0x00810000 00829 #define R_68K_NONE 0 00830 #define R_68K_32 1 00831 #define R_68K_16 2 00832 #define R_68K_8 3 00833 #define R_68K_PC32 4 00834 #define R_68K_PC16 5 00835 #define R_68K_PC8 6 00836 #define R_68K_GOT32 7 00837 #define R_68K_GOT16 8 00838 #define R_68K_GOT8 9 00839 #define R_68K_GOT32O 10 00840 #define R_68K_GOT16O 11 00841 #define R_68K_GOT8O 12 00842 #define R_68K_PLT32 13 00843 #define R_68K_PLT16 14 00844 #define R_68K_PLT8 15 00845 #define R_68K_PLT32O 16 00846 #define R_68K_PLT16O 17 00847 #define R_68K_PLT8O 18 00848 #define R_68K_COPY 19 00849 #define R_68K_GLOB_DAT 20 00850 #define R_68K_JMP_SLOT 21 00851 #define R_68K_RELATIVE 22 00852 #define R_68K_NUM 23 00853 #define R_386_NONE 0 00854 #define R_386_32 1 00855 #define R_386_PC32 2 00856 #define R_386_GOT32 3 00857 #define R_386_PLT32 4 00858 #define R_386_COPY 5 00859 #define R_386_GLOB_DAT 6 00860 #define R_386_JMP_SLOT 7 00861 #define R_386_RELATIVE 8 00862 #define R_386_GOTOFF 9 00863 #define R_386_GOTPC 10 00864 #define R_386_32PLT 11 00865 #define R_386_TLS_TPOFF 14 00866 #define R_386_TLS_IE 15 00867 #define R_386_TLS_GOTIE 16 00868 #define R_386_TLS_LE 17 00869 #define R_386_TLS_GD 18 00870 #define R_386_TLS_LDM 19 00871 #define R_386_16 20 00872 #define R_386_PC16 21 00873 #define R_386_8 22 00874 #define R_386_PC8 23 00875 #define R_386_TLS_GD_32 24 00876 #define R_386_TLS_GD_PUSH 25 00877 #define R_386_TLS_GD_CALL 26 00878 #define R_386_TLS_GD_POP 27 00879 #define R_386_TLS_LDM_32 28 00880 #define R_386_TLS_LDM_PUSH 29 00881 #define R_386_TLS_LDM_CALL 30 00882 #define R_386_TLS_LDM_POP 31 00883 #define R_386_TLS_LDO_32 32 00884 #define R_386_TLS_IE_32 33 00885 #define R_386_TLS_LE_32 34 00886 #define R_386_TLS_DTPMOD32 35 00887 #define R_386_TLS_DTPOFF32 36 00888 #define R_386_TLS_TPOFF32 37 00889 #define R_386_NUM 38 00890 #define STT_SPARC_REGISTER 13 00891 #define EF_SPARCV9_MM 3 00892 #define EF_SPARCV9_TSO 0 00893 #define EF_SPARCV9_PSO 1 00894 #define EF_SPARCV9_RMO 2 00895 #define EF_SPARC_LEDATA 0x800000 00896 #define EF_SPARC_EXT_MASK 0xFFFF00 00897 #define EF_SPARC_32PLUS 0x000100 00898 #define EF_SPARC_SUN_US1 0x000200 00899 #define EF_SPARC_HAL_R1 0x000400 00900 #define EF_SPARC_SUN_US3 0x000800 00901 #define R_SPARC_NONE 0 00902 #define R_SPARC_8 1 00903 #define R_SPARC_16 2 00904 #define R_SPARC_32 3 00905 #define R_SPARC_DISP8 4 00906 #define R_SPARC_DISP16 5 00907 #define R_SPARC_DISP32 6 00908 #define R_SPARC_WDISP30 7 00909 #define R_SPARC_WDISP22 8 00910 #define R_SPARC_HI22 9 00911 #define R_SPARC_22 10 00912 #define R_SPARC_13 11 00913 #define R_SPARC_LO10 12 00914 #define R_SPARC_GOT10 13 00915 #define R_SPARC_GOT13 14 00916 #define R_SPARC_GOT22 15 00917 #define R_SPARC_PC10 16 00918 #define R_SPARC_PC22 17 00919 #define R_SPARC_WPLT30 18 00920 #define R_SPARC_COPY 19 00921 #define R_SPARC_GLOB_DAT 20 00922 #define R_SPARC_JMP_SLOT 21 00923 #define R_SPARC_RELATIVE 22 00924 #define R_SPARC_UA32 23 00925 #define R_SPARC_PLT32 24 00926 #define R_SPARC_HIPLT22 25 00927 #define R_SPARC_LOPLT10 26 00928 #define R_SPARC_PCPLT32 27 00929 #define R_SPARC_PCPLT22 28 00930 #define R_SPARC_PCPLT10 29 00931 #define R_SPARC_10 30 00932 #define R_SPARC_11 31 00933 #define R_SPARC_64 32 00934 #define R_SPARC_OLO10 33 00935 #define R_SPARC_HH22 34 00936 #define R_SPARC_HM10 35 00937 #define R_SPARC_LM22 36 00938 #define R_SPARC_PC_HH22 37 00939 #define R_SPARC_PC_HM10 38 00940 #define R_SPARC_PC_LM22 39 00941 #define R_SPARC_WDISP16 40 00942 #define R_SPARC_WDISP19 41 00943 #define R_SPARC_7 43 00944 #define R_SPARC_5 44 00945 #define R_SPARC_6 45 00946 #define R_SPARC_DISP64 46 00947 #define R_SPARC_PLT64 47 00948 #define R_SPARC_HIX22 48 00949 #define R_SPARC_LOX10 49 00950 #define R_SPARC_H44 50 00951 #define R_SPARC_M44 51 00952 #define R_SPARC_L44 52 00953 #define R_SPARC_REGISTER 53 00954 #define R_SPARC_UA64 54 00955 #define R_SPARC_UA16 55 00956 #define R_SPARC_TLS_GD_HI22 56 00957 #define R_SPARC_TLS_GD_LO10 57 00958 #define R_SPARC_TLS_GD_ADD 58 00959 #define R_SPARC_TLS_GD_CALL 59 00960 #define R_SPARC_TLS_LDM_HI22 60 00961 #define R_SPARC_TLS_LDM_LO10 61 00962 #define R_SPARC_TLS_LDM_ADD 62 00963 #define R_SPARC_TLS_LDM_CALL 63 00964 #define R_SPARC_TLS_LDO_HIX22 64 00965 #define R_SPARC_TLS_LDO_LOX10 65 00966 #define R_SPARC_TLS_LDO_ADD 66 00967 #define R_SPARC_TLS_IE_HI22 67 00968 #define R_SPARC_TLS_IE_LO10 68 00969 #define R_SPARC_TLS_IE_LD 69 00970 #define R_SPARC_TLS_IE_LDX 70 00971 #define R_SPARC_TLS_IE_ADD 71 00972 #define R_SPARC_TLS_LE_HIX22 72 00973 #define R_SPARC_TLS_LE_LOX10 73 00974 #define R_SPARC_TLS_DTPMOD32 74 00975 #define R_SPARC_TLS_DTPMOD64 75 00976 #define R_SPARC_TLS_DTPOFF32 76 00977 #define R_SPARC_TLS_DTPOFF64 77 00978 #define R_SPARC_TLS_TPOFF32 78 00979 #define R_SPARC_TLS_TPOFF64 79 00980 #define R_SPARC_NUM 80 00981 #define DT_SPARC_REGISTER 0x70000001 00982 #define DT_SPARC_NUM 2 00983 #define HWCAP_SPARC_FLUSH 1 00984 #define HWCAP_SPARC_STBAR 2 00985 #define HWCAP_SPARC_SWAP 4 00986 #define HWCAP_SPARC_MULDIV 8 00987 #define HWCAP_SPARC_V9 16 00988 #define HWCAP_SPARC_ULTRA3 32 00989 #define HWCAP_SPARC_BLKINIT 64 00990 #define HWCAP_SPARC_N2 128 00991 #define EF_MIPS_NOREORDER 1 00992 #define EF_MIPS_PIC 2 00993 #define EF_MIPS_CPIC 4 00994 #define EF_MIPS_XGOT 8 00995 #define EF_MIPS_64BIT_WHIRL 16 00996 #define EF_MIPS_ABI2 32 00997 #define EF_MIPS_ABI_ON32 64 00998 #define EF_MIPS_ARCH 0xf0000000 00999 #define EF_MIPS_ARCH_1 0x00000000 01000 #define EF_MIPS_ARCH_2 0x10000000 01001 #define EF_MIPS_ARCH_3 0x20000000 01002 #define EF_MIPS_ARCH_4 0x30000000 01003 #define EF_MIPS_ARCH_5 0x40000000 01004 #define EF_MIPS_ARCH_32 0x60000000 01005 #define EF_MIPS_ARCH_64 0x70000000 01006 #define E_MIPS_ARCH_1 0x00000000 01007 #define E_MIPS_ARCH_2 0x10000000 01008 #define E_MIPS_ARCH_3 0x20000000 01009 #define E_MIPS_ARCH_4 0x30000000 01010 #define E_MIPS_ARCH_5 0x40000000 01011 #define E_MIPS_ARCH_32 0x60000000 01012 #define E_MIPS_ARCH_64 0x70000000 01013 #define SHN_MIPS_ACOMMON 0xff00 01014 #define SHN_MIPS_TEXT 0xff01 01015 #define SHN_MIPS_DATA 0xff02 01016 #define SHN_MIPS_SCOMMON 0xff03 01017 #define SHN_MIPS_SUNDEFINED 0xff04 01018 #define SHT_MIPS_LIBLIST 0x70000000 01019 #define SHT_MIPS_MSYM 0x70000001 01020 #define SHT_MIPS_CONFLICT 0x70000002 01021 #define SHT_MIPS_GPTAB 0x70000003 01022 #define SHT_MIPS_UCODE 0x70000004 01023 #define SHT_MIPS_DEBUG 0x70000005 01024 #define SHT_MIPS_REGINFO 0x70000006 01025 #define SHT_MIPS_PACKAGE 0x70000007 01026 #define SHT_MIPS_PACKSYM 0x70000008 01027 #define SHT_MIPS_RELD 0x70000009 01028 #define SHT_MIPS_IFACE 0x7000000b 01029 #define SHT_MIPS_CONTENT 0x7000000c 01030 #define SHT_MIPS_OPTIONS 0x7000000d 01031 #define SHT_MIPS_SHDR 0x70000010 01032 #define SHT_MIPS_FDESC 0x70000011 01033 #define SHT_MIPS_EXTSYM 0x70000012 01034 #define SHT_MIPS_DENSE 0x70000013 01035 #define SHT_MIPS_PDESC 0x70000014 01036 #define SHT_MIPS_LOCSYM 0x70000015 01037 #define SHT_MIPS_AUXSYM 0x70000016 01038 #define SHT_MIPS_OPTSYM 0x70000017 01039 #define SHT_MIPS_LOCSTR 0x70000018 01040 #define SHT_MIPS_LINE 0x70000019 01041 #define SHT_MIPS_RFDESC 0x7000001a 01042 #define SHT_MIPS_DELTASYM 0x7000001b 01043 #define SHT_MIPS_DELTAINST 0x7000001c 01044 #define SHT_MIPS_DELTACLASS 0x7000001d 01045 #define SHT_MIPS_DWARF 0x7000001e 01046 #define SHT_MIPS_DELTADECL 0x7000001f 01047 #define SHT_MIPS_SYMBOL_LIB 0x70000020 01048 #define SHT_MIPS_EVENTS 0x70000021 01049 #define SHT_MIPS_TRANSLATE 0x70000022 01050 #define SHT_MIPS_PIXIE 0x70000023 01051 #define SHT_MIPS_XLATE 0x70000024 01052 #define SHT_MIPS_XLATE_DEBUG 0x70000025 01053 #define SHT_MIPS_WHIRL 0x70000026 01054 #define SHT_MIPS_EH_REGION 0x70000027 01055 #define SHT_MIPS_XLATE_OLD 0x70000028 01056 #define SHT_MIPS_PDR_EXCEPTION 0x70000029 01057 #define SHF_MIPS_GPREL 0x10000000 01058 #define SHF_MIPS_MERGE 0x20000000 01059 #define SHF_MIPS_ADDR 0x40000000 01060 #define SHF_MIPS_STRINGS 0x80000000 01061 #define SHF_MIPS_NOSTRIP 0x08000000 01062 #define SHF_MIPS_LOCAL 0x04000000 01063 #define SHF_MIPS_NAMES 0x02000000 01064 #define SHF_MIPS_NODUPE 0x01000000 01065 #define STO_MIPS_DEFAULT 0x0 01066 #define STO_MIPS_INTERNAL 0x1 01067 #define STO_MIPS_HIDDEN 0x2 01068 #define STO_MIPS_PROTECTED 0x3 01069 #define STO_MIPS_SC_ALIGN_UNUSED 0xff 01070 #define STB_MIPS_SPLIT_COMMON 13 01071 typedef union 01072 { 01073 struct 01074 { 01075 Elf32_Word gt_current_g_value; 01076 Elf32_Word gt_unused; 01077 } gt_header; 01078 struct 01079 { 01080 Elf32_Word gt_g_value; 01081 Elf32_Word gt_bytes; 01082 } gt_entry; 01083 } Elf32_gptab; 01084 typedef struct 01085 { 01086 Elf32_Word ri_gprmask; 01087 Elf32_Word ri_cprmask[4]; 01088 Elf32_Sword ri_gp_value; 01089 } Elf32_RegInfo; 01090 typedef struct 01091 { 01092 unsigned char kind; 01093 unsigned char size; 01094 Elf32_Section section; 01095 Elf32_Word info; 01096 } Elf_Options; 01097 #define ODK_NULL 0 01098 #define ODK_REGINFO 1 01099 #define ODK_EXCEPTIONS 2 01100 #define ODK_PAD 3 01101 #define ODK_HWPATCH 4 01102 #define ODK_FILL 5 01103 #define ODK_TAGS 6 01104 #define ODK_HWAND 7 01105 #define ODK_HWOR 8 01106 #define OEX_FPU_MIN 0x1f 01107 #define OEX_FPU_MAX 0x1f00 01108 #define OEX_PAGE0 0x10000 01109 #define OEX_SMM 0x20000 01110 #define OEX_FPDBUG 0x40000 01111 #define OEX_PRECISEFP OEX_FPDBUG 01112 #define OEX_DISMISS 0x80000 01113 #define OEX_FPU_INVAL 0x10 01114 #define OEX_FPU_DIV0 0x08 01115 #define OEX_FPU_OFLO 0x04 01116 #define OEX_FPU_UFLO 0x02 01117 #define OEX_FPU_INEX 0x01 01118 #define OHW_R4KEOP 0x1 01119 #define OHW_R8KPFETCH 0x2 01120 #define OHW_R5KEOP 0x4 01121 #define OHW_R5KCVTL 0x8 01122 #define OPAD_PREFIX 0x1 01123 #define OPAD_POSTFIX 0x2 01124 #define OPAD_SYMBOL 0x4 01125 typedef struct 01126 { 01127 Elf32_Word hwp_flags1; 01128 Elf32_Word hwp_flags2; 01129 } Elf_Options_Hw; 01130 #define OHWA0_R4KEOP_CHECKED 0x00000001 01131 #define OHWA1_R4KEOP_CLEAN 0x00000002 01132 #define R_MIPS_NONE 0 01133 #define R_MIPS_16 1 01134 #define R_MIPS_32 2 01135 #define R_MIPS_REL32 3 01136 #define R_MIPS_26 4 01137 #define R_MIPS_HI16 5 01138 #define R_MIPS_LO16 6 01139 #define R_MIPS_GPREL16 7 01140 #define R_MIPS_LITERAL 8 01141 #define R_MIPS_GOT16 9 01142 #define R_MIPS_PC16 10 01143 #define R_MIPS_CALL16 11 01144 #define R_MIPS_GPREL32 12 01145 #define R_MIPS_SHIFT5 16 01146 #define R_MIPS_SHIFT6 17 01147 #define R_MIPS_64 18 01148 #define R_MIPS_GOT_DISP 19 01149 #define R_MIPS_GOT_PAGE 20 01150 #define R_MIPS_GOT_OFST 21 01151 #define R_MIPS_GOT_HI16 22 01152 #define R_MIPS_GOT_LO16 23 01153 #define R_MIPS_SUB 24 01154 #define R_MIPS_INSERT_A 25 01155 #define R_MIPS_INSERT_B 26 01156 #define R_MIPS_DELETE 27 01157 #define R_MIPS_HIGHER 28 01158 #define R_MIPS_HIGHEST 29 01159 #define R_MIPS_CALL_HI16 30 01160 #define R_MIPS_CALL_LO16 31 01161 #define R_MIPS_SCN_DISP 32 01162 #define R_MIPS_REL16 33 01163 #define R_MIPS_ADD_IMMEDIATE 34 01164 #define R_MIPS_PJUMP 35 01165 #define R_MIPS_RELGOT 36 01166 #define R_MIPS_JALR 37 01167 #define R_MIPS_TLS_DTPMOD32 38 01168 #define R_MIPS_TLS_DTPREL32 39 01169 #define R_MIPS_TLS_DTPMOD64 40 01170 #define R_MIPS_TLS_DTPREL64 41 01171 #define R_MIPS_TLS_GD 42 01172 #define R_MIPS_TLS_LDM 43 01173 #define R_MIPS_TLS_DTPREL_HI16 44 01174 #define R_MIPS_TLS_DTPREL_LO16 45 01175 #define R_MIPS_TLS_GOTTPREL 46 01176 #define R_MIPS_TLS_TPREL32 47 01177 #define R_MIPS_TLS_TPREL64 48 01178 #define R_MIPS_TLS_TPREL_HI16 49 01179 #define R_MIPS_TLS_TPREL_LO16 50 01180 #define R_MIPS_GLOB_DAT 51 01181 #define R_MIPS_NUM 52 01182 #define PT_MIPS_REGINFO 0x70000000 01183 #define PT_MIPS_RTPROC 0x70000001 01184 #define PT_MIPS_OPTIONS 0x70000002 01185 #define PF_MIPS_LOCAL 0x10000000 01186 #define DT_MIPS_RLD_VERSION 0x70000001 01187 #define DT_MIPS_TIME_STAMP 0x70000002 01188 #define DT_MIPS_ICHECKSUM 0x70000003 01189 #define DT_MIPS_IVERSION 0x70000004 01190 #define DT_MIPS_FLAGS 0x70000005 01191 #define DT_MIPS_BASE_ADDRESS 0x70000006 01192 #define DT_MIPS_MSYM 0x70000007 01193 #define DT_MIPS_CONFLICT 0x70000008 01194 #define DT_MIPS_LIBLIST 0x70000009 01195 #define DT_MIPS_LOCAL_GOTNO 0x7000000a 01196 #define DT_MIPS_CONFLICTNO 0x7000000b 01197 #define DT_MIPS_LIBLISTNO 0x70000010 01198 #define DT_MIPS_SYMTABNO 0x70000011 01199 #define DT_MIPS_UNREFEXTNO 0x70000012 01200 #define DT_MIPS_GOTSYM 0x70000013 01201 #define DT_MIPS_HIPAGENO 0x70000014 01202 #define DT_MIPS_RLD_MAP 0x70000016 01203 #define DT_MIPS_DELTA_CLASS 0x70000017 01204 #define DT_MIPS_DELTA_CLASS_NO 0x70000018 01205 #define DT_MIPS_DELTA_INSTANCE 0x70000019 01206 #define DT_MIPS_DELTA_INSTANCE_NO 0x7000001a 01207 #define DT_MIPS_DELTA_RELOC 0x7000001b 01208 #define DT_MIPS_DELTA_RELOC_NO 0x7000001c 01209 #define DT_MIPS_DELTA_SYM 0x7000001d 01210 #define DT_MIPS_DELTA_SYM_NO 0x7000001e 01211 #define DT_MIPS_DELTA_CLASSSYM 0x70000020 01212 #define DT_MIPS_DELTA_CLASSSYM_NO 0x70000021 01213 #define DT_MIPS_CXX_FLAGS 0x70000022 01214 #define DT_MIPS_PIXIE_INIT 0x70000023 01215 #define DT_MIPS_SYMBOL_LIB 0x70000024 01216 #define DT_MIPS_LOCALPAGE_GOTIDX 0x70000025 01217 #define DT_MIPS_LOCAL_GOTIDX 0x70000026 01218 #define DT_MIPS_HIDDEN_GOTIDX 0x70000027 01219 #define DT_MIPS_PROTECTED_GOTIDX 0x70000028 01220 #define DT_MIPS_OPTIONS 0x70000029 01221 #define DT_MIPS_INTERFACE 0x7000002a 01222 #define DT_MIPS_DYNSTR_ALIGN 0x7000002b 01223 #define DT_MIPS_INTERFACE_SIZE 0x7000002c 01224 #define DT_MIPS_RLD_TEXT_RESOLVE_ADDR 0x7000002d 01225 #define DT_MIPS_PERF_SUFFIX 0x7000002e 01226 #define DT_MIPS_COMPACT_SIZE 0x7000002f 01227 #define DT_MIPS_GP_VALUE 0x70000030 01228 #define DT_MIPS_AUX_DYNAMIC 0x70000031 01229 #define DT_MIPS_NUM 0x32 01230 #define RHF_NONE 0 01231 #define RHF_QUICKSTART (1 << 0) 01232 #define RHF_NOTPOT (1 << 1) 01233 #define RHF_NO_LIBRARY_REPLACEMENT (1 << 2) 01234 #define RHF_NO_MOVE (1 << 3) 01235 #define RHF_SGI_ONLY (1 << 4) 01236 #define RHF_GUARANTEE_INIT (1 << 5) 01237 #define RHF_DELTA_C_PLUS_PLUS (1 << 6) 01238 #define RHF_GUARANTEE_START_INIT (1 << 7) 01239 #define RHF_PIXIE (1 << 8) 01240 #define RHF_DEFAULT_DELAY_LOAD (1 << 9) 01241 #define RHF_REQUICKSTART (1 << 10) 01242 #define RHF_REQUICKSTARTED (1 << 11) 01243 #define RHF_CORD (1 << 12) 01244 #define RHF_NO_UNRES_UNDEF (1 << 13) 01245 #define RHF_RLD_ORDER_SAFE (1 << 14) 01246 typedef struct 01247 { 01248 Elf32_Word l_name; 01249 Elf32_Word l_time_stamp; 01250 Elf32_Word l_checksum; 01251 Elf32_Word l_version; 01252 Elf32_Word l_flags; 01253 } Elf32_Lib; 01254 typedef struct 01255 { 01256 Elf64_Word l_name; 01257 Elf64_Word l_time_stamp; 01258 Elf64_Word l_checksum; 01259 Elf64_Word l_version; 01260 Elf64_Word l_flags; 01261 } Elf64_Lib; 01262 #define LL_NONE 0 01263 #define LL_EXACT_MATCH (1 << 0) 01264 #define LL_IGNORE_INT_VER (1 << 1) 01265 #define LL_REQUIRE_MINOR (1 << 2) 01266 #define LL_EXPORTS (1 << 3) 01267 #define LL_DELAY_LOAD (1 << 4) 01268 #define LL_DELTA (1 << 5) 01269 typedef Elf32_Addr Elf32_Conflict; 01270 #define EF_PARISC_TRAPNIL 0x00010000 01271 #define EF_PARISC_EXT 0x00020000 01272 #define EF_PARISC_LSB 0x00040000 01273 #define EF_PARISC_WIDE 0x00080000 01274 #define EF_PARISC_NO_KABP 0x00100000 01275 #define EF_PARISC_LAZYSWAP 0x00400000 01276 #define EF_PARISC_ARCH 0x0000ffff 01277 #define EFA_PARISC_1_0 0x020b 01278 #define EFA_PARISC_1_1 0x0210 01279 #define EFA_PARISC_2_0 0x0214 01280 #define SHN_PARISC_ANSI_COMMON 0xff00 01281 #define SHN_PARISC_HUGE_COMMON 0xff01 01282 #define SHT_PARISC_EXT 0x70000000 01283 #define SHT_PARISC_UNWIND 0x70000001 01284 #define SHT_PARISC_DOC 0x70000002 01285 #define SHF_PARISC_SHORT 0x20000000 01286 #define SHF_PARISC_HUGE 0x40000000 01287 #define SHF_PARISC_SBP 0x80000000 01288 #define STT_PARISC_MILLICODE 13 01289 #define STT_HP_OPAQUE (STT_LOOS + 0x1) 01290 #define STT_HP_STUB (STT_LOOS + 0x2) 01291 #define R_PARISC_NONE 0 01292 #define R_PARISC_DIR32 1 01293 #define R_PARISC_DIR21L 2 01294 #define R_PARISC_DIR17R 3 01295 #define R_PARISC_DIR17F 4 01296 #define R_PARISC_DIR14R 6 01297 #define R_PARISC_PCREL32 9 01298 #define R_PARISC_PCREL21L 10 01299 #define R_PARISC_PCREL17R 11 01300 #define R_PARISC_PCREL17F 12 01301 #define R_PARISC_PCREL14R 14 01302 #define R_PARISC_DPREL21L 18 01303 #define R_PARISC_DPREL14R 22 01304 #define R_PARISC_GPREL21L 26 01305 #define R_PARISC_GPREL14R 30 01306 #define R_PARISC_LTOFF21L 34 01307 #define R_PARISC_LTOFF14R 38 01308 #define R_PARISC_SECREL32 41 01309 #define R_PARISC_SEGBASE 48 01310 #define R_PARISC_SEGREL32 49 01311 #define R_PARISC_PLTOFF21L 50 01312 #define R_PARISC_PLTOFF14R 54 01313 #define R_PARISC_LTOFF_FPTR32 57 01314 #define R_PARISC_LTOFF_FPTR21L 58 01315 #define R_PARISC_LTOFF_FPTR14R 62 01316 #define R_PARISC_FPTR64 64 01317 #define R_PARISC_PLABEL32 65 01318 #define R_PARISC_PLABEL21L 66 01319 #define R_PARISC_PLABEL14R 70 01320 #define R_PARISC_PCREL64 72 01321 #define R_PARISC_PCREL22F 74 01322 #define R_PARISC_PCREL14WR 75 01323 #define R_PARISC_PCREL14DR 76 01324 #define R_PARISC_PCREL16F 77 01325 #define R_PARISC_PCREL16WF 78 01326 #define R_PARISC_PCREL16DF 79 01327 #define R_PARISC_DIR64 80 01328 #define R_PARISC_DIR14WR 83 01329 #define R_PARISC_DIR14DR 84 01330 #define R_PARISC_DIR16F 85 01331 #define R_PARISC_DIR16WF 86 01332 #define R_PARISC_DIR16DF 87 01333 #define R_PARISC_GPREL64 88 01334 #define R_PARISC_GPREL14WR 91 01335 #define R_PARISC_GPREL14DR 92 01336 #define R_PARISC_GPREL16F 93 01337 #define R_PARISC_GPREL16WF 94 01338 #define R_PARISC_GPREL16DF 95 01339 #define R_PARISC_LTOFF64 96 01340 #define R_PARISC_LTOFF14WR 99 01341 #define R_PARISC_LTOFF14DR 100 01342 #define R_PARISC_LTOFF16F 101 01343 #define R_PARISC_LTOFF16WF 102 01344 #define R_PARISC_LTOFF16DF 103 01345 #define R_PARISC_SECREL64 104 01346 #define R_PARISC_SEGREL64 112 01347 #define R_PARISC_PLTOFF14WR 115 01348 #define R_PARISC_PLTOFF14DR 116 01349 #define R_PARISC_PLTOFF16F 117 01350 #define R_PARISC_PLTOFF16WF 118 01351 #define R_PARISC_PLTOFF16DF 119 01352 #define R_PARISC_LTOFF_FPTR64 120 01353 #define R_PARISC_LTOFF_FPTR14WR 123 01354 #define R_PARISC_LTOFF_FPTR14DR 124 01355 #define R_PARISC_LTOFF_FPTR16F 125 01356 #define R_PARISC_LTOFF_FPTR16WF 126 01357 #define R_PARISC_LTOFF_FPTR16DF 127 01358 #define R_PARISC_LORESERVE 128 01359 #define R_PARISC_COPY 128 01360 #define R_PARISC_IPLT 129 01361 #define R_PARISC_EPLT 130 01362 #define R_PARISC_TPREL32 153 01363 #define R_PARISC_TPREL21L 154 01364 #define R_PARISC_TPREL14R 158 01365 #define R_PARISC_LTOFF_TP21L 162 01366 #define R_PARISC_LTOFF_TP14R 166 01367 #define R_PARISC_LTOFF_TP14F 167 01368 #define R_PARISC_TPREL64 216 01369 #define R_PARISC_TPREL14WR 219 01370 #define R_PARISC_TPREL14DR 220 01371 #define R_PARISC_TPREL16F 221 01372 #define R_PARISC_TPREL16WF 222 01373 #define R_PARISC_TPREL16DF 223 01374 #define R_PARISC_LTOFF_TP64 224 01375 #define R_PARISC_LTOFF_TP14WR 227 01376 #define R_PARISC_LTOFF_TP14DR 228 01377 #define R_PARISC_LTOFF_TP16F 229 01378 #define R_PARISC_LTOFF_TP16WF 230 01379 #define R_PARISC_LTOFF_TP16DF 231 01380 #define R_PARISC_GNU_VTENTRY 232 01381 #define R_PARISC_GNU_VTINHERIT 233 01382 #define R_PARISC_TLS_GD21L 234 01383 #define R_PARISC_TLS_GD14R 235 01384 #define R_PARISC_TLS_GDCALL 236 01385 #define R_PARISC_TLS_LDM21L 237 01386 #define R_PARISC_TLS_LDM14R 238 01387 #define R_PARISC_TLS_LDMCALL 239 01388 #define R_PARISC_TLS_LDO21L 240 01389 #define R_PARISC_TLS_LDO14R 241 01390 #define R_PARISC_TLS_DTPMOD32 242 01391 #define R_PARISC_TLS_DTPMOD64 243 01392 #define R_PARISC_TLS_DTPOFF32 244 01393 #define R_PARISC_TLS_DTPOFF64 245 01394 #define R_PARISC_TLS_LE21L R_PARISC_TPREL21L 01395 #define R_PARISC_TLS_LE14R R_PARISC_TPREL14R 01396 #define R_PARISC_TLS_IE21L R_PARISC_LTOFF_TP21L 01397 #define R_PARISC_TLS_IE14R R_PARISC_LTOFF_TP14R 01398 #define R_PARISC_TLS_TPREL32 R_PARISC_TPREL32 01399 #define R_PARISC_TLS_TPREL64 R_PARISC_TPREL64 01400 #define R_PARISC_HIRESERVE 255 01401 #define PT_HP_TLS (PT_LOOS + 0x0) 01402 #define PT_HP_CORE_NONE (PT_LOOS + 0x1) 01403 #define PT_HP_CORE_VERSION (PT_LOOS + 0x2) 01404 #define PT_HP_CORE_KERNEL (PT_LOOS + 0x3) 01405 #define PT_HP_CORE_COMM (PT_LOOS + 0x4) 01406 #define PT_HP_CORE_PROC (PT_LOOS + 0x5) 01407 #define PT_HP_CORE_LOADABLE (PT_LOOS + 0x6) 01408 #define PT_HP_CORE_STACK (PT_LOOS + 0x7) 01409 #define PT_HP_CORE_SHM (PT_LOOS + 0x8) 01410 #define PT_HP_CORE_MMF (PT_LOOS + 0x9) 01411 #define PT_HP_PARALLEL (PT_LOOS + 0x10) 01412 #define PT_HP_FASTBIND (PT_LOOS + 0x11) 01413 #define PT_HP_OPT_ANNOT (PT_LOOS + 0x12) 01414 #define PT_HP_HSL_ANNOT (PT_LOOS + 0x13) 01415 #define PT_HP_STACK (PT_LOOS + 0x14) 01416 #define PT_PARISC_ARCHEXT 0x70000000 01417 #define PT_PARISC_UNWIND 0x70000001 01418 #define PF_PARISC_SBP 0x08000000 01419 #define PF_HP_PAGE_SIZE 0x00100000 01420 #define PF_HP_FAR_SHARED 0x00200000 01421 #define PF_HP_NEAR_SHARED 0x00400000 01422 #define PF_HP_CODE 0x01000000 01423 #define PF_HP_MODIFY 0x02000000 01424 #define PF_HP_LAZYSWAP 0x04000000 01425 #define PF_HP_SBP 0x08000000 01426 #define EF_ALPHA_32BIT 1 01427 #define EF_ALPHA_CANRELAX 2 01428 #define SHT_ALPHA_DEBUG 0x70000001 01429 #define SHT_ALPHA_REGINFO 0x70000002 01430 #define SHF_ALPHA_GPREL 0x10000000 01431 #define STO_ALPHA_NOPV 0x80 01432 #define STO_ALPHA_STD_GPLOAD 0x88 01433 #define R_ALPHA_NONE 0 01434 #define R_ALPHA_REFLONG 1 01435 #define R_ALPHA_REFQUAD 2 01436 #define R_ALPHA_GPREL32 3 01437 #define R_ALPHA_LITERAL 4 01438 #define R_ALPHA_LITUSE 5 01439 #define R_ALPHA_GPDISP 6 01440 #define R_ALPHA_BRADDR 7 01441 #define R_ALPHA_HINT 8 01442 #define R_ALPHA_SREL16 9 01443 #define R_ALPHA_SREL32 10 01444 #define R_ALPHA_SREL64 11 01445 #define R_ALPHA_GPRELHIGH 17 01446 #define R_ALPHA_GPRELLOW 18 01447 #define R_ALPHA_GPREL16 19 01448 #define R_ALPHA_COPY 24 01449 #define R_ALPHA_GLOB_DAT 25 01450 #define R_ALPHA_JMP_SLOT 26 01451 #define R_ALPHA_RELATIVE 27 01452 #define R_ALPHA_TLS_GD_HI 28 01453 #define R_ALPHA_TLSGD 29 01454 #define R_ALPHA_TLS_LDM 30 01455 #define R_ALPHA_DTPMOD64 31 01456 #define R_ALPHA_GOTDTPREL 32 01457 #define R_ALPHA_DTPREL64 33 01458 #define R_ALPHA_DTPRELHI 34 01459 #define R_ALPHA_DTPRELLO 35 01460 #define R_ALPHA_DTPREL16 36 01461 #define R_ALPHA_GOTTPREL 37 01462 #define R_ALPHA_TPREL64 38 01463 #define R_ALPHA_TPRELHI 39 01464 #define R_ALPHA_TPRELLO 40 01465 #define R_ALPHA_TPREL16 41 01466 #define R_ALPHA_NUM 46 01467 #define LITUSE_ALPHA_ADDR 0 01468 #define LITUSE_ALPHA_BASE 1 01469 #define LITUSE_ALPHA_BYTOFF 2 01470 #define LITUSE_ALPHA_JSR 3 01471 #define LITUSE_ALPHA_TLS_GD 4 01472 #define LITUSE_ALPHA_TLS_LDM 5 01473 #define DT_ALPHA_PLTRO (DT_LOPROC + 0) 01474 #define DT_ALPHA_NUM 1 01475 #define EF_PPC_EMB 0x80000000 01476 #define EF_PPC_RELOCATABLE 0x00010000 01477 #define EF_PPC_RELOCATABLE_LIB 0x00008000 01478 #define R_PPC_NONE 0 01479 #define R_PPC_ADDR32 1 01480 #define R_PPC_ADDR24 2 01481 #define R_PPC_ADDR16 3 01482 #define R_PPC_ADDR16_LO 4 01483 #define R_PPC_ADDR16_HI 5 01484 #define R_PPC_ADDR16_HA 6 01485 #define R_PPC_ADDR14 7 01486 #define R_PPC_ADDR14_BRTAKEN 8 01487 #define R_PPC_ADDR14_BRNTAKEN 9 01488 #define R_PPC_REL24 10 01489 #define R_PPC_REL14 11 01490 #define R_PPC_REL14_BRTAKEN 12 01491 #define R_PPC_REL14_BRNTAKEN 13 01492 #define R_PPC_GOT16 14 01493 #define R_PPC_GOT16_LO 15 01494 #define R_PPC_GOT16_HI 16 01495 #define R_PPC_GOT16_HA 17 01496 #define R_PPC_PLTREL24 18 01497 #define R_PPC_COPY 19 01498 #define R_PPC_GLOB_DAT 20 01499 #define R_PPC_JMP_SLOT 21 01500 #define R_PPC_RELATIVE 22 01501 #define R_PPC_LOCAL24PC 23 01502 #define R_PPC_UADDR32 24 01503 #define R_PPC_UADDR16 25 01504 #define R_PPC_REL32 26 01505 #define R_PPC_PLT32 27 01506 #define R_PPC_PLTREL32 28 01507 #define R_PPC_PLT16_LO 29 01508 #define R_PPC_PLT16_HI 30 01509 #define R_PPC_PLT16_HA 31 01510 #define R_PPC_SDAREL16 32 01511 #define R_PPC_SECTOFF 33 01512 #define R_PPC_SECTOFF_LO 34 01513 #define R_PPC_SECTOFF_HI 35 01514 #define R_PPC_SECTOFF_HA 36 01515 #define R_PPC_TLS 67 01516 #define R_PPC_DTPMOD32 68 01517 #define R_PPC_TPREL16 69 01518 #define R_PPC_TPREL16_LO 70 01519 #define R_PPC_TPREL16_HI 71 01520 #define R_PPC_TPREL16_HA 72 01521 #define R_PPC_TPREL32 73 01522 #define R_PPC_DTPREL16 74 01523 #define R_PPC_DTPREL16_LO 75 01524 #define R_PPC_DTPREL16_HI 76 01525 #define R_PPC_DTPREL16_HA 77 01526 #define R_PPC_DTPREL32 78 01527 #define R_PPC_GOT_TLSGD16 79 01528 #define R_PPC_GOT_TLSGD16_LO 80 01529 #define R_PPC_GOT_TLSGD16_HI 81 01530 #define R_PPC_GOT_TLSGD16_HA 82 01531 #define R_PPC_GOT_TLSLD16 83 01532 #define R_PPC_GOT_TLSLD16_LO 84 01533 #define R_PPC_GOT_TLSLD16_HI 85 01534 #define R_PPC_GOT_TLSLD16_HA 86 01535 #define R_PPC_GOT_TPREL16 87 01536 #define R_PPC_GOT_TPREL16_LO 88 01537 #define R_PPC_GOT_TPREL16_HI 89 01538 #define R_PPC_GOT_TPREL16_HA 90 01539 #define R_PPC_GOT_DTPREL16 91 01540 #define R_PPC_GOT_DTPREL16_LO 92 01541 #define R_PPC_GOT_DTPREL16_HI 93 01542 #define R_PPC_GOT_DTPREL16_HA 94 01543 #define R_PPC_NUM 95 01544 #define R_PPC_EMB_NADDR32 101 01545 #define R_PPC_EMB_NADDR16 102 01546 #define R_PPC_EMB_NADDR16_LO 103 01547 #define R_PPC_EMB_NADDR16_HI 104 01548 #define R_PPC_EMB_NADDR16_HA 105 01549 #define R_PPC_EMB_SDAI16 106 01550 #define R_PPC_EMB_SDA2I16 107 01551 #define R_PPC_EMB_SDA2REL 108 01552 #define R_PPC_EMB_SDA21 109 01553 #define R_PPC_EMB_MRKREF 110 01554 #define R_PPC_EMB_RELSEC16 111 01555 #define R_PPC_EMB_RELST_LO 112 01556 #define R_PPC_EMB_RELST_HI 113 01557 #define R_PPC_EMB_RELST_HA 114 01558 #define R_PPC_EMB_BIT_FLD 115 01559 #define R_PPC_EMB_RELSDA 116 01560 #define R_PPC_DIAB_SDA21_LO 180 01561 #define R_PPC_DIAB_SDA21_HI 181 01562 #define R_PPC_DIAB_SDA21_HA 182 01563 #define R_PPC_DIAB_RELSDA_LO 183 01564 #define R_PPC_DIAB_RELSDA_HI 184 01565 #define R_PPC_DIAB_RELSDA_HA 185 01566 #define R_PPC_REL16 249 01567 #define R_PPC_REL16_LO 250 01568 #define R_PPC_REL16_HI 251 01569 #define R_PPC_REL16_HA 252 01570 #define R_PPC_TOC16 255 01571 #define DT_PPC_GOT (DT_LOPROC + 0) 01572 #define DT_PPC_NUM 1 01573 #define R_PPC64_NONE R_PPC_NONE 01574 #define R_PPC64_ADDR32 R_PPC_ADDR32 01575 #define R_PPC64_ADDR24 R_PPC_ADDR24 01576 #define R_PPC64_ADDR16 R_PPC_ADDR16 01577 #define R_PPC64_ADDR16_LO R_PPC_ADDR16_LO 01578 #define R_PPC64_ADDR16_HI R_PPC_ADDR16_HI 01579 #define R_PPC64_ADDR16_HA R_PPC_ADDR16_HA 01580 #define R_PPC64_ADDR14 R_PPC_ADDR14 01581 #define R_PPC64_ADDR14_BRTAKEN R_PPC_ADDR14_BRTAKEN 01582 #define R_PPC64_ADDR14_BRNTAKEN R_PPC_ADDR14_BRNTAKEN 01583 #define R_PPC64_REL24 R_PPC_REL24 01584 #define R_PPC64_REL14 R_PPC_REL14 01585 #define R_PPC64_REL14_BRTAKEN R_PPC_REL14_BRTAKEN 01586 #define R_PPC64_REL14_BRNTAKEN R_PPC_REL14_BRNTAKEN 01587 #define R_PPC64_GOT16 R_PPC_GOT16 01588 #define R_PPC64_GOT16_LO R_PPC_GOT16_LO 01589 #define R_PPC64_GOT16_HI R_PPC_GOT16_HI 01590 #define R_PPC64_GOT16_HA R_PPC_GOT16_HA 01591 #define R_PPC64_COPY R_PPC_COPY 01592 #define R_PPC64_GLOB_DAT R_PPC_GLOB_DAT 01593 #define R_PPC64_JMP_SLOT R_PPC_JMP_SLOT 01594 #define R_PPC64_RELATIVE R_PPC_RELATIVE 01595 #define R_PPC64_UADDR32 R_PPC_UADDR32 01596 #define R_PPC64_UADDR16 R_PPC_UADDR16 01597 #define R_PPC64_REL32 R_PPC_REL32 01598 #define R_PPC64_PLT32 R_PPC_PLT32 01599 #define R_PPC64_PLTREL32 R_PPC_PLTREL32 01600 #define R_PPC64_PLT16_LO R_PPC_PLT16_LO 01601 #define R_PPC64_PLT16_HI R_PPC_PLT16_HI 01602 #define R_PPC64_PLT16_HA R_PPC_PLT16_HA 01603 #define R_PPC64_SECTOFF R_PPC_SECTOFF 01604 #define R_PPC64_SECTOFF_LO R_PPC_SECTOFF_LO 01605 #define R_PPC64_SECTOFF_HI R_PPC_SECTOFF_HI 01606 #define R_PPC64_SECTOFF_HA R_PPC_SECTOFF_HA 01607 #define R_PPC64_ADDR30 37 01608 #define R_PPC64_ADDR64 38 01609 #define R_PPC64_ADDR16_HIGHER 39 01610 #define R_PPC64_ADDR16_HIGHERA 40 01611 #define R_PPC64_ADDR16_HIGHEST 41 01612 #define R_PPC64_ADDR16_HIGHESTA 42 01613 #define R_PPC64_UADDR64 43 01614 #define R_PPC64_REL64 44 01615 #define R_PPC64_PLT64 45 01616 #define R_PPC64_PLTREL64 46 01617 #define R_PPC64_TOC16 47 01618 #define R_PPC64_TOC16_LO 48 01619 #define R_PPC64_TOC16_HI 49 01620 #define R_PPC64_TOC16_HA 50 01621 #define R_PPC64_TOC 51 01622 #define R_PPC64_PLTGOT16 52 01623 #define R_PPC64_PLTGOT16_LO 53 01624 #define R_PPC64_PLTGOT16_HI 54 01625 #define R_PPC64_PLTGOT16_HA 55 01626 #define R_PPC64_ADDR16_DS 56 01627 #define R_PPC64_ADDR16_LO_DS 57 01628 #define R_PPC64_GOT16_DS 58 01629 #define R_PPC64_GOT16_LO_DS 59 01630 #define R_PPC64_PLT16_LO_DS 60 01631 #define R_PPC64_SECTOFF_DS 61 01632 #define R_PPC64_SECTOFF_LO_DS 62 01633 #define R_PPC64_TOC16_DS 63 01634 #define R_PPC64_TOC16_LO_DS 64 01635 #define R_PPC64_PLTGOT16_DS 65 01636 #define R_PPC64_PLTGOT16_LO_DS 66 01637 #define R_PPC64_TLS 67 01638 #define R_PPC64_DTPMOD64 68 01639 #define R_PPC64_TPREL16 69 01640 #define R_PPC64_TPREL16_LO 70 01641 #define R_PPC64_TPREL16_HI 71 01642 #define R_PPC64_TPREL16_HA 72 01643 #define R_PPC64_TPREL64 73 01644 #define R_PPC64_DTPREL16 74 01645 #define R_PPC64_DTPREL16_LO 75 01646 #define R_PPC64_DTPREL16_HI 76 01647 #define R_PPC64_DTPREL16_HA 77 01648 #define R_PPC64_DTPREL64 78 01649 #define R_PPC64_GOT_TLSGD16 79 01650 #define R_PPC64_GOT_TLSGD16_LO 80 01651 #define R_PPC64_GOT_TLSGD16_HI 81 01652 #define R_PPC64_GOT_TLSGD16_HA 82 01653 #define R_PPC64_GOT_TLSLD16 83 01654 #define R_PPC64_GOT_TLSLD16_LO 84 01655 #define R_PPC64_GOT_TLSLD16_HI 85 01656 #define R_PPC64_GOT_TLSLD16_HA 86 01657 #define R_PPC64_GOT_TPREL16_DS 87 01658 #define R_PPC64_GOT_TPREL16_LO_DS 88 01659 #define R_PPC64_GOT_TPREL16_HI 89 01660 #define R_PPC64_GOT_TPREL16_HA 90 01661 #define R_PPC64_GOT_DTPREL16_DS 91 01662 #define R_PPC64_GOT_DTPREL16_LO_DS 92 01663 #define R_PPC64_GOT_DTPREL16_HI 93 01664 #define R_PPC64_GOT_DTPREL16_HA 94 01665 #define R_PPC64_TPREL16_DS 95 01666 #define R_PPC64_TPREL16_LO_DS 96 01667 #define R_PPC64_TPREL16_HIGHER 97 01668 #define R_PPC64_TPREL16_HIGHERA 98 01669 #define R_PPC64_TPREL16_HIGHEST 99 01670 #define R_PPC64_TPREL16_HIGHESTA 100 01671 #define R_PPC64_DTPREL16_DS 101 01672 #define R_PPC64_DTPREL16_LO_DS 102 01673 #define R_PPC64_DTPREL16_HIGHER 103 01674 #define R_PPC64_DTPREL16_HIGHERA 104 01675 #define R_PPC64_DTPREL16_HIGHEST 105 01676 #define R_PPC64_DTPREL16_HIGHESTA 106 01677 #define R_PPC64_NUM 107 01678 #define DT_PPC64_GLINK (DT_LOPROC + 0) 01679 #define DT_PPC64_OPD (DT_LOPROC + 1) 01680 #define DT_PPC64_OPDSZ (DT_LOPROC + 2) 01681 #define DT_PPC64_NUM 3 01682 #define EF_ARM_RELEXEC 0x01 01683 #define EF_ARM_HASENTRY 0x02 01684 #define EF_ARM_INTERWORK 0x04 01685 #define EF_ARM_APCS_26 0x08 01686 #define EF_ARM_APCS_FLOAT 0x10 01687 #define EF_ARM_PIC 0x20 01688 #define EF_ARM_ALIGN8 0x40 01689 #define EF_ARM_NEW_ABI 0x80 01690 #define EF_ARM_OLD_ABI 0x100 01691 #define EF_ARM_SYMSARESORTED 0x04 01692 #define EF_ARM_DYNSYMSUSESEGIDX 0x08 01693 #define EF_ARM_MAPSYMSFIRST 0x10 01694 #define EF_ARM_EABIMASK 0XFF000000 01695 #define EF_ARM_EABI_VERSION(flags) ((flags) & EF_ARM_EABIMASK) 01696 #define EF_ARM_EABI_UNKNOWN 0x00000000 01697 #define EF_ARM_EABI_VER1 0x01000000 01698 #define EF_ARM_EABI_VER2 0x02000000 01699 #define STT_ARM_TFUNC 0xd 01700 #define SHF_ARM_ENTRYSECT 0x10000000 01701 #define SHF_ARM_COMDEF 0x80000000 01702 #define PF_ARM_SB 0x10000000 01703 #define PT_ARM_EXIDX 0x70000001 01704 #define R_ARM_NONE 0 01705 #define R_ARM_PC24 1 01706 #define R_ARM_ABS32 2 01707 #define R_ARM_REL32 3 01708 #define R_ARM_PC13 4 01709 #define R_ARM_ABS16 5 01710 #define R_ARM_ABS12 6 01711 #define R_ARM_THM_ABS5 7 01712 #define R_ARM_ABS8 8 01713 #define R_ARM_SBREL32 9 01714 #define R_ARM_THM_PC22 10 01715 #define R_ARM_THM_PC8 11 01716 #define R_ARM_AMP_VCALL9 12 01717 #define R_ARM_SWI24 13 01718 #define R_ARM_THM_SWI8 14 01719 #define R_ARM_XPC25 15 01720 #define R_ARM_THM_XPC22 16 01721 #define R_ARM_TLS_DTPMOD32 17 01722 #define R_ARM_TLS_DTPOFF32 18 01723 #define R_ARM_TLS_TPOFF32 19 01724 #define R_ARM_COPY 20 01725 #define R_ARM_GLOB_DAT 21 01726 #define R_ARM_JUMP_SLOT 22 01727 #define R_ARM_RELATIVE 23 01728 #define R_ARM_GOTOFF 24 01729 #define R_ARM_GOTPC 25 01730 #define R_ARM_GOT32 26 01731 #define R_ARM_PLT32 27 01732 #define R_ARM_ALU_PCREL_7_0 32 01733 #define R_ARM_ALU_PCREL_15_8 33 01734 #define R_ARM_ALU_PCREL_23_15 34 01735 #define R_ARM_LDR_SBREL_11_0 35 01736 #define R_ARM_ALU_SBREL_19_12 36 01737 #define R_ARM_ALU_SBREL_27_20 37 01738 #define R_ARM_GNU_VTENTRY 100 01739 #define R_ARM_GNU_VTINHERIT 101 01740 #define R_ARM_THM_PC11 102 01741 #define R_ARM_THM_PC9 103 01742 #define R_ARM_TLS_GD32 104 01743 #define R_ARM_TLS_LDM32 105 01744 #define R_ARM_TLS_LDO32 106 01745 #define R_ARM_TLS_IE32 107 01746 #define R_ARM_TLS_LE32 108 01747 #define R_ARM_RXPC25 249 01748 #define R_ARM_RSBREL32 250 01749 #define R_ARM_THM_RPC22 251 01750 #define R_ARM_RREL32 252 01751 #define R_ARM_RABS22 253 01752 #define R_ARM_RPC24 254 01753 #define R_ARM_RBASE 255 01754 #define R_ARM_NUM 256 01755 #define EF_IA_64_MASKOS 0x0000000f 01756 #define EF_IA_64_ABI64 0x00000010 01757 #define EF_IA_64_ARCH 0xff000000 01758 #define PT_IA_64_ARCHEXT (PT_LOPROC + 0) 01759 #define PT_IA_64_UNWIND (PT_LOPROC + 1) 01760 #define PT_IA_64_HP_OPT_ANOT (PT_LOOS + 0x12) 01761 #define PT_IA_64_HP_HSL_ANOT (PT_LOOS + 0x13) 01762 #define PT_IA_64_HP_STACK (PT_LOOS + 0x14) 01763 #define PF_IA_64_NORECOV 0x80000000 01764 #define SHT_IA_64_EXT (SHT_LOPROC + 0) 01765 #define SHT_IA_64_UNWIND (SHT_LOPROC + 1) 01766 #define SHF_IA_64_SHORT 0x10000000 01767 #define SHF_IA_64_NORECOV 0x20000000 01768 #define DT_IA_64_PLT_RESERVE (DT_LOPROC + 0) 01769 #define DT_IA_64_NUM 1 01770 #define R_IA64_NONE 0x00 01771 #define R_IA64_IMM14 0x21 01772 #define R_IA64_IMM22 0x22 01773 #define R_IA64_IMM64 0x23 01774 #define R_IA64_DIR32MSB 0x24 01775 #define R_IA64_DIR32LSB 0x25 01776 #define R_IA64_DIR64MSB 0x26 01777 #define R_IA64_DIR64LSB 0x27 01778 #define R_IA64_GPREL22 0x2a 01779 #define R_IA64_GPREL64I 0x2b 01780 #define R_IA64_GPREL32MSB 0x2c 01781 #define R_IA64_GPREL32LSB 0x2d 01782 #define R_IA64_GPREL64MSB 0x2e 01783 #define R_IA64_GPREL64LSB 0x2f 01784 #define R_IA64_LTOFF22 0x32 01785 #define R_IA64_LTOFF64I 0x33 01786 #define R_IA64_PLTOFF22 0x3a 01787 #define R_IA64_PLTOFF64I 0x3b 01788 #define R_IA64_PLTOFF64MSB 0x3e 01789 #define R_IA64_PLTOFF64LSB 0x3f 01790 #define R_IA64_FPTR64I 0x43 01791 #define R_IA64_FPTR32MSB 0x44 01792 #define R_IA64_FPTR32LSB 0x45 01793 #define R_IA64_FPTR64MSB 0x46 01794 #define R_IA64_FPTR64LSB 0x47 01795 #define R_IA64_PCREL60B 0x48 01796 #define R_IA64_PCREL21B 0x49 01797 #define R_IA64_PCREL21M 0x4a 01798 #define R_IA64_PCREL21F 0x4b 01799 #define R_IA64_PCREL32MSB 0x4c 01800 #define R_IA64_PCREL32LSB 0x4d 01801 #define R_IA64_PCREL64MSB 0x4e 01802 #define R_IA64_PCREL64LSB 0x4f 01803 #define R_IA64_LTOFF_FPTR22 0x52 01804 #define R_IA64_LTOFF_FPTR64I 0x53 01805 #define R_IA64_LTOFF_FPTR32MSB 0x54 01806 #define R_IA64_LTOFF_FPTR32LSB 0x55 01807 #define R_IA64_LTOFF_FPTR64MSB 0x56 01808 #define R_IA64_LTOFF_FPTR64LSB 0x57 01809 #define R_IA64_SEGREL32MSB 0x5c 01810 #define R_IA64_SEGREL32LSB 0x5d 01811 #define R_IA64_SEGREL64MSB 0x5e 01812 #define R_IA64_SEGREL64LSB 0x5f 01813 #define R_IA64_SECREL32MSB 0x64 01814 #define R_IA64_SECREL32LSB 0x65 01815 #define R_IA64_SECREL64MSB 0x66 01816 #define R_IA64_SECREL64LSB 0x67 01817 #define R_IA64_REL32MSB 0x6c 01818 #define R_IA64_REL32LSB 0x6d 01819 #define R_IA64_REL64MSB 0x6e 01820 #define R_IA64_REL64LSB 0x6f 01821 #define R_IA64_LTV32MSB 0x74 01822 #define R_IA64_LTV32LSB 0x75 01823 #define R_IA64_LTV64MSB 0x76 01824 #define R_IA64_LTV64LSB 0x77 01825 #define R_IA64_PCREL21BI 0x79 01826 #define R_IA64_PCREL22 0x7a 01827 #define R_IA64_PCREL64I 0x7b 01828 #define R_IA64_IPLTMSB 0x80 01829 #define R_IA64_IPLTLSB 0x81 01830 #define R_IA64_COPY 0x84 01831 #define R_IA64_SUB 0x85 01832 #define R_IA64_LTOFF22X 0x86 01833 #define R_IA64_LDXMOV 0x87 01834 #define R_IA64_TPREL14 0x91 01835 #define R_IA64_TPREL22 0x92 01836 #define R_IA64_TPREL64I 0x93 01837 #define R_IA64_TPREL64MSB 0x96 01838 #define R_IA64_TPREL64LSB 0x97 01839 #define R_IA64_LTOFF_TPREL22 0x9a 01840 #define R_IA64_DTPMOD64MSB 0xa6 01841 #define R_IA64_DTPMOD64LSB 0xa7 01842 #define R_IA64_LTOFF_DTPMOD22 0xaa 01843 #define R_IA64_DTPREL14 0xb1 01844 #define R_IA64_DTPREL22 0xb2 01845 #define R_IA64_DTPREL64I 0xb3 01846 #define R_IA64_DTPREL32MSB 0xb4 01847 #define R_IA64_DTPREL32LSB 0xb5 01848 #define R_IA64_DTPREL64MSB 0xb6 01849 #define R_IA64_DTPREL64LSB 0xb7 01850 #define R_IA64_LTOFF_DTPREL22 0xba 01851 #define R_SH_NONE 0 01852 #define R_SH_DIR32 1 01853 #define R_SH_REL32 2 01854 #define R_SH_DIR8WPN 3 01855 #define R_SH_IND12W 4 01856 #define R_SH_DIR8WPL 5 01857 #define R_SH_DIR8WPZ 6 01858 #define R_SH_DIR8BP 7 01859 #define R_SH_DIR8W 8 01860 #define R_SH_DIR8L 9 01861 #define R_SH_SWITCH16 25 01862 #define R_SH_SWITCH32 26 01863 #define R_SH_USES 27 01864 #define R_SH_COUNT 28 01865 #define R_SH_ALIGN 29 01866 #define R_SH_CODE 30 01867 #define R_SH_DATA 31 01868 #define R_SH_LABEL 32 01869 #define R_SH_SWITCH8 33 01870 #define R_SH_GNU_VTINHERIT 34 01871 #define R_SH_GNU_VTENTRY 35 01872 #define R_SH_TLS_GD_32 144 01873 #define R_SH_TLS_LD_32 145 01874 #define R_SH_TLS_LDO_32 146 01875 #define R_SH_TLS_IE_32 147 01876 #define R_SH_TLS_LE_32 148 01877 #define R_SH_TLS_DTPMOD32 149 01878 #define R_SH_TLS_DTPOFF32 150 01879 #define R_SH_TLS_TPOFF32 151 01880 #define R_SH_GOT32 160 01881 #define R_SH_PLT32 161 01882 #define R_SH_COPY 162 01883 #define R_SH_GLOB_DAT 163 01884 #define R_SH_JMP_SLOT 164 01885 #define R_SH_RELATIVE 165 01886 #define R_SH_GOTOFF 166 01887 #define R_SH_GOTPC 167 01888 #define R_SH_NUM 256 01889 #define R_390_NONE 0 01890 #define R_390_8 1 01891 #define R_390_12 2 01892 #define R_390_16 3 01893 #define R_390_32 4 01894 #define R_390_PC32 5 01895 #define R_390_GOT12 6 01896 #define R_390_GOT32 7 01897 #define R_390_PLT32 8 01898 #define R_390_COPY 9 01899 #define R_390_GLOB_DAT 10 01900 #define R_390_JMP_SLOT 11 01901 #define R_390_RELATIVE 12 01902 #define R_390_GOTOFF32 13 01903 #define R_390_GOTPC 14 01904 #define R_390_GOT16 15 01905 #define R_390_PC16 16 01906 #define R_390_PC16DBL 17 01907 #define R_390_PLT16DBL 18 01908 #define R_390_PC32DBL 19 01909 #define R_390_PLT32DBL 20 01910 #define R_390_GOTPCDBL 21 01911 #define R_390_64 22 01912 #define R_390_PC64 23 01913 #define R_390_GOT64 24 01914 #define R_390_PLT64 25 01915 #define R_390_GOTENT 26 01916 #define R_390_GOTOFF16 27 01917 #define R_390_GOTOFF64 28 01918 #define R_390_GOTPLT12 29 01919 #define R_390_GOTPLT16 30 01920 #define R_390_GOTPLT32 31 01921 #define R_390_GOTPLT64 32 01922 #define R_390_GOTPLTENT 33 01923 #define R_390_PLTOFF16 34 01924 #define R_390_PLTOFF32 35 01925 #define R_390_PLTOFF64 36 01926 #define R_390_TLS_LOAD 37 01927 #define R_390_TLS_GDCALL 38 01928 #define R_390_TLS_LDCALL 39 01929 #define R_390_TLS_GD32 40 01930 #define R_390_TLS_GD64 41 01931 #define R_390_TLS_GOTIE12 42 01932 #define R_390_TLS_GOTIE32 43 01933 #define R_390_TLS_GOTIE64 44 01934 #define R_390_TLS_LDM32 45 01935 #define R_390_TLS_LDM64 46 01936 #define R_390_TLS_IE32 47 01937 #define R_390_TLS_IE64 48 01938 #define R_390_TLS_IEENT 49 01939 #define R_390_TLS_LE32 50 01940 #define R_390_TLS_LE64 51 01941 #define R_390_TLS_LDO32 52 01942 #define R_390_TLS_LDO64 53 01943 #define R_390_TLS_DTPMOD 54 01944 #define R_390_TLS_DTPOFF 55 01945 #define R_390_TLS_TPOFF 56 01946 #define R_390_20 57 01947 #define R_390_GOT20 58 01948 #define R_390_GOTPLT20 59 01949 #define R_390_TLS_GOTIE20 60 01950 #define R_390_NUM 61 01951 #define R_CRIS_NONE 0 01952 #define R_CRIS_8 1 01953 #define R_CRIS_16 2 01954 #define R_CRIS_32 3 01955 #define R_CRIS_8_PCREL 4 01956 #define R_CRIS_16_PCREL 5 01957 #define R_CRIS_32_PCREL 6 01958 #define R_CRIS_GNU_VTINHERIT 7 01959 #define R_CRIS_GNU_VTENTRY 8 01960 #define R_CRIS_COPY 9 01961 #define R_CRIS_GLOB_DAT 10 01962 #define R_CRIS_JUMP_SLOT 11 01963 #define R_CRIS_RELATIVE 12 01964 #define R_CRIS_16_GOT 13 01965 #define R_CRIS_32_GOT 14 01966 #define R_CRIS_16_GOTPLT 15 01967 #define R_CRIS_32_GOTPLT 16 01968 #define R_CRIS_32_GOTREL 17 01969 #define R_CRIS_32_PLT_GOTREL 18 01970 #define R_CRIS_32_PLT_PCREL 19 01971 #define R_CRIS_NUM 20 01972 #define R_X86_64_NONE 0 01973 #define R_X86_64_64 1 01974 #define R_X86_64_PC32 2 01975 #define R_X86_64_GOT32 3 01976 #define R_X86_64_PLT32 4 01977 #define R_X86_64_COPY 5 01978 #define R_X86_64_GLOB_DAT 6 01979 #define R_X86_64_JUMP_SLOT 7 01980 #define R_X86_64_RELATIVE 8 01981 #define R_X86_64_GOTPCREL 9 01982 #define R_X86_64_32 10 01983 #define R_X86_64_32S 11 01984 #define R_X86_64_16 12 01985 #define R_X86_64_PC16 13 01986 #define R_X86_64_8 14 01987 #define R_X86_64_PC8 15 01988 #define R_X86_64_DTPMOD64 16 01989 #define R_X86_64_DTPOFF64 17 01990 #define R_X86_64_TPOFF64 18 01991 #define R_X86_64_TLSGD 19 01992 #define R_X86_64_TLSLD 20 01993 #define R_X86_64_DTPOFF32 21 01994 #define R_X86_64_GOTTPOFF 22 01995 #define R_X86_64_TPOFF32 23 01996 #define R_X86_64_NUM 24 01997 #define R_MN10300_NONE 0 01998 #define R_MN10300_32 1 01999 #define R_MN10300_16 2 02000 #define R_MN10300_8 3 02001 #define R_MN10300_PCREL32 4 02002 #define R_MN10300_PCREL16 5 02003 #define R_MN10300_PCREL8 6 02004 #define R_MN10300_GNU_VTINHERIT 7 02005 #define R_MN10300_GNU_VTENTRY 8 02006 #define R_MN10300_24 9 02007 #define R_MN10300_GOTPC32 10 02008 #define R_MN10300_GOTPC16 11 02009 #define R_MN10300_GOTOFF32 12 02010 #define R_MN10300_GOTOFF24 13 02011 #define R_MN10300_GOTOFF16 14 02012 #define R_MN10300_PLT32 15 02013 #define R_MN10300_PLT16 16 02014 #define R_MN10300_GOT32 17 02015 #define R_MN10300_GOT24 18 02016 #define R_MN10300_GOT16 19 02017 #define R_MN10300_COPY 20 02018 #define R_MN10300_GLOB_DAT 21 02019 #define R_MN10300_JMP_SLOT 22 02020 #define R_MN10300_RELATIVE 23 02021 #define R_MN10300_NUM 24 02022 #define R_M32R_NONE 0 02023 #define R_M32R_16 1 02024 #define R_M32R_32 2 02025 #define R_M32R_24 3 02026 #define R_M32R_10_PCREL 4 02027 #define R_M32R_18_PCREL 5 02028 #define R_M32R_26_PCREL 6 02029 #define R_M32R_HI16_ULO 7 02030 #define R_M32R_HI16_SLO 8 02031 #define R_M32R_LO16 9 02032 #define R_M32R_SDA16 10 02033 #define R_M32R_GNU_VTINHERIT 11 02034 #define R_M32R_GNU_VTENTRY 12 02035 #define R_M32R_16_RELA 33 02036 #define R_M32R_32_RELA 34 02037 #define R_M32R_24_RELA 35 02038 #define R_M32R_10_PCREL_RELA 36 02039 #define R_M32R_18_PCREL_RELA 37 02040 #define R_M32R_26_PCREL_RELA 38 02041 #define R_M32R_HI16_ULO_RELA 39 02042 #define R_M32R_HI16_SLO_RELA 40 02043 #define R_M32R_LO16_RELA 41 02044 #define R_M32R_SDA16_RELA 42 02045 #define R_M32R_RELA_GNU_VTINHERIT 43 02046 #define R_M32R_RELA_GNU_VTENTRY 44 02047 #define R_M32R_REL32 45 02048 #define R_M32R_GOT24 48 02049 #define R_M32R_26_PLTREL 49 02050 #define R_M32R_COPY 50 02051 #define R_M32R_GLOB_DAT 51 02052 #define R_M32R_JMP_SLOT 52 02053 #define R_M32R_RELATIVE 53 02054 #define R_M32R_GOTOFF 54 02055 #define R_M32R_GOTPC24 55 02056 #define R_M32R_GOT16_HI_ULO 56 02057 #define R_M32R_GOT16_HI_SLO 57 02058 #define R_M32R_GOT16_LO 58 02059 #define R_M32R_GOTPC_HI_ULO 59 02060 #define R_M32R_GOTPC_HI_SLO 60 02061 #define R_M32R_GOTPC_LO 61 02062 #define R_M32R_GOTOFF_HI_ULO 62 02063 #define R_M32R_GOTOFF_HI_SLO 63 02064 #define R_M32R_GOTOFF_LO 64 02065 #define R_M32R_NUM 256 02066