10 typedef uint16_t Elf32_Half;
11 typedef uint16_t Elf64_Half;
13 typedef uint32_t Elf32_Word;
14 typedef int32_t Elf32_Sword;
15 typedef uint32_t Elf64_Word;
16 typedef int32_t Elf64_Sword;
18 typedef uint64_t Elf32_Xword;
19 typedef int64_t Elf32_Sxword;
20 typedef uint64_t Elf64_Xword;
21 typedef int64_t Elf64_Sxword;
23 typedef uint32_t Elf32_Addr;
24 typedef uint64_t Elf64_Addr;
26 typedef uint32_t Elf32_Off;
27 typedef uint64_t Elf64_Off;
29 typedef uint16_t Elf32_Section;
30 typedef uint16_t Elf64_Section;
32 typedef Elf32_Half Elf32_Versym;
33 typedef Elf64_Half Elf64_Versym;
35 #define EI_NIDENT (16)
38 unsigned char e_ident[EI_NIDENT];
47 Elf32_Half e_phentsize;
49 Elf32_Half e_shentsize;
51 Elf32_Half e_shstrndx;
55 unsigned char e_ident[EI_NIDENT];
64 Elf64_Half e_phentsize;
66 Elf64_Half e_shentsize;
68 Elf64_Half e_shstrndx;
84 #define ELFMAG "\177ELF"
88 #define ELFCLASSNONE 0
103 #define ELFOSABI_NONE 0
104 #define ELFOSABI_SYSV 0
105 #define ELFOSABI_HPUX 1
106 #define ELFOSABI_NETBSD 2
107 #define ELFOSABI_LINUX 3
108 #define ELFOSABI_GNU 3
109 #define ELFOSABI_SOLARIS 6
110 #define ELFOSABI_AIX 7
111 #define ELFOSABI_IRIX 8
112 #define ELFOSABI_FREEBSD 9
113 #define ELFOSABI_TRU64 10
114 #define ELFOSABI_MODESTO 11
115 #define ELFOSABI_OPENBSD 12
116 #define ELFOSABI_ARM 97
117 #define ELFOSABI_STANDALONE 255
119 #define EI_ABIVERSION 8
131 #define ET_LOOS 0xfe00
132 #define ET_HIOS 0xfeff
133 #define ET_LOPROC 0xff00
134 #define ET_HIPROC 0xffff
147 #define EM_MIPS_RS3_LE 10
151 #define EM_SPARC32PLUS 18
162 #define EM_FAKE_ALPHA 41
164 #define EM_SPARCV9 43
165 #define EM_TRICORE 44
168 #define EM_H8_300H 47
173 #define EM_COLDFIRE 52
179 #define EM_STARCORE 58
187 #define EM_ST9PLUS 67
197 #define EM_JAVELIN 77
198 #define EM_FIREPATH 78
209 #define EM_MN10300 89
210 #define EM_MN10200 90
212 #define EM_OPENRISC 92
215 #define EM_AARCH64 183
216 #define EM_TILEPRO 188
217 #define EM_MICROBLAZE 189
218 #define EM_TILEGX 191
220 #define EM_ALPHA 0x9026
235 Elf32_Word sh_addralign;
236 Elf32_Word sh_entsize;
242 Elf64_Xword sh_flags;
248 Elf64_Xword sh_addralign;
249 Elf64_Xword sh_entsize;
255 #define SHN_LORESERVE 0xff00
256 #define SHN_LOPROC 0xff00
257 #define SHN_BEFORE 0xff00
259 #define SHN_AFTER 0xff01
261 #define SHN_HIPROC 0xff1f
262 #define SHN_LOOS 0xff20
263 #define SHN_HIOS 0xff3f
264 #define SHN_ABS 0xfff1
265 #define SHN_COMMON 0xfff2
266 #define SHN_XINDEX 0xffff
267 #define SHN_HIRESERVE 0xffff
272 #define SHT_PROGBITS 1
277 #define SHT_DYNAMIC 6
282 #define SHT_DYNSYM 11
283 #define SHT_INIT_ARRAY 14
284 #define SHT_FINI_ARRAY 15
285 #define SHT_PREINIT_ARRAY 16
287 #define SHT_SYMTAB_SHNDX 18
289 #define SHT_LOOS 0x60000000
290 #define SHT_GNU_ATTRIBUTES 0x6ffffff5
291 #define SHT_GNU_HASH 0x6ffffff6
292 #define SHT_GNU_LIBLIST 0x6ffffff7
293 #define SHT_CHECKSUM 0x6ffffff8
294 #define SHT_LOSUNW 0x6ffffffa
295 #define SHT_SUNW_move 0x6ffffffa
296 #define SHT_SUNW_COMDAT 0x6ffffffb
297 #define SHT_SUNW_syminfo 0x6ffffffc
298 #define SHT_GNU_verdef 0x6ffffffd
299 #define SHT_GNU_verneed 0x6ffffffe
300 #define SHT_GNU_versym 0x6fffffff
301 #define SHT_HISUNW 0x6fffffff
302 #define SHT_HIOS 0x6fffffff
303 #define SHT_LOPROC 0x70000000
304 #define SHT_HIPROC 0x7fffffff
305 #define SHT_LOUSER 0x80000000
306 #define SHT_HIUSER 0x8fffffff
308 #define SHF_WRITE (1 << 0)
309 #define SHF_ALLOC (1 << 1)
310 #define SHF_EXECINSTR (1 << 2)
311 #define SHF_MERGE (1 << 4)
312 #define SHF_STRINGS (1 << 5)
313 #define SHF_INFO_LINK (1 << 6)
314 #define SHF_LINK_ORDER (1 << 7)
315 #define SHF_OS_NONCONFORMING (1 << 8)
317 #define SHF_GROUP (1 << 9)
318 #define SHF_TLS (1 << 10)
319 #define SHF_MASKOS 0x0ff00000
320 #define SHF_MASKPROC 0xf0000000
321 #define SHF_ORDERED (1 << 30)
322 #define SHF_EXCLUDE (1 << 31)
324 #define GRP_COMDAT 0x1
330 unsigned char st_info;
331 unsigned char st_other;
332 Elf32_Section st_shndx;
337 unsigned char st_info;
338 unsigned char st_other;
339 Elf64_Section st_shndx;
345 Elf32_Half si_boundto;
350 Elf64_Half si_boundto;
354 #define SYMINFO_BT_SELF 0xffff
355 #define SYMINFO_BT_PARENT 0xfffe
356 #define SYMINFO_BT_LOWRESERVE 0xff00
358 #define SYMINFO_FLG_DIRECT 0x0001
359 #define SYMINFO_FLG_PASSTHRU 0x0002
360 #define SYMINFO_FLG_COPY 0x0004
361 #define SYMINFO_FLG_LAZYLOAD 0x0008
363 #define SYMINFO_NONE 0
364 #define SYMINFO_CURRENT 1
365 #define SYMINFO_NUM 2
367 #define ELF32_ST_BIND(val) (((unsigned char) (val)) >> 4)
368 #define ELF32_ST_TYPE(val) ((val) & 0xf)
369 #define ELF32_ST_INFO(bind, type) (((bind) << 4) + ((type) & 0xf))
371 #define ELF64_ST_BIND(val) ELF32_ST_BIND (val)
372 #define ELF64_ST_TYPE(val) ELF32_ST_TYPE (val)
373 #define ELF64_ST_INFO(bind, type) ELF32_ST_INFO ((bind), (type))
380 #define STB_GNU_UNIQUE 10
382 #define STB_LOPROC 13
383 #define STB_HIPROC 15
388 #define STT_SECTION 3
394 #define STT_GNU_IFUNC 10
396 #define STT_LOPROC 13
397 #define STT_HIPROC 15
401 #define ELF32_ST_VISIBILITY(o) ((o) & 0x03)
402 #define ELF64_ST_VISIBILITY(o) ELF32_ST_VISIBILITY (o)
404 #define STV_DEFAULT 0
405 #define STV_INTERNAL 1
407 #define STV_PROTECTED 3
428 Elf32_Sword r_addend;
434 Elf64_Sxword r_addend;
439 #define ELF32_R_SYM(val) ((val) >> 8)
440 #define ELF32_R_TYPE(val) ((val) & 0xff)
441 #define ELF32_R_INFO(sym, type) (((sym) << 8) + ((type) & 0xff))
443 #define ELF64_R_SYM(i) ((i) >> 32)
444 #define ELF64_R_TYPE(i) ((i) & 0xffffffff)
445 #define ELF64_R_INFO(sym,type) ((((Elf64_Xword) (sym)) << 32) + (type))
466 Elf64_Xword p_filesz;
482 #define PT_LOOS 0x60000000
483 #define PT_GNU_EH_FRAME 0x6474e550
484 #define PT_GNU_STACK 0x6474e551
485 #define PT_GNU_RELRO 0x6474e552
486 #define PT_LOSUNW 0x6ffffffa
487 #define PT_SUNWBSS 0x6ffffffa
488 #define PT_SUNWSTACK 0x6ffffffb
489 #define PT_HISUNW 0x6fffffff
490 #define PT_HIOS 0x6fffffff
491 #define PT_LOPROC 0x70000000
492 #define PT_HIPROC 0x7fffffff
495 #define PN_XNUM 0xffff
498 #define PF_X (1 << 0)
499 #define PF_W (1 << 1)
500 #define PF_R (1 << 2)
501 #define PF_MASKOS 0x0ff00000
502 #define PF_MASKPROC 0xf0000000
506 #define NT_PRSTATUS 1
507 #define NT_FPREGSET 2
508 #define NT_PRPSINFO 3
510 #define NT_TASKSTRUCT 4
511 #define NT_PLATFORM 5
513 #define NT_GWINDOWS 7
515 #define NT_PSTATUS 10
518 #define NT_UTSNAME 15
519 #define NT_LWPSTATUS 16
520 #define NT_LWPSINFO 17
521 #define NT_PRFPXREG 20
522 #define NT_SIGINFO 0x53494749
523 #define NT_FILE 0x46494c45
524 #define NT_PRXFPREG 0x46e62b7f
525 #define NT_PPC_VMX 0x100
526 #define NT_PPC_SPE 0x101
527 #define NT_PPC_VSX 0x102
528 #define NT_386_TLS 0x200
529 #define NT_386_IOPERM 0x201
530 #define NT_X86_XSTATE 0x202
531 #define NT_S390_HIGH_GPRS 0x300
532 #define NT_S390_TIMER 0x301
533 #define NT_S390_TODCMP 0x302
534 #define NT_S390_TODPREG 0x303
535 #define NT_S390_CTRS 0x304
536 #define NT_S390_PREFIX 0x305
537 #define NT_S390_LAST_BREAK 0x306
538 #define NT_S390_SYSTEM_CALL 0x307
539 #define NT_S390_TDB 0x308
540 #define NT_ARM_VFP 0x400
541 #define NT_ARM_TLS 0x401
542 #define NT_ARM_HW_BREAK 0x402
543 #define NT_ARM_HW_WATCH 0x403
544 #define NT_METAG_CBUF 0x500
545 #define NT_METAG_RPIPE 0x501
546 #define NT_METAG_TLS 0x502
572 #define DT_PLTRELSZ 2
586 #define DT_SYMBOLIC 16
592 #define DT_TEXTREL 22
594 #define DT_BIND_NOW 24
595 #define DT_INIT_ARRAY 25
596 #define DT_FINI_ARRAY 26
597 #define DT_INIT_ARRAYSZ 27
598 #define DT_FINI_ARRAYSZ 28
599 #define DT_RUNPATH 29
601 #define DT_ENCODING 32
602 #define DT_PREINIT_ARRAY 32
603 #define DT_PREINIT_ARRAYSZ 33
605 #define DT_LOOS 0x6000000d
606 #define DT_HIOS 0x6ffff000
607 #define DT_LOPROC 0x70000000
608 #define DT_HIPROC 0x7fffffff
609 #define DT_PROCNUM DT_MIPS_NUM
611 #define DT_VALRNGLO 0x6ffffd00
612 #define DT_GNU_PRELINKED 0x6ffffdf5
613 #define DT_GNU_CONFLICTSZ 0x6ffffdf6
614 #define DT_GNU_LIBLISTSZ 0x6ffffdf7
615 #define DT_CHECKSUM 0x6ffffdf8
616 #define DT_PLTPADSZ 0x6ffffdf9
617 #define DT_MOVEENT 0x6ffffdfa
618 #define DT_MOVESZ 0x6ffffdfb
619 #define DT_FEATURE_1 0x6ffffdfc
620 #define DT_POSFLAG_1 0x6ffffdfd
622 #define DT_SYMINSZ 0x6ffffdfe
623 #define DT_SYMINENT 0x6ffffdff
624 #define DT_VALRNGHI 0x6ffffdff
625 #define DT_VALTAGIDX(tag) (DT_VALRNGHI - (tag))
628 #define DT_ADDRRNGLO 0x6ffffe00
629 #define DT_GNU_HASH 0x6ffffef5
630 #define DT_TLSDESC_PLT 0x6ffffef6
631 #define DT_TLSDESC_GOT 0x6ffffef7
632 #define DT_GNU_CONFLICT 0x6ffffef8
633 #define DT_GNU_LIBLIST 0x6ffffef9
634 #define DT_CONFIG 0x6ffffefa
635 #define DT_DEPAUDIT 0x6ffffefb
636 #define DT_AUDIT 0x6ffffefc
637 #define DT_PLTPAD 0x6ffffefd
638 #define DT_MOVETAB 0x6ffffefe
639 #define DT_SYMINFO 0x6ffffeff
640 #define DT_ADDRRNGHI 0x6ffffeff
641 #define DT_ADDRTAGIDX(tag) (DT_ADDRRNGHI - (tag))
642 #define DT_ADDRNUM 11
646 #define DT_VERSYM 0x6ffffff0
648 #define DT_RELACOUNT 0x6ffffff9
649 #define DT_RELCOUNT 0x6ffffffa
652 #define DT_FLAGS_1 0x6ffffffb
653 #define DT_VERDEF 0x6ffffffc
655 #define DT_VERDEFNUM 0x6ffffffd
656 #define DT_VERNEED 0x6ffffffe
658 #define DT_VERNEEDNUM 0x6fffffff
659 #define DT_VERSIONTAGIDX(tag) (DT_VERNEEDNUM - (tag))
660 #define DT_VERSIONTAGNUM 16
664 #define DT_AUXILIARY 0x7ffffffd
665 #define DT_FILTER 0x7fffffff
666 #define DT_EXTRATAGIDX(tag) ((Elf32_Word)-((Elf32_Sword) (tag) <<1>>1)-1)
667 #define DT_EXTRANUM 3
670 #define DF_ORIGIN 0x00000001
671 #define DF_SYMBOLIC 0x00000002
672 #define DF_TEXTREL 0x00000004
673 #define DF_BIND_NOW 0x00000008
674 #define DF_STATIC_TLS 0x00000010
678 #define DF_1_NOW 0x00000001
679 #define DF_1_GLOBAL 0x00000002
680 #define DF_1_GROUP 0x00000004
681 #define DF_1_NODELETE 0x00000008
682 #define DF_1_LOADFLTR 0x00000010
683 #define DF_1_INITFIRST 0x00000020
684 #define DF_1_NOOPEN 0x00000040
685 #define DF_1_ORIGIN 0x00000080
686 #define DF_1_DIRECT 0x00000100
687 #define DF_1_TRANS 0x00000200
688 #define DF_1_INTERPOSE 0x00000400
689 #define DF_1_NODEFLIB 0x00000800
690 #define DF_1_NODUMP 0x00001000
691 #define DF_1_CONFALT 0x00002000
692 #define DF_1_ENDFILTEE 0x00004000
693 #define DF_1_DISPRELDNE 0x00008000
694 #define DF_1_DISPRELPND 0x00010000
695 #define DF_1_NODIRECT 0x00020000
696 #define DF_1_IGNMULDEF 0x00040000
697 #define DF_1_NOKSYMS 0x00080000
698 #define DF_1_NOHDR 0x00100000
699 #define DF_1_EDITED 0x00200000
700 #define DF_1_NORELOC 0x00400000
701 #define DF_1_SYMINTPOSE 0x00800000
702 #define DF_1_GLOBAUDIT 0x01000000
703 #define DF_1_SINGLETON 0x02000000
705 #define DTF_1_PARINIT 0x00000001
706 #define DTF_1_CONFEXP 0x00000002
709 #define DF_P1_LAZYLOAD 0x00000001
710 #define DF_P1_GROUPPERM 0x00000002
716 Elf32_Half vd_version;
726 Elf64_Half vd_version;
737 #define VER_DEF_NONE 0
738 #define VER_DEF_CURRENT 1
739 #define VER_DEF_NUM 2
742 #define VER_FLG_BASE 0x1
743 #define VER_FLG_WEAK 0x2
746 #define VER_NDX_LOCAL 0
747 #define VER_NDX_GLOBAL 1
748 #define VER_NDX_LORESERVE 0xff00
749 #define VER_NDX_ELIMINATE 0xff01
767 Elf32_Half vn_version;
775 Elf64_Half vn_version;
784 #define VER_NEED_NONE 0
785 #define VER_NEED_CURRENT 1
786 #define VER_NEED_NUM 2
792 Elf32_Half vna_flags;
793 Elf32_Half vna_other;
800 Elf64_Half vna_flags;
801 Elf64_Half vna_other;
808 #define VER_FLG_WEAK 0x2
846 #define AT_PLATFORM 15
855 #define AT_DCACHEBSIZE 19
856 #define AT_ICACHEBSIZE 20
857 #define AT_UCACHEBSIZE 21
861 #define AT_IGNOREPPC 22
865 #define AT_BASE_PLATFORM 24
875 #define AT_SYSINFO 32
876 #define AT_SYSINFO_EHDR 33
880 #define AT_L1I_CACHESHAPE 34
881 #define AT_L1D_CACHESHAPE 35
882 #define AT_L2_CACHESHAPE 36
883 #define AT_L3_CACHESHAPE 37
903 #define ELF_NOTE_SOLARIS "SUNW Solaris"
906 #define ELF_NOTE_GNU "GNU"
912 #define ELF_NOTE_PAGESIZE_HINT 1
915 #define NT_GNU_ABI_TAG 1
916 #define ELF_NOTE_ABI NT_GNU_ABI_TAG
920 #define ELF_NOTE_OS_LINUX 0
921 #define ELF_NOTE_OS_GNU 1
922 #define ELF_NOTE_OS_SOLARIS2 2
923 #define ELF_NOTE_OS_FREEBSD 3
925 #define NT_GNU_BUILD_ID 3
926 #define NT_GNU_GOLD_VERSION 4
933 Elf32_Word m_poffset;
941 Elf64_Xword m_poffset;
947 #define ELF32_M_SYM(info) ((info) >> 8)
948 #define ELF32_M_SIZE(info) ((unsigned char) (info))
949 #define ELF32_M_INFO(sym, size) (((sym) << 8) + (unsigned char) (size))
951 #define ELF64_M_SYM(info) ELF32_M_SYM (info)
952 #define ELF64_M_SIZE(info) ELF32_M_SIZE (info)
953 #define ELF64_M_INFO(sym, size) ELF32_M_INFO (sym, size)
955 #define EF_CPU32 0x00810000
964 #define R_68K_GOT32 7
965 #define R_68K_GOT16 8
967 #define R_68K_GOT32O 10
968 #define R_68K_GOT16O 11
969 #define R_68K_GOT8O 12
970 #define R_68K_PLT32 13
971 #define R_68K_PLT16 14
972 #define R_68K_PLT8 15
973 #define R_68K_PLT32O 16
974 #define R_68K_PLT16O 17
975 #define R_68K_PLT8O 18
976 #define R_68K_COPY 19
977 #define R_68K_GLOB_DAT 20
978 #define R_68K_JMP_SLOT 21
979 #define R_68K_RELATIVE 22
985 #define R_386_GOT32 3
986 #define R_386_PLT32 4
988 #define R_386_GLOB_DAT 6
989 #define R_386_JMP_SLOT 7
990 #define R_386_RELATIVE 8
991 #define R_386_GOTOFF 9
992 #define R_386_GOTPC 10
993 #define R_386_32PLT 11
994 #define R_386_TLS_TPOFF 14
995 #define R_386_TLS_IE 15
996 #define R_386_TLS_GOTIE 16
997 #define R_386_TLS_LE 17
998 #define R_386_TLS_GD 18
999 #define R_386_TLS_LDM 19
1001 #define R_386_PC16 21
1003 #define R_386_PC8 23
1004 #define R_386_TLS_GD_32 24
1005 #define R_386_TLS_GD_PUSH 25
1006 #define R_386_TLS_GD_CALL 26
1007 #define R_386_TLS_GD_POP 27
1008 #define R_386_TLS_LDM_32 28
1009 #define R_386_TLS_LDM_PUSH 29
1010 #define R_386_TLS_LDM_CALL 30
1011 #define R_386_TLS_LDM_POP 31
1012 #define R_386_TLS_LDO_32 32
1013 #define R_386_TLS_IE_32 33
1014 #define R_386_TLS_LE_32 34
1015 #define R_386_TLS_DTPMOD32 35
1016 #define R_386_TLS_DTPOFF32 36
1017 #define R_386_TLS_TPOFF32 37
1018 #define R_386_SIZE32 38
1019 #define R_386_TLS_GOTDESC 39
1020 #define R_386_TLS_DESC_CALL 40
1021 #define R_386_TLS_DESC 41
1022 #define R_386_IRELATIVE 42
1023 #define R_386_NUM 43
1029 #define STT_SPARC_REGISTER 13
1033 #define EF_SPARCV9_MM 3
1034 #define EF_SPARCV9_TSO 0
1035 #define EF_SPARCV9_PSO 1
1036 #define EF_SPARCV9_RMO 2
1037 #define EF_SPARC_LEDATA 0x800000
1038 #define EF_SPARC_EXT_MASK 0xFFFF00
1039 #define EF_SPARC_32PLUS 0x000100
1040 #define EF_SPARC_SUN_US1 0x000200
1041 #define EF_SPARC_HAL_R1 0x000400
1042 #define EF_SPARC_SUN_US3 0x000800
1046 #define R_SPARC_NONE 0
1048 #define R_SPARC_16 2
1049 #define R_SPARC_32 3
1050 #define R_SPARC_DISP8 4
1051 #define R_SPARC_DISP16 5
1052 #define R_SPARC_DISP32 6
1053 #define R_SPARC_WDISP30 7
1054 #define R_SPARC_WDISP22 8
1055 #define R_SPARC_HI22 9
1056 #define R_SPARC_22 10
1057 #define R_SPARC_13 11
1058 #define R_SPARC_LO10 12
1059 #define R_SPARC_GOT10 13
1060 #define R_SPARC_GOT13 14
1061 #define R_SPARC_GOT22 15
1062 #define R_SPARC_PC10 16
1063 #define R_SPARC_PC22 17
1064 #define R_SPARC_WPLT30 18
1065 #define R_SPARC_COPY 19
1066 #define R_SPARC_GLOB_DAT 20
1067 #define R_SPARC_JMP_SLOT 21
1068 #define R_SPARC_RELATIVE 22
1069 #define R_SPARC_UA32 23
1073 #define R_SPARC_PLT32 24
1074 #define R_SPARC_HIPLT22 25
1075 #define R_SPARC_LOPLT10 26
1076 #define R_SPARC_PCPLT32 27
1077 #define R_SPARC_PCPLT22 28
1078 #define R_SPARC_PCPLT10 29
1079 #define R_SPARC_10 30
1080 #define R_SPARC_11 31
1081 #define R_SPARC_64 32
1082 #define R_SPARC_OLO10 33
1083 #define R_SPARC_HH22 34
1084 #define R_SPARC_HM10 35
1085 #define R_SPARC_LM22 36
1086 #define R_SPARC_PC_HH22 37
1087 #define R_SPARC_PC_HM10 38
1088 #define R_SPARC_PC_LM22 39
1089 #define R_SPARC_WDISP16 40
1090 #define R_SPARC_WDISP19 41
1091 #define R_SPARC_GLOB_JMP 42
1092 #define R_SPARC_7 43
1093 #define R_SPARC_5 44
1094 #define R_SPARC_6 45
1095 #define R_SPARC_DISP64 46
1096 #define R_SPARC_PLT64 47
1097 #define R_SPARC_HIX22 48
1098 #define R_SPARC_LOX10 49
1099 #define R_SPARC_H44 50
1100 #define R_SPARC_M44 51
1101 #define R_SPARC_L44 52
1102 #define R_SPARC_REGISTER 53
1103 #define R_SPARC_UA64 54
1104 #define R_SPARC_UA16 55
1105 #define R_SPARC_TLS_GD_HI22 56
1106 #define R_SPARC_TLS_GD_LO10 57
1107 #define R_SPARC_TLS_GD_ADD 58
1108 #define R_SPARC_TLS_GD_CALL 59
1109 #define R_SPARC_TLS_LDM_HI22 60
1110 #define R_SPARC_TLS_LDM_LO10 61
1111 #define R_SPARC_TLS_LDM_ADD 62
1112 #define R_SPARC_TLS_LDM_CALL 63
1113 #define R_SPARC_TLS_LDO_HIX22 64
1114 #define R_SPARC_TLS_LDO_LOX10 65
1115 #define R_SPARC_TLS_LDO_ADD 66
1116 #define R_SPARC_TLS_IE_HI22 67
1117 #define R_SPARC_TLS_IE_LO10 68
1118 #define R_SPARC_TLS_IE_LD 69
1119 #define R_SPARC_TLS_IE_LDX 70
1120 #define R_SPARC_TLS_IE_ADD 71
1121 #define R_SPARC_TLS_LE_HIX22 72
1122 #define R_SPARC_TLS_LE_LOX10 73
1123 #define R_SPARC_TLS_DTPMOD32 74
1124 #define R_SPARC_TLS_DTPMOD64 75
1125 #define R_SPARC_TLS_DTPOFF32 76
1126 #define R_SPARC_TLS_DTPOFF64 77
1127 #define R_SPARC_TLS_TPOFF32 78
1128 #define R_SPARC_TLS_TPOFF64 79
1129 #define R_SPARC_GOTDATA_HIX22 80
1130 #define R_SPARC_GOTDATA_LOX10 81
1131 #define R_SPARC_GOTDATA_OP_HIX22 82
1132 #define R_SPARC_GOTDATA_OP_LOX10 83
1133 #define R_SPARC_GOTDATA_OP 84
1134 #define R_SPARC_H34 85
1135 #define R_SPARC_SIZE32 86
1136 #define R_SPARC_SIZE64 87
1137 #define R_SPARC_GNU_VTINHERIT 250
1138 #define R_SPARC_GNU_VTENTRY 251
1139 #define R_SPARC_REV32 252
1141 #define R_SPARC_NUM 253
1145 #define DT_SPARC_REGISTER 0x70000001
1146 #define DT_SPARC_NUM 2
1149 #define EF_MIPS_NOREORDER 1
1150 #define EF_MIPS_PIC 2
1151 #define EF_MIPS_CPIC 4
1152 #define EF_MIPS_XGOT 8
1153 #define EF_MIPS_64BIT_WHIRL 16
1154 #define EF_MIPS_ABI2 32
1155 #define EF_MIPS_ABI_ON32 64
1156 #define EF_MIPS_ARCH 0xf0000000
1160 #define EF_MIPS_ARCH_1 0x00000000
1161 #define EF_MIPS_ARCH_2 0x10000000
1162 #define EF_MIPS_ARCH_3 0x20000000
1163 #define EF_MIPS_ARCH_4 0x30000000
1164 #define EF_MIPS_ARCH_5 0x40000000
1165 #define EF_MIPS_ARCH_32 0x50000000
1166 #define EF_MIPS_ARCH_64 0x60000000
1167 #define EF_MIPS_ARCH_32R2 0x70000000
1168 #define EF_MIPS_ARCH_64R2 0x80000000
1171 #define E_MIPS_ARCH_1 0x00000000
1172 #define E_MIPS_ARCH_2 0x10000000
1173 #define E_MIPS_ARCH_3 0x20000000
1174 #define E_MIPS_ARCH_4 0x30000000
1175 #define E_MIPS_ARCH_5 0x40000000
1176 #define E_MIPS_ARCH_32 0x50000000
1177 #define E_MIPS_ARCH_64 0x60000000
1181 #define SHN_MIPS_ACOMMON 0xff00
1182 #define SHN_MIPS_TEXT 0xff01
1183 #define SHN_MIPS_DATA 0xff02
1184 #define SHN_MIPS_SCOMMON 0xff03
1185 #define SHN_MIPS_SUNDEFINED 0xff04
1189 #define SHT_MIPS_LIBLIST 0x70000000
1190 #define SHT_MIPS_MSYM 0x70000001
1191 #define SHT_MIPS_CONFLICT 0x70000002
1192 #define SHT_MIPS_GPTAB 0x70000003
1193 #define SHT_MIPS_UCODE 0x70000004
1194 #define SHT_MIPS_DEBUG 0x70000005
1195 #define SHT_MIPS_REGINFO 0x70000006
1196 #define SHT_MIPS_PACKAGE 0x70000007
1197 #define SHT_MIPS_PACKSYM 0x70000008
1198 #define SHT_MIPS_RELD 0x70000009
1199 #define SHT_MIPS_IFACE 0x7000000b
1200 #define SHT_MIPS_CONTENT 0x7000000c
1201 #define SHT_MIPS_OPTIONS 0x7000000d
1202 #define SHT_MIPS_SHDR 0x70000010
1203 #define SHT_MIPS_FDESC 0x70000011
1204 #define SHT_MIPS_EXTSYM 0x70000012
1205 #define SHT_MIPS_DENSE 0x70000013
1206 #define SHT_MIPS_PDESC 0x70000014
1207 #define SHT_MIPS_LOCSYM 0x70000015
1208 #define SHT_MIPS_AUXSYM 0x70000016
1209 #define SHT_MIPS_OPTSYM 0x70000017
1210 #define SHT_MIPS_LOCSTR 0x70000018
1211 #define SHT_MIPS_LINE 0x70000019
1212 #define SHT_MIPS_RFDESC 0x7000001a
1213 #define SHT_MIPS_DELTASYM 0x7000001b
1214 #define SHT_MIPS_DELTAINST 0x7000001c
1215 #define SHT_MIPS_DELTACLASS 0x7000001d
1216 #define SHT_MIPS_DWARF 0x7000001e
1217 #define SHT_MIPS_DELTADECL 0x7000001f
1218 #define SHT_MIPS_SYMBOL_LIB 0x70000020
1219 #define SHT_MIPS_EVENTS 0x70000021
1220 #define SHT_MIPS_TRANSLATE 0x70000022
1221 #define SHT_MIPS_PIXIE 0x70000023
1222 #define SHT_MIPS_XLATE 0x70000024
1223 #define SHT_MIPS_XLATE_DEBUG 0x70000025
1224 #define SHT_MIPS_WHIRL 0x70000026
1225 #define SHT_MIPS_EH_REGION 0x70000027
1226 #define SHT_MIPS_XLATE_OLD 0x70000028
1227 #define SHT_MIPS_PDR_EXCEPTION 0x70000029
1231 #define SHF_MIPS_GPREL 0x10000000
1232 #define SHF_MIPS_MERGE 0x20000000
1233 #define SHF_MIPS_ADDR 0x40000000
1234 #define SHF_MIPS_STRINGS 0x80000000
1235 #define SHF_MIPS_NOSTRIP 0x08000000
1236 #define SHF_MIPS_LOCAL 0x04000000
1237 #define SHF_MIPS_NAMES 0x02000000
1238 #define SHF_MIPS_NODUPE 0x01000000
1244 #define STO_MIPS_DEFAULT 0x0
1245 #define STO_MIPS_INTERNAL 0x1
1246 #define STO_MIPS_HIDDEN 0x2
1247 #define STO_MIPS_PROTECTED 0x3
1248 #define STO_MIPS_PLT 0x8
1249 #define STO_MIPS_SC_ALIGN_UNUSED 0xff
1252 #define STB_MIPS_SPLIT_COMMON 13
1258 Elf32_Word gt_current_g_value;
1259 Elf32_Word gt_unused;
1262 Elf32_Word gt_g_value;
1263 Elf32_Word gt_bytes;
1270 Elf32_Word ri_gprmask;
1271 Elf32_Word ri_cprmask[4];
1272 Elf32_Sword ri_gp_value;
1281 Elf32_Section section;
1289 #define ODK_REGINFO 1
1290 #define ODK_EXCEPTIONS 2
1292 #define ODK_HWPATCH 4
1300 #define OEX_FPU_MIN 0x1f
1301 #define OEX_FPU_MAX 0x1f00
1302 #define OEX_PAGE0 0x10000
1303 #define OEX_SMM 0x20000
1304 #define OEX_FPDBUG 0x40000
1305 #define OEX_PRECISEFP OEX_FPDBUG
1306 #define OEX_DISMISS 0x80000
1308 #define OEX_FPU_INVAL 0x10
1309 #define OEX_FPU_DIV0 0x08
1310 #define OEX_FPU_OFLO 0x04
1311 #define OEX_FPU_UFLO 0x02
1312 #define OEX_FPU_INEX 0x01
1316 #define OHW_R4KEOP 0x1
1317 #define OHW_R8KPFETCH 0x2
1318 #define OHW_R5KEOP 0x4
1319 #define OHW_R5KCVTL 0x8
1321 #define OPAD_PREFIX 0x1
1322 #define OPAD_POSTFIX 0x2
1323 #define OPAD_SYMBOL 0x4
1328 Elf32_Word hwp_flags1;
1329 Elf32_Word hwp_flags2;
1334 #define OHWA0_R4KEOP_CHECKED 0x00000001
1335 #define OHWA1_R4KEOP_CLEAN 0x00000002
1339 #define R_MIPS_NONE 0
1342 #define R_MIPS_REL32 3
1344 #define R_MIPS_HI16 5
1345 #define R_MIPS_LO16 6
1346 #define R_MIPS_GPREL16 7
1347 #define R_MIPS_LITERAL 8
1348 #define R_MIPS_GOT16 9
1349 #define R_MIPS_PC16 10
1350 #define R_MIPS_CALL16 11
1351 #define R_MIPS_GPREL32 12
1353 #define R_MIPS_SHIFT5 16
1354 #define R_MIPS_SHIFT6 17
1355 #define R_MIPS_64 18
1356 #define R_MIPS_GOT_DISP 19
1357 #define R_MIPS_GOT_PAGE 20
1358 #define R_MIPS_GOT_OFST 21
1359 #define R_MIPS_GOT_HI16 22
1360 #define R_MIPS_GOT_LO16 23
1361 #define R_MIPS_SUB 24
1362 #define R_MIPS_INSERT_A 25
1363 #define R_MIPS_INSERT_B 26
1364 #define R_MIPS_DELETE 27
1365 #define R_MIPS_HIGHER 28
1366 #define R_MIPS_HIGHEST 29
1367 #define R_MIPS_CALL_HI16 30
1368 #define R_MIPS_CALL_LO16 31
1369 #define R_MIPS_SCN_DISP 32
1370 #define R_MIPS_REL16 33
1371 #define R_MIPS_ADD_IMMEDIATE 34
1372 #define R_MIPS_PJUMP 35
1373 #define R_MIPS_RELGOT 36
1374 #define R_MIPS_JALR 37
1375 #define R_MIPS_TLS_DTPMOD32 38
1376 #define R_MIPS_TLS_DTPREL32 39
1377 #define R_MIPS_TLS_DTPMOD64 40
1378 #define R_MIPS_TLS_DTPREL64 41
1379 #define R_MIPS_TLS_GD 42
1380 #define R_MIPS_TLS_LDM 43
1381 #define R_MIPS_TLS_DTPREL_HI16 44
1382 #define R_MIPS_TLS_DTPREL_LO16 45
1383 #define R_MIPS_TLS_GOTTPREL 46
1384 #define R_MIPS_TLS_TPREL32 47
1385 #define R_MIPS_TLS_TPREL64 48
1386 #define R_MIPS_TLS_TPREL_HI16 49
1387 #define R_MIPS_TLS_TPREL_LO16 50
1388 #define R_MIPS_GLOB_DAT 51
1389 #define R_MIPS_COPY 126
1390 #define R_MIPS_JUMP_SLOT 127
1392 #define R_MIPS_NUM 128
1396 #define PT_MIPS_REGINFO 0x70000000
1397 #define PT_MIPS_RTPROC 0x70000001
1398 #define PT_MIPS_OPTIONS 0x70000002
1402 #define PF_MIPS_LOCAL 0x10000000
1406 #define DT_MIPS_RLD_VERSION 0x70000001
1407 #define DT_MIPS_TIME_STAMP 0x70000002
1408 #define DT_MIPS_ICHECKSUM 0x70000003
1409 #define DT_MIPS_IVERSION 0x70000004
1410 #define DT_MIPS_FLAGS 0x70000005
1411 #define DT_MIPS_BASE_ADDRESS 0x70000006
1412 #define DT_MIPS_MSYM 0x70000007
1413 #define DT_MIPS_CONFLICT 0x70000008
1414 #define DT_MIPS_LIBLIST 0x70000009
1415 #define DT_MIPS_LOCAL_GOTNO 0x7000000a
1416 #define DT_MIPS_CONFLICTNO 0x7000000b
1417 #define DT_MIPS_LIBLISTNO 0x70000010
1418 #define DT_MIPS_SYMTABNO 0x70000011
1419 #define DT_MIPS_UNREFEXTNO 0x70000012
1420 #define DT_MIPS_GOTSYM 0x70000013
1421 #define DT_MIPS_HIPAGENO 0x70000014
1422 #define DT_MIPS_RLD_MAP 0x70000016
1423 #define DT_MIPS_DELTA_CLASS 0x70000017
1424 #define DT_MIPS_DELTA_CLASS_NO 0x70000018
1426 #define DT_MIPS_DELTA_INSTANCE 0x70000019
1427 #define DT_MIPS_DELTA_INSTANCE_NO 0x7000001a
1429 #define DT_MIPS_DELTA_RELOC 0x7000001b
1430 #define DT_MIPS_DELTA_RELOC_NO 0x7000001c
1432 #define DT_MIPS_DELTA_SYM 0x7000001d
1434 #define DT_MIPS_DELTA_SYM_NO 0x7000001e
1436 #define DT_MIPS_DELTA_CLASSSYM 0x70000020
1438 #define DT_MIPS_DELTA_CLASSSYM_NO 0x70000021
1440 #define DT_MIPS_CXX_FLAGS 0x70000022
1441 #define DT_MIPS_PIXIE_INIT 0x70000023
1442 #define DT_MIPS_SYMBOL_LIB 0x70000024
1443 #define DT_MIPS_LOCALPAGE_GOTIDX 0x70000025
1444 #define DT_MIPS_LOCAL_GOTIDX 0x70000026
1445 #define DT_MIPS_HIDDEN_GOTIDX 0x70000027
1446 #define DT_MIPS_PROTECTED_GOTIDX 0x70000028
1447 #define DT_MIPS_OPTIONS 0x70000029
1448 #define DT_MIPS_INTERFACE 0x7000002a
1449 #define DT_MIPS_DYNSTR_ALIGN 0x7000002b
1450 #define DT_MIPS_INTERFACE_SIZE 0x7000002c
1451 #define DT_MIPS_RLD_TEXT_RESOLVE_ADDR 0x7000002d
1453 #define DT_MIPS_PERF_SUFFIX 0x7000002e
1455 #define DT_MIPS_COMPACT_SIZE 0x7000002f
1456 #define DT_MIPS_GP_VALUE 0x70000030
1457 #define DT_MIPS_AUX_DYNAMIC 0x70000031
1459 #define DT_MIPS_PLTGOT 0x70000032
1461 #define DT_MIPS_RWPLT 0x70000034
1462 #define DT_MIPS_NUM 0x35
1467 #define RHF_QUICKSTART (1 << 0)
1468 #define RHF_NOTPOT (1 << 1)
1469 #define RHF_NO_LIBRARY_REPLACEMENT (1 << 2)
1470 #define RHF_NO_MOVE (1 << 3)
1471 #define RHF_SGI_ONLY (1 << 4)
1472 #define RHF_GUARANTEE_INIT (1 << 5)
1473 #define RHF_DELTA_C_PLUS_PLUS (1 << 6)
1474 #define RHF_GUARANTEE_START_INIT (1 << 7)
1475 #define RHF_PIXIE (1 << 8)
1476 #define RHF_DEFAULT_DELAY_LOAD (1 << 9)
1477 #define RHF_REQUICKSTART (1 << 10)
1478 #define RHF_REQUICKSTARTED (1 << 11)
1479 #define RHF_CORD (1 << 12)
1480 #define RHF_NO_UNRES_UNDEF (1 << 13)
1481 #define RHF_RLD_ORDER_SAFE (1 << 14)
1488 Elf32_Word l_time_stamp;
1489 Elf32_Word l_checksum;
1490 Elf32_Word l_version;
1497 Elf64_Word l_time_stamp;
1498 Elf64_Word l_checksum;
1499 Elf64_Word l_version;
1507 #define LL_EXACT_MATCH (1 << 0)
1508 #define LL_IGNORE_INT_VER (1 << 1)
1509 #define LL_REQUIRE_MINOR (1 << 2)
1510 #define LL_EXPORTS (1 << 3)
1511 #define LL_DELAY_LOAD (1 << 4)
1512 #define LL_DELTA (1 << 5)
1516 typedef Elf32_Addr Elf32_Conflict;
1523 #define EF_PARISC_TRAPNIL 0x00010000
1524 #define EF_PARISC_EXT 0x00020000
1525 #define EF_PARISC_LSB 0x00040000
1526 #define EF_PARISC_WIDE 0x00080000
1527 #define EF_PARISC_NO_KABP 0x00100000
1529 #define EF_PARISC_LAZYSWAP 0x00400000
1530 #define EF_PARISC_ARCH 0x0000ffff
1534 #define EFA_PARISC_1_0 0x020b
1535 #define EFA_PARISC_1_1 0x0210
1536 #define EFA_PARISC_2_0 0x0214
1540 #define SHN_PARISC_ANSI_COMMON 0xff00
1542 #define SHN_PARISC_HUGE_COMMON 0xff01
1546 #define SHT_PARISC_EXT 0x70000000
1547 #define SHT_PARISC_UNWIND 0x70000001
1548 #define SHT_PARISC_DOC 0x70000002
1552 #define SHF_PARISC_SHORT 0x20000000
1553 #define SHF_PARISC_HUGE 0x40000000
1554 #define SHF_PARISC_SBP 0x80000000
1558 #define STT_PARISC_MILLICODE 13
1560 #define STT_HP_OPAQUE (STT_LOOS + 0x1)
1561 #define STT_HP_STUB (STT_LOOS + 0x2)
1565 #define R_PARISC_NONE 0
1566 #define R_PARISC_DIR32 1
1567 #define R_PARISC_DIR21L 2
1568 #define R_PARISC_DIR17R 3
1569 #define R_PARISC_DIR17F 4
1570 #define R_PARISC_DIR14R 6
1571 #define R_PARISC_PCREL32 9
1572 #define R_PARISC_PCREL21L 10
1573 #define R_PARISC_PCREL17R 11
1574 #define R_PARISC_PCREL17F 12
1575 #define R_PARISC_PCREL14R 14
1576 #define R_PARISC_DPREL21L 18
1577 #define R_PARISC_DPREL14R 22
1578 #define R_PARISC_GPREL21L 26
1579 #define R_PARISC_GPREL14R 30
1580 #define R_PARISC_LTOFF21L 34
1581 #define R_PARISC_LTOFF14R 38
1582 #define R_PARISC_SECREL32 41
1583 #define R_PARISC_SEGBASE 48
1584 #define R_PARISC_SEGREL32 49
1585 #define R_PARISC_PLTOFF21L 50
1586 #define R_PARISC_PLTOFF14R 54
1587 #define R_PARISC_LTOFF_FPTR32 57
1588 #define R_PARISC_LTOFF_FPTR21L 58
1589 #define R_PARISC_LTOFF_FPTR14R 62
1590 #define R_PARISC_FPTR64 64
1591 #define R_PARISC_PLABEL32 65
1592 #define R_PARISC_PLABEL21L 66
1593 #define R_PARISC_PLABEL14R 70
1594 #define R_PARISC_PCREL64 72
1595 #define R_PARISC_PCREL22F 74
1596 #define R_PARISC_PCREL14WR 75
1597 #define R_PARISC_PCREL14DR 76
1598 #define R_PARISC_PCREL16F 77
1599 #define R_PARISC_PCREL16WF 78
1600 #define R_PARISC_PCREL16DF 79
1601 #define R_PARISC_DIR64 80
1602 #define R_PARISC_DIR14WR 83
1603 #define R_PARISC_DIR14DR 84
1604 #define R_PARISC_DIR16F 85
1605 #define R_PARISC_DIR16WF 86
1606 #define R_PARISC_DIR16DF 87
1607 #define R_PARISC_GPREL64 88
1608 #define R_PARISC_GPREL14WR 91
1609 #define R_PARISC_GPREL14DR 92
1610 #define R_PARISC_GPREL16F 93
1611 #define R_PARISC_GPREL16WF 94
1612 #define R_PARISC_GPREL16DF 95
1613 #define R_PARISC_LTOFF64 96
1614 #define R_PARISC_LTOFF14WR 99
1615 #define R_PARISC_LTOFF14DR 100
1616 #define R_PARISC_LTOFF16F 101
1617 #define R_PARISC_LTOFF16WF 102
1618 #define R_PARISC_LTOFF16DF 103
1619 #define R_PARISC_SECREL64 104
1620 #define R_PARISC_SEGREL64 112
1621 #define R_PARISC_PLTOFF14WR 115
1622 #define R_PARISC_PLTOFF14DR 116
1623 #define R_PARISC_PLTOFF16F 117
1624 #define R_PARISC_PLTOFF16WF 118
1625 #define R_PARISC_PLTOFF16DF 119
1626 #define R_PARISC_LTOFF_FPTR64 120
1627 #define R_PARISC_LTOFF_FPTR14WR 123
1628 #define R_PARISC_LTOFF_FPTR14DR 124
1629 #define R_PARISC_LTOFF_FPTR16F 125
1630 #define R_PARISC_LTOFF_FPTR16WF 126
1631 #define R_PARISC_LTOFF_FPTR16DF 127
1632 #define R_PARISC_LORESERVE 128
1633 #define R_PARISC_COPY 128
1634 #define R_PARISC_IPLT 129
1635 #define R_PARISC_EPLT 130
1636 #define R_PARISC_TPREL32 153
1637 #define R_PARISC_TPREL21L 154
1638 #define R_PARISC_TPREL14R 158
1639 #define R_PARISC_LTOFF_TP21L 162
1640 #define R_PARISC_LTOFF_TP14R 166
1641 #define R_PARISC_LTOFF_TP14F 167
1642 #define R_PARISC_TPREL64 216
1643 #define R_PARISC_TPREL14WR 219
1644 #define R_PARISC_TPREL14DR 220
1645 #define R_PARISC_TPREL16F 221
1646 #define R_PARISC_TPREL16WF 222
1647 #define R_PARISC_TPREL16DF 223
1648 #define R_PARISC_LTOFF_TP64 224
1649 #define R_PARISC_LTOFF_TP14WR 227
1650 #define R_PARISC_LTOFF_TP14DR 228
1651 #define R_PARISC_LTOFF_TP16F 229
1652 #define R_PARISC_LTOFF_TP16WF 230
1653 #define R_PARISC_LTOFF_TP16DF 231
1654 #define R_PARISC_GNU_VTENTRY 232
1655 #define R_PARISC_GNU_VTINHERIT 233
1656 #define R_PARISC_TLS_GD21L 234
1657 #define R_PARISC_TLS_GD14R 235
1658 #define R_PARISC_TLS_GDCALL 236
1659 #define R_PARISC_TLS_LDM21L 237
1660 #define R_PARISC_TLS_LDM14R 238
1661 #define R_PARISC_TLS_LDMCALL 239
1662 #define R_PARISC_TLS_LDO21L 240
1663 #define R_PARISC_TLS_LDO14R 241
1664 #define R_PARISC_TLS_DTPMOD32 242
1665 #define R_PARISC_TLS_DTPMOD64 243
1666 #define R_PARISC_TLS_DTPOFF32 244
1667 #define R_PARISC_TLS_DTPOFF64 245
1668 #define R_PARISC_TLS_LE21L R_PARISC_TPREL21L
1669 #define R_PARISC_TLS_LE14R R_PARISC_TPREL14R
1670 #define R_PARISC_TLS_IE21L R_PARISC_LTOFF_TP21L
1671 #define R_PARISC_TLS_IE14R R_PARISC_LTOFF_TP14R
1672 #define R_PARISC_TLS_TPREL32 R_PARISC_TPREL32
1673 #define R_PARISC_TLS_TPREL64 R_PARISC_TPREL64
1674 #define R_PARISC_HIRESERVE 255
1678 #define PT_HP_TLS (PT_LOOS + 0x0)
1679 #define PT_HP_CORE_NONE (PT_LOOS + 0x1)
1680 #define PT_HP_CORE_VERSION (PT_LOOS + 0x2)
1681 #define PT_HP_CORE_KERNEL (PT_LOOS + 0x3)
1682 #define PT_HP_CORE_COMM (PT_LOOS + 0x4)
1683 #define PT_HP_CORE_PROC (PT_LOOS + 0x5)
1684 #define PT_HP_CORE_LOADABLE (PT_LOOS + 0x6)
1685 #define PT_HP_CORE_STACK (PT_LOOS + 0x7)
1686 #define PT_HP_CORE_SHM (PT_LOOS + 0x8)
1687 #define PT_HP_CORE_MMF (PT_LOOS + 0x9)
1688 #define PT_HP_PARALLEL (PT_LOOS + 0x10)
1689 #define PT_HP_FASTBIND (PT_LOOS + 0x11)
1690 #define PT_HP_OPT_ANNOT (PT_LOOS + 0x12)
1691 #define PT_HP_HSL_ANNOT (PT_LOOS + 0x13)
1692 #define PT_HP_STACK (PT_LOOS + 0x14)
1694 #define PT_PARISC_ARCHEXT 0x70000000
1695 #define PT_PARISC_UNWIND 0x70000001
1699 #define PF_PARISC_SBP 0x08000000
1701 #define PF_HP_PAGE_SIZE 0x00100000
1702 #define PF_HP_FAR_SHARED 0x00200000
1703 #define PF_HP_NEAR_SHARED 0x00400000
1704 #define PF_HP_CODE 0x01000000
1705 #define PF_HP_MODIFY 0x02000000
1706 #define PF_HP_LAZYSWAP 0x04000000
1707 #define PF_HP_SBP 0x08000000
1714 #define EF_ALPHA_32BIT 1
1715 #define EF_ALPHA_CANRELAX 2
1720 #define SHT_ALPHA_DEBUG 0x70000001
1721 #define SHT_ALPHA_REGINFO 0x70000002
1725 #define SHF_ALPHA_GPREL 0x10000000
1728 #define STO_ALPHA_NOPV 0x80
1729 #define STO_ALPHA_STD_GPLOAD 0x88
1733 #define R_ALPHA_NONE 0
1734 #define R_ALPHA_REFLONG 1
1735 #define R_ALPHA_REFQUAD 2
1736 #define R_ALPHA_GPREL32 3
1737 #define R_ALPHA_LITERAL 4
1738 #define R_ALPHA_LITUSE 5
1739 #define R_ALPHA_GPDISP 6
1740 #define R_ALPHA_BRADDR 7
1741 #define R_ALPHA_HINT 8
1742 #define R_ALPHA_SREL16 9
1743 #define R_ALPHA_SREL32 10
1744 #define R_ALPHA_SREL64 11
1745 #define R_ALPHA_GPRELHIGH 17
1746 #define R_ALPHA_GPRELLOW 18
1747 #define R_ALPHA_GPREL16 19
1748 #define R_ALPHA_COPY 24
1749 #define R_ALPHA_GLOB_DAT 25
1750 #define R_ALPHA_JMP_SLOT 26
1751 #define R_ALPHA_RELATIVE 27
1752 #define R_ALPHA_TLS_GD_HI 28
1753 #define R_ALPHA_TLSGD 29
1754 #define R_ALPHA_TLS_LDM 30
1755 #define R_ALPHA_DTPMOD64 31
1756 #define R_ALPHA_GOTDTPREL 32
1757 #define R_ALPHA_DTPREL64 33
1758 #define R_ALPHA_DTPRELHI 34
1759 #define R_ALPHA_DTPRELLO 35
1760 #define R_ALPHA_DTPREL16 36
1761 #define R_ALPHA_GOTTPREL 37
1762 #define R_ALPHA_TPREL64 38
1763 #define R_ALPHA_TPRELHI 39
1764 #define R_ALPHA_TPRELLO 40
1765 #define R_ALPHA_TPREL16 41
1767 #define R_ALPHA_NUM 46
1770 #define LITUSE_ALPHA_ADDR 0
1771 #define LITUSE_ALPHA_BASE 1
1772 #define LITUSE_ALPHA_BYTOFF 2
1773 #define LITUSE_ALPHA_JSR 3
1774 #define LITUSE_ALPHA_TLS_GD 4
1775 #define LITUSE_ALPHA_TLS_LDM 5
1778 #define DT_ALPHA_PLTRO (DT_LOPROC + 0)
1779 #define DT_ALPHA_NUM 1
1784 #define EF_PPC_EMB 0x80000000
1787 #define EF_PPC_RELOCATABLE 0x00010000
1788 #define EF_PPC_RELOCATABLE_LIB 0x00008000
1792 #define R_PPC_NONE 0
1793 #define R_PPC_ADDR32 1
1794 #define R_PPC_ADDR24 2
1795 #define R_PPC_ADDR16 3
1796 #define R_PPC_ADDR16_LO 4
1797 #define R_PPC_ADDR16_HI 5
1798 #define R_PPC_ADDR16_HA 6
1799 #define R_PPC_ADDR14 7
1800 #define R_PPC_ADDR14_BRTAKEN 8
1801 #define R_PPC_ADDR14_BRNTAKEN 9
1802 #define R_PPC_REL24 10
1803 #define R_PPC_REL14 11
1804 #define R_PPC_REL14_BRTAKEN 12
1805 #define R_PPC_REL14_BRNTAKEN 13
1806 #define R_PPC_GOT16 14
1807 #define R_PPC_GOT16_LO 15
1808 #define R_PPC_GOT16_HI 16
1809 #define R_PPC_GOT16_HA 17
1810 #define R_PPC_PLTREL24 18
1811 #define R_PPC_COPY 19
1812 #define R_PPC_GLOB_DAT 20
1813 #define R_PPC_JMP_SLOT 21
1814 #define R_PPC_RELATIVE 22
1815 #define R_PPC_LOCAL24PC 23
1816 #define R_PPC_UADDR32 24
1817 #define R_PPC_UADDR16 25
1818 #define R_PPC_REL32 26
1819 #define R_PPC_PLT32 27
1820 #define R_PPC_PLTREL32 28
1821 #define R_PPC_PLT16_LO 29
1822 #define R_PPC_PLT16_HI 30
1823 #define R_PPC_PLT16_HA 31
1824 #define R_PPC_SDAREL16 32
1825 #define R_PPC_SECTOFF 33
1826 #define R_PPC_SECTOFF_LO 34
1827 #define R_PPC_SECTOFF_HI 35
1828 #define R_PPC_SECTOFF_HA 36
1831 #define R_PPC_TLS 67
1832 #define R_PPC_DTPMOD32 68
1833 #define R_PPC_TPREL16 69
1834 #define R_PPC_TPREL16_LO 70
1835 #define R_PPC_TPREL16_HI 71
1836 #define R_PPC_TPREL16_HA 72
1837 #define R_PPC_TPREL32 73
1838 #define R_PPC_DTPREL16 74
1839 #define R_PPC_DTPREL16_LO 75
1840 #define R_PPC_DTPREL16_HI 76
1841 #define R_PPC_DTPREL16_HA 77
1842 #define R_PPC_DTPREL32 78
1843 #define R_PPC_GOT_TLSGD16 79
1844 #define R_PPC_GOT_TLSGD16_LO 80
1845 #define R_PPC_GOT_TLSGD16_HI 81
1846 #define R_PPC_GOT_TLSGD16_HA 82
1847 #define R_PPC_GOT_TLSLD16 83
1848 #define R_PPC_GOT_TLSLD16_LO 84
1849 #define R_PPC_GOT_TLSLD16_HI 85
1850 #define R_PPC_GOT_TLSLD16_HA 86
1851 #define R_PPC_GOT_TPREL16 87
1852 #define R_PPC_GOT_TPREL16_LO 88
1853 #define R_PPC_GOT_TPREL16_HI 89
1854 #define R_PPC_GOT_TPREL16_HA 90
1855 #define R_PPC_GOT_DTPREL16 91
1856 #define R_PPC_GOT_DTPREL16_LO 92
1857 #define R_PPC_GOT_DTPREL16_HI 93
1858 #define R_PPC_GOT_DTPREL16_HA 94
1862 #define R_PPC_EMB_NADDR32 101
1863 #define R_PPC_EMB_NADDR16 102
1864 #define R_PPC_EMB_NADDR16_LO 103
1865 #define R_PPC_EMB_NADDR16_HI 104
1866 #define R_PPC_EMB_NADDR16_HA 105
1867 #define R_PPC_EMB_SDAI16 106
1868 #define R_PPC_EMB_SDA2I16 107
1869 #define R_PPC_EMB_SDA2REL 108
1870 #define R_PPC_EMB_SDA21 109
1871 #define R_PPC_EMB_MRKREF 110
1872 #define R_PPC_EMB_RELSEC16 111
1873 #define R_PPC_EMB_RELST_LO 112
1874 #define R_PPC_EMB_RELST_HI 113
1875 #define R_PPC_EMB_RELST_HA 114
1876 #define R_PPC_EMB_BIT_FLD 115
1877 #define R_PPC_EMB_RELSDA 116
1880 #define R_PPC_DIAB_SDA21_LO 180
1881 #define R_PPC_DIAB_SDA21_HI 181
1882 #define R_PPC_DIAB_SDA21_HA 182
1883 #define R_PPC_DIAB_RELSDA_LO 183
1884 #define R_PPC_DIAB_RELSDA_HI 184
1885 #define R_PPC_DIAB_RELSDA_HA 185
1888 #define R_PPC_IRELATIVE 248
1891 #define R_PPC_REL16 249
1892 #define R_PPC_REL16_LO 250
1893 #define R_PPC_REL16_HI 251
1894 #define R_PPC_REL16_HA 252
1898 #define R_PPC_TOC16 255
1901 #define DT_PPC_GOT (DT_LOPROC + 0)
1902 #define DT_PPC_NUM 1
1905 #define R_PPC64_NONE R_PPC_NONE
1906 #define R_PPC64_ADDR32 R_PPC_ADDR32
1907 #define R_PPC64_ADDR24 R_PPC_ADDR24
1908 #define R_PPC64_ADDR16 R_PPC_ADDR16
1909 #define R_PPC64_ADDR16_LO R_PPC_ADDR16_LO
1910 #define R_PPC64_ADDR16_HI R_PPC_ADDR16_HI
1911 #define R_PPC64_ADDR16_HA R_PPC_ADDR16_HA
1912 #define R_PPC64_ADDR14 R_PPC_ADDR14
1913 #define R_PPC64_ADDR14_BRTAKEN R_PPC_ADDR14_BRTAKEN
1914 #define R_PPC64_ADDR14_BRNTAKEN R_PPC_ADDR14_BRNTAKEN
1915 #define R_PPC64_REL24 R_PPC_REL24
1916 #define R_PPC64_REL14 R_PPC_REL14
1917 #define R_PPC64_REL14_BRTAKEN R_PPC_REL14_BRTAKEN
1918 #define R_PPC64_REL14_BRNTAKEN R_PPC_REL14_BRNTAKEN
1919 #define R_PPC64_GOT16 R_PPC_GOT16
1920 #define R_PPC64_GOT16_LO R_PPC_GOT16_LO
1921 #define R_PPC64_GOT16_HI R_PPC_GOT16_HI
1922 #define R_PPC64_GOT16_HA R_PPC_GOT16_HA
1924 #define R_PPC64_COPY R_PPC_COPY
1925 #define R_PPC64_GLOB_DAT R_PPC_GLOB_DAT
1926 #define R_PPC64_JMP_SLOT R_PPC_JMP_SLOT
1927 #define R_PPC64_RELATIVE R_PPC_RELATIVE
1929 #define R_PPC64_UADDR32 R_PPC_UADDR32
1930 #define R_PPC64_UADDR16 R_PPC_UADDR16
1931 #define R_PPC64_REL32 R_PPC_REL32
1932 #define R_PPC64_PLT32 R_PPC_PLT32
1933 #define R_PPC64_PLTREL32 R_PPC_PLTREL32
1934 #define R_PPC64_PLT16_LO R_PPC_PLT16_LO
1935 #define R_PPC64_PLT16_HI R_PPC_PLT16_HI
1936 #define R_PPC64_PLT16_HA R_PPC_PLT16_HA
1938 #define R_PPC64_SECTOFF R_PPC_SECTOFF
1939 #define R_PPC64_SECTOFF_LO R_PPC_SECTOFF_LO
1940 #define R_PPC64_SECTOFF_HI R_PPC_SECTOFF_HI
1941 #define R_PPC64_SECTOFF_HA R_PPC_SECTOFF_HA
1942 #define R_PPC64_ADDR30 37
1943 #define R_PPC64_ADDR64 38
1944 #define R_PPC64_ADDR16_HIGHER 39
1945 #define R_PPC64_ADDR16_HIGHERA 40
1946 #define R_PPC64_ADDR16_HIGHEST 41
1947 #define R_PPC64_ADDR16_HIGHESTA 42
1948 #define R_PPC64_UADDR64 43
1949 #define R_PPC64_REL64 44
1950 #define R_PPC64_PLT64 45
1951 #define R_PPC64_PLTREL64 46
1952 #define R_PPC64_TOC16 47
1953 #define R_PPC64_TOC16_LO 48
1954 #define R_PPC64_TOC16_HI 49
1955 #define R_PPC64_TOC16_HA 50
1956 #define R_PPC64_TOC 51
1957 #define R_PPC64_PLTGOT16 52
1958 #define R_PPC64_PLTGOT16_LO 53
1959 #define R_PPC64_PLTGOT16_HI 54
1960 #define R_PPC64_PLTGOT16_HA 55
1962 #define R_PPC64_ADDR16_DS 56
1963 #define R_PPC64_ADDR16_LO_DS 57
1964 #define R_PPC64_GOT16_DS 58
1965 #define R_PPC64_GOT16_LO_DS 59
1966 #define R_PPC64_PLT16_LO_DS 60
1967 #define R_PPC64_SECTOFF_DS 61
1968 #define R_PPC64_SECTOFF_LO_DS 62
1969 #define R_PPC64_TOC16_DS 63
1970 #define R_PPC64_TOC16_LO_DS 64
1971 #define R_PPC64_PLTGOT16_DS 65
1972 #define R_PPC64_PLTGOT16_LO_DS 66
1975 #define R_PPC64_TLS 67
1976 #define R_PPC64_DTPMOD64 68
1977 #define R_PPC64_TPREL16 69
1978 #define R_PPC64_TPREL16_LO 70
1979 #define R_PPC64_TPREL16_HI 71
1980 #define R_PPC64_TPREL16_HA 72
1981 #define R_PPC64_TPREL64 73
1982 #define R_PPC64_DTPREL16 74
1983 #define R_PPC64_DTPREL16_LO 75
1984 #define R_PPC64_DTPREL16_HI 76
1985 #define R_PPC64_DTPREL16_HA 77
1986 #define R_PPC64_DTPREL64 78
1987 #define R_PPC64_GOT_TLSGD16 79
1988 #define R_PPC64_GOT_TLSGD16_LO 80
1989 #define R_PPC64_GOT_TLSGD16_HI 81
1990 #define R_PPC64_GOT_TLSGD16_HA 82
1991 #define R_PPC64_GOT_TLSLD16 83
1992 #define R_PPC64_GOT_TLSLD16_LO 84
1993 #define R_PPC64_GOT_TLSLD16_HI 85
1994 #define R_PPC64_GOT_TLSLD16_HA 86
1995 #define R_PPC64_GOT_TPREL16_DS 87
1996 #define R_PPC64_GOT_TPREL16_LO_DS 88
1997 #define R_PPC64_GOT_TPREL16_HI 89
1998 #define R_PPC64_GOT_TPREL16_HA 90
1999 #define R_PPC64_GOT_DTPREL16_DS 91
2000 #define R_PPC64_GOT_DTPREL16_LO_DS 92
2001 #define R_PPC64_GOT_DTPREL16_HI 93
2002 #define R_PPC64_GOT_DTPREL16_HA 94
2003 #define R_PPC64_TPREL16_DS 95
2004 #define R_PPC64_TPREL16_LO_DS 96
2005 #define R_PPC64_TPREL16_HIGHER 97
2006 #define R_PPC64_TPREL16_HIGHERA 98
2007 #define R_PPC64_TPREL16_HIGHEST 99
2008 #define R_PPC64_TPREL16_HIGHESTA 100
2009 #define R_PPC64_DTPREL16_DS 101
2010 #define R_PPC64_DTPREL16_LO_DS 102
2011 #define R_PPC64_DTPREL16_HIGHER 103
2012 #define R_PPC64_DTPREL16_HIGHERA 104
2013 #define R_PPC64_DTPREL16_HIGHEST 105
2014 #define R_PPC64_DTPREL16_HIGHESTA 106
2017 #define R_PPC64_JMP_IREL 247
2018 #define R_PPC64_IRELATIVE 248
2019 #define R_PPC64_REL16 249
2020 #define R_PPC64_REL16_LO 250
2021 #define R_PPC64_REL16_HI 251
2022 #define R_PPC64_REL16_HA 252
2025 #define DT_PPC64_GLINK (DT_LOPROC + 0)
2026 #define DT_PPC64_OPD (DT_LOPROC + 1)
2027 #define DT_PPC64_OPDSZ (DT_LOPROC + 2)
2028 #define DT_PPC64_NUM 3
2034 #define EF_ARM_RELEXEC 0x01
2035 #define EF_ARM_HASENTRY 0x02
2036 #define EF_ARM_INTERWORK 0x04
2037 #define EF_ARM_APCS_26 0x08
2038 #define EF_ARM_APCS_FLOAT 0x10
2039 #define EF_ARM_PIC 0x20
2040 #define EF_ARM_ALIGN8 0x40
2041 #define EF_ARM_NEW_ABI 0x80
2042 #define EF_ARM_OLD_ABI 0x100
2043 #define EF_ARM_SOFT_FLOAT 0x200
2044 #define EF_ARM_VFP_FLOAT 0x400
2045 #define EF_ARM_MAVERICK_FLOAT 0x800
2047 #define EF_ARM_ABI_FLOAT_SOFT 0x200
2048 #define EF_ARM_ABI_FLOAT_HARD 0x400
2051 #define EF_ARM_SYMSARESORTED 0x04
2052 #define EF_ARM_DYNSYMSUSESEGIDX 0x08
2053 #define EF_ARM_MAPSYMSFIRST 0x10
2054 #define EF_ARM_EABIMASK 0XFF000000
2057 #define EF_ARM_BE8 0x00800000
2058 #define EF_ARM_LE8 0x00400000
2060 #define EF_ARM_EABI_VERSION(flags) ((flags) & EF_ARM_EABIMASK)
2061 #define EF_ARM_EABI_UNKNOWN 0x00000000
2062 #define EF_ARM_EABI_VER1 0x01000000
2063 #define EF_ARM_EABI_VER2 0x02000000
2064 #define EF_ARM_EABI_VER3 0x03000000
2065 #define EF_ARM_EABI_VER4 0x04000000
2066 #define EF_ARM_EABI_VER5 0x05000000
2069 #define STT_ARM_TFUNC STT_LOPROC
2070 #define STT_ARM_16BIT STT_HIPROC
2073 #define SHF_ARM_ENTRYSECT 0x10000000
2074 #define SHF_ARM_COMDEF 0x80000000
2078 #define PF_ARM_SB 0x10000000
2080 #define PF_ARM_PI 0x20000000
2081 #define PF_ARM_ABS 0x40000000
2084 #define PT_ARM_EXIDX (PT_LOPROC + 1)
2087 #define SHT_ARM_EXIDX (SHT_LOPROC + 1)
2088 #define SHT_ARM_PREEMPTMAP (SHT_LOPROC + 2)
2089 #define SHT_ARM_ATTRIBUTES (SHT_LOPROC + 3)
2092 #define R_AARCH64_NONE 0
2093 #define R_AARCH64_ABS64 257
2094 #define R_AARCH64_ABS32 258
2095 #define R_AARCH64_COPY 1024
2096 #define R_AARCH64_GLOB_DAT 1025
2097 #define R_AARCH64_JUMP_SLOT 1026
2098 #define R_AARCH64_RELATIVE 1027
2099 #define R_AARCH64_TLS_DTPMOD64 1028
2100 #define R_AARCH64_TLS_DTPREL64 1029
2101 #define R_AARCH64_TLS_TPREL64 1030
2102 #define R_AARCH64_TLSDESC 1031
2105 #define R_ARM_NONE 0
2106 #define R_ARM_PC24 1
2107 #define R_ARM_ABS32 2
2108 #define R_ARM_REL32 3
2109 #define R_ARM_PC13 4
2110 #define R_ARM_ABS16 5
2111 #define R_ARM_ABS12 6
2112 #define R_ARM_THM_ABS5 7
2113 #define R_ARM_ABS8 8
2114 #define R_ARM_SBREL32 9
2115 #define R_ARM_THM_PC22 10
2116 #define R_ARM_THM_PC8 11
2117 #define R_ARM_AMP_VCALL9 12
2118 #define R_ARM_TLS_DESC 13
2119 #define R_ARM_THM_SWI8 14
2120 #define R_ARM_XPC25 15
2121 #define R_ARM_THM_XPC22 16
2122 #define R_ARM_TLS_DTPMOD32 17
2123 #define R_ARM_TLS_DTPOFF32 18
2124 #define R_ARM_TLS_TPOFF32 19
2125 #define R_ARM_COPY 20
2126 #define R_ARM_GLOB_DAT 21
2127 #define R_ARM_JUMP_SLOT 22
2128 #define R_ARM_RELATIVE 23
2129 #define R_ARM_GOTOFF 24
2130 #define R_ARM_GOTPC 25
2131 #define R_ARM_GOT32 26
2132 #define R_ARM_PLT32 27
2133 #define R_ARM_CALL 28
2134 #define R_ARM_JUMP24 29
2135 #define R_ARM_THM_JUMP24 30
2136 #define R_ARM_BASE_ABS 31
2137 #define R_ARM_ALU_PCREL_7_0 32
2138 #define R_ARM_ALU_PCREL_15_8 33
2139 #define R_ARM_ALU_PCREL_23_15 34
2140 #define R_ARM_LDR_SBREL_11_0 35
2141 #define R_ARM_ALU_SBREL_19_12 36
2142 #define R_ARM_ALU_SBREL_27_20 37
2143 #define R_ARM_TARGET1 38
2144 #define R_ARM_SBREL31 39
2145 #define R_ARM_V4BX 40
2146 #define R_ARM_TARGET2 41
2147 #define R_ARM_PREL31 42
2148 #define R_ARM_MOVW_ABS_NC 43
2149 #define R_ARM_MOVT_ABS 44
2150 #define R_ARM_MOVW_PREL_NC 45
2151 #define R_ARM_MOVT_PREL 46
2152 #define R_ARM_THM_MOVW_ABS_NC 47
2153 #define R_ARM_THM_MOVT_ABS 48
2154 #define R_ARM_THM_MOVW_PREL_NC 49
2155 #define R_ARM_THM_MOVT_PREL 50
2156 #define R_ARM_THM_JUMP19 51
2157 #define R_ARM_THM_JUMP6 52
2158 #define R_ARM_THM_ALU_PREL_11_0 53
2159 #define R_ARM_THM_PC12 54
2160 #define R_ARM_ABS32_NOI 55
2161 #define R_ARM_REL32_NOI 56
2162 #define R_ARM_ALU_PC_G0_NC 57
2163 #define R_ARM_ALU_PC_G0 58
2164 #define R_ARM_ALU_PC_G1_NC 59
2165 #define R_ARM_ALU_PC_G1 60
2166 #define R_ARM_ALU_PC_G2 61
2167 #define R_ARM_LDR_PC_G1 62
2168 #define R_ARM_LDR_PC_G2 63
2169 #define R_ARM_LDRS_PC_G0 64
2170 #define R_ARM_LDRS_PC_G1 65
2171 #define R_ARM_LDRS_PC_G2 66
2172 #define R_ARM_LDC_PC_G0 67
2173 #define R_ARM_LDC_PC_G1 68
2174 #define R_ARM_LDC_PC_G2 69
2175 #define R_ARM_ALU_SB_G0_NC 70
2176 #define R_ARM_ALU_SB_G0 71
2177 #define R_ARM_ALU_SB_G1_NC 72
2178 #define R_ARM_ALU_SB_G1 73
2179 #define R_ARM_ALU_SB_G2 74
2180 #define R_ARM_LDR_SB_G0 75
2181 #define R_ARM_LDR_SB_G1 76
2182 #define R_ARM_LDR_SB_G2 77
2183 #define R_ARM_LDRS_SB_G0 78
2184 #define R_ARM_LDRS_SB_G1 79
2185 #define R_ARM_LDRS_SB_G2 80
2186 #define R_ARM_LDC_SB_G0 81
2187 #define R_ARM_LDC_SB_G1 82
2188 #define R_ARM_LDC_SB_G2 83
2189 #define R_ARM_MOVW_BREL_NC 84
2190 #define R_ARM_MOVT_BREL 85
2191 #define R_ARM_MOVW_BREL 86
2192 #define R_ARM_THM_MOVW_BREL_NC 87
2193 #define R_ARM_THM_MOVT_BREL 88
2194 #define R_ARM_THM_MOVW_BREL 89
2195 #define R_ARM_TLS_GOTDESC 90
2196 #define R_ARM_TLS_CALL 91
2197 #define R_ARM_TLS_DESCSEQ 92
2198 #define R_ARM_THM_TLS_CALL 93
2199 #define R_ARM_PLT32_ABS 94
2200 #define R_ARM_GOT_ABS 95
2201 #define R_ARM_GOT_PREL 96
2202 #define R_ARM_GOT_BREL12 97
2203 #define R_ARM_GOTOFF12 98
2204 #define R_ARM_GOTRELAX 99
2205 #define R_ARM_GNU_VTENTRY 100
2206 #define R_ARM_GNU_VTINHERIT 101
2207 #define R_ARM_THM_PC11 102
2208 #define R_ARM_THM_PC9 103
2209 #define R_ARM_TLS_GD32 104
2211 #define R_ARM_TLS_LDM32 105
2213 #define R_ARM_TLS_LDO32 106
2215 #define R_ARM_TLS_IE32 107
2217 #define R_ARM_TLS_LE32 108
2218 #define R_ARM_TLS_LDO12 109
2219 #define R_ARM_TLS_LE12 110
2220 #define R_ARM_TLS_IE12GP 111
2221 #define R_ARM_ME_TOO 128
2222 #define R_ARM_THM_TLS_DESCSEQ 129
2223 #define R_ARM_THM_TLS_DESCSEQ16 129
2224 #define R_ARM_THM_TLS_DESCSEQ32 130
2225 #define R_ARM_THM_GOT_BREL12 131
2226 #define R_ARM_IRELATIVE 160
2227 #define R_ARM_RXPC25 249
2228 #define R_ARM_RSBREL32 250
2229 #define R_ARM_THM_RPC22 251
2230 #define R_ARM_RREL32 252
2231 #define R_ARM_RABS22 253
2232 #define R_ARM_RPC24 254
2233 #define R_ARM_RBASE 255
2235 #define R_ARM_NUM 256
2240 #define EF_IA_64_MASKOS 0x0000000f
2241 #define EF_IA_64_ABI64 0x00000010
2242 #define EF_IA_64_ARCH 0xff000000
2245 #define PT_IA_64_ARCHEXT (PT_LOPROC + 0)
2246 #define PT_IA_64_UNWIND (PT_LOPROC + 1)
2247 #define PT_IA_64_HP_OPT_ANOT (PT_LOOS + 0x12)
2248 #define PT_IA_64_HP_HSL_ANOT (PT_LOOS + 0x13)
2249 #define PT_IA_64_HP_STACK (PT_LOOS + 0x14)
2252 #define PF_IA_64_NORECOV 0x80000000
2255 #define SHT_IA_64_EXT (SHT_LOPROC + 0)
2256 #define SHT_IA_64_UNWIND (SHT_LOPROC + 1)
2259 #define SHF_IA_64_SHORT 0x10000000
2260 #define SHF_IA_64_NORECOV 0x20000000
2263 #define DT_IA_64_PLT_RESERVE (DT_LOPROC + 0)
2264 #define DT_IA_64_NUM 1
2267 #define R_IA64_NONE 0x00
2268 #define R_IA64_IMM14 0x21
2269 #define R_IA64_IMM22 0x22
2270 #define R_IA64_IMM64 0x23
2271 #define R_IA64_DIR32MSB 0x24
2272 #define R_IA64_DIR32LSB 0x25
2273 #define R_IA64_DIR64MSB 0x26
2274 #define R_IA64_DIR64LSB 0x27
2275 #define R_IA64_GPREL22 0x2a
2276 #define R_IA64_GPREL64I 0x2b
2277 #define R_IA64_GPREL32MSB 0x2c
2278 #define R_IA64_GPREL32LSB 0x2d
2279 #define R_IA64_GPREL64MSB 0x2e
2280 #define R_IA64_GPREL64LSB 0x2f
2281 #define R_IA64_LTOFF22 0x32
2282 #define R_IA64_LTOFF64I 0x33
2283 #define R_IA64_PLTOFF22 0x3a
2284 #define R_IA64_PLTOFF64I 0x3b
2285 #define R_IA64_PLTOFF64MSB 0x3e
2286 #define R_IA64_PLTOFF64LSB 0x3f
2287 #define R_IA64_FPTR64I 0x43
2288 #define R_IA64_FPTR32MSB 0x44
2289 #define R_IA64_FPTR32LSB 0x45
2290 #define R_IA64_FPTR64MSB 0x46
2291 #define R_IA64_FPTR64LSB 0x47
2292 #define R_IA64_PCREL60B 0x48
2293 #define R_IA64_PCREL21B 0x49
2294 #define R_IA64_PCREL21M 0x4a
2295 #define R_IA64_PCREL21F 0x4b
2296 #define R_IA64_PCREL32MSB 0x4c
2297 #define R_IA64_PCREL32LSB 0x4d
2298 #define R_IA64_PCREL64MSB 0x4e
2299 #define R_IA64_PCREL64LSB 0x4f
2300 #define R_IA64_LTOFF_FPTR22 0x52
2301 #define R_IA64_LTOFF_FPTR64I 0x53
2302 #define R_IA64_LTOFF_FPTR32MSB 0x54
2303 #define R_IA64_LTOFF_FPTR32LSB 0x55
2304 #define R_IA64_LTOFF_FPTR64MSB 0x56
2305 #define R_IA64_LTOFF_FPTR64LSB 0x57
2306 #define R_IA64_SEGREL32MSB 0x5c
2307 #define R_IA64_SEGREL32LSB 0x5d
2308 #define R_IA64_SEGREL64MSB 0x5e
2309 #define R_IA64_SEGREL64LSB 0x5f
2310 #define R_IA64_SECREL32MSB 0x64
2311 #define R_IA64_SECREL32LSB 0x65
2312 #define R_IA64_SECREL64MSB 0x66
2313 #define R_IA64_SECREL64LSB 0x67
2314 #define R_IA64_REL32MSB 0x6c
2315 #define R_IA64_REL32LSB 0x6d
2316 #define R_IA64_REL64MSB 0x6e
2317 #define R_IA64_REL64LSB 0x6f
2318 #define R_IA64_LTV32MSB 0x74
2319 #define R_IA64_LTV32LSB 0x75
2320 #define R_IA64_LTV64MSB 0x76
2321 #define R_IA64_LTV64LSB 0x77
2322 #define R_IA64_PCREL21BI 0x79
2323 #define R_IA64_PCREL22 0x7a
2324 #define R_IA64_PCREL64I 0x7b
2325 #define R_IA64_IPLTMSB 0x80
2326 #define R_IA64_IPLTLSB 0x81
2327 #define R_IA64_COPY 0x84
2328 #define R_IA64_SUB 0x85
2329 #define R_IA64_LTOFF22X 0x86
2330 #define R_IA64_LDXMOV 0x87
2331 #define R_IA64_TPREL14 0x91
2332 #define R_IA64_TPREL22 0x92
2333 #define R_IA64_TPREL64I 0x93
2334 #define R_IA64_TPREL64MSB 0x96
2335 #define R_IA64_TPREL64LSB 0x97
2336 #define R_IA64_LTOFF_TPREL22 0x9a
2337 #define R_IA64_DTPMOD64MSB 0xa6
2338 #define R_IA64_DTPMOD64LSB 0xa7
2339 #define R_IA64_LTOFF_DTPMOD22 0xaa
2340 #define R_IA64_DTPREL14 0xb1
2341 #define R_IA64_DTPREL22 0xb2
2342 #define R_IA64_DTPREL64I 0xb3
2343 #define R_IA64_DTPREL32MSB 0xb4
2344 #define R_IA64_DTPREL32LSB 0xb5
2345 #define R_IA64_DTPREL64MSB 0xb6
2346 #define R_IA64_DTPREL64LSB 0xb7
2347 #define R_IA64_LTOFF_DTPREL22 0xba
2353 #define R_SH_DIR32 1
2354 #define R_SH_REL32 2
2355 #define R_SH_DIR8WPN 3
2356 #define R_SH_IND12W 4
2357 #define R_SH_DIR8WPL 5
2358 #define R_SH_DIR8WPZ 6
2359 #define R_SH_DIR8BP 7
2360 #define R_SH_DIR8W 8
2361 #define R_SH_DIR8L 9
2362 #define R_SH_SWITCH16 25
2363 #define R_SH_SWITCH32 26
2364 #define R_SH_USES 27
2365 #define R_SH_COUNT 28
2366 #define R_SH_ALIGN 29
2367 #define R_SH_CODE 30
2368 #define R_SH_DATA 31
2369 #define R_SH_LABEL 32
2370 #define R_SH_SWITCH8 33
2371 #define R_SH_GNU_VTINHERIT 34
2372 #define R_SH_GNU_VTENTRY 35
2373 #define R_SH_TLS_GD_32 144
2374 #define R_SH_TLS_LD_32 145
2375 #define R_SH_TLS_LDO_32 146
2376 #define R_SH_TLS_IE_32 147
2377 #define R_SH_TLS_LE_32 148
2378 #define R_SH_TLS_DTPMOD32 149
2379 #define R_SH_TLS_DTPOFF32 150
2380 #define R_SH_TLS_TPOFF32 151
2381 #define R_SH_GOT32 160
2382 #define R_SH_PLT32 161
2383 #define R_SH_COPY 162
2384 #define R_SH_GLOB_DAT 163
2385 #define R_SH_JMP_SLOT 164
2386 #define R_SH_RELATIVE 165
2387 #define R_SH_GOTOFF 166
2388 #define R_SH_GOTPC 167
2390 #define R_SH_NUM 256
2394 #define R_390_NONE 0
2399 #define R_390_PC32 5
2400 #define R_390_GOT12 6
2401 #define R_390_GOT32 7
2402 #define R_390_PLT32 8
2403 #define R_390_COPY 9
2404 #define R_390_GLOB_DAT 10
2405 #define R_390_JMP_SLOT 11
2406 #define R_390_RELATIVE 12
2407 #define R_390_GOTOFF32 13
2408 #define R_390_GOTPC 14
2409 #define R_390_GOT16 15
2410 #define R_390_PC16 16
2411 #define R_390_PC16DBL 17
2412 #define R_390_PLT16DBL 18
2413 #define R_390_PC32DBL 19
2414 #define R_390_PLT32DBL 20
2415 #define R_390_GOTPCDBL 21
2417 #define R_390_PC64 23
2418 #define R_390_GOT64 24
2419 #define R_390_PLT64 25
2420 #define R_390_GOTENT 26
2421 #define R_390_GOTOFF16 27
2422 #define R_390_GOTOFF64 28
2423 #define R_390_GOTPLT12 29
2424 #define R_390_GOTPLT16 30
2425 #define R_390_GOTPLT32 31
2426 #define R_390_GOTPLT64 32
2427 #define R_390_GOTPLTENT 33
2428 #define R_390_PLTOFF16 34
2429 #define R_390_PLTOFF32 35
2430 #define R_390_PLTOFF64 36
2431 #define R_390_TLS_LOAD 37
2432 #define R_390_TLS_GDCALL 38
2434 #define R_390_TLS_LDCALL 39
2436 #define R_390_TLS_GD32 40
2438 #define R_390_TLS_GD64 41
2440 #define R_390_TLS_GOTIE12 42
2442 #define R_390_TLS_GOTIE32 43
2444 #define R_390_TLS_GOTIE64 44
2446 #define R_390_TLS_LDM32 45
2448 #define R_390_TLS_LDM64 46
2450 #define R_390_TLS_IE32 47
2452 #define R_390_TLS_IE64 48
2454 #define R_390_TLS_IEENT 49
2456 #define R_390_TLS_LE32 50
2458 #define R_390_TLS_LE64 51
2460 #define R_390_TLS_LDO32 52
2462 #define R_390_TLS_LDO64 53
2464 #define R_390_TLS_DTPMOD 54
2465 #define R_390_TLS_DTPOFF 55
2466 #define R_390_TLS_TPOFF 56
2469 #define R_390_GOT20 58
2470 #define R_390_GOTPLT20 59
2471 #define R_390_TLS_GOTIE20 60
2474 #define R_390_NUM 61
2478 #define R_CRIS_NONE 0
2482 #define R_CRIS_8_PCREL 4
2483 #define R_CRIS_16_PCREL 5
2484 #define R_CRIS_32_PCREL 6
2485 #define R_CRIS_GNU_VTINHERIT 7
2486 #define R_CRIS_GNU_VTENTRY 8
2487 #define R_CRIS_COPY 9
2488 #define R_CRIS_GLOB_DAT 10
2489 #define R_CRIS_JUMP_SLOT 11
2490 #define R_CRIS_RELATIVE 12
2491 #define R_CRIS_16_GOT 13
2492 #define R_CRIS_32_GOT 14
2493 #define R_CRIS_16_GOTPLT 15
2494 #define R_CRIS_32_GOTPLT 16
2495 #define R_CRIS_32_GOTREL 17
2496 #define R_CRIS_32_PLT_GOTREL 18
2497 #define R_CRIS_32_PLT_PCREL 19
2499 #define R_CRIS_NUM 20
2503 #define R_X86_64_NONE 0
2504 #define R_X86_64_64 1
2505 #define R_X86_64_PC32 2
2506 #define R_X86_64_GOT32 3
2507 #define R_X86_64_PLT32 4
2508 #define R_X86_64_COPY 5
2509 #define R_X86_64_GLOB_DAT 6
2510 #define R_X86_64_JUMP_SLOT 7
2511 #define R_X86_64_RELATIVE 8
2512 #define R_X86_64_GOTPCREL 9
2514 #define R_X86_64_32 10
2515 #define R_X86_64_32S 11
2516 #define R_X86_64_16 12
2517 #define R_X86_64_PC16 13
2518 #define R_X86_64_8 14
2519 #define R_X86_64_PC8 15
2520 #define R_X86_64_DTPMOD64 16
2521 #define R_X86_64_DTPOFF64 17
2522 #define R_X86_64_TPOFF64 18
2523 #define R_X86_64_TLSGD 19
2525 #define R_X86_64_TLSLD 20
2527 #define R_X86_64_DTPOFF32 21
2528 #define R_X86_64_GOTTPOFF 22
2530 #define R_X86_64_TPOFF32 23
2531 #define R_X86_64_PC64 24
2532 #define R_X86_64_GOTOFF64 25
2533 #define R_X86_64_GOTPC32 26
2534 #define R_X86_64_GOT64 27
2535 #define R_X86_64_GOTPCREL64 28
2536 #define R_X86_64_GOTPC64 29
2537 #define R_X86_64_GOTPLT64 30
2538 #define R_X86_64_PLTOFF64 31
2539 #define R_X86_64_SIZE32 32
2540 #define R_X86_64_SIZE64 33
2542 #define R_X86_64_GOTPC32_TLSDESC 34
2543 #define R_X86_64_TLSDESC_CALL 35
2545 #define R_X86_64_TLSDESC 36
2546 #define R_X86_64_IRELATIVE 37
2547 #define R_X86_64_RELATIVE64 38
2548 #define R_X86_64_NUM 39
2552 #define R_MN10300_NONE 0
2553 #define R_MN10300_32 1
2554 #define R_MN10300_16 2
2555 #define R_MN10300_8 3
2556 #define R_MN10300_PCREL32 4
2557 #define R_MN10300_PCREL16 5
2558 #define R_MN10300_PCREL8 6
2559 #define R_MN10300_GNU_VTINHERIT 7
2560 #define R_MN10300_GNU_VTENTRY 8
2561 #define R_MN10300_24 9
2562 #define R_MN10300_GOTPC32 10
2563 #define R_MN10300_GOTPC16 11
2564 #define R_MN10300_GOTOFF32 12
2565 #define R_MN10300_GOTOFF24 13
2566 #define R_MN10300_GOTOFF16 14
2567 #define R_MN10300_PLT32 15
2568 #define R_MN10300_PLT16 16
2569 #define R_MN10300_GOT32 17
2570 #define R_MN10300_GOT24 18
2571 #define R_MN10300_GOT16 19
2572 #define R_MN10300_COPY 20
2573 #define R_MN10300_GLOB_DAT 21
2574 #define R_MN10300_JMP_SLOT 22
2575 #define R_MN10300_RELATIVE 23
2577 #define R_MN10300_NUM 24
2581 #define R_M32R_NONE 0
2585 #define R_M32R_10_PCREL 4
2586 #define R_M32R_18_PCREL 5
2587 #define R_M32R_26_PCREL 6
2588 #define R_M32R_HI16_ULO 7
2589 #define R_M32R_HI16_SLO 8
2590 #define R_M32R_LO16 9
2591 #define R_M32R_SDA16 10
2592 #define R_M32R_GNU_VTINHERIT 11
2593 #define R_M32R_GNU_VTENTRY 12
2595 #define R_M32R_16_RELA 33
2596 #define R_M32R_32_RELA 34
2597 #define R_M32R_24_RELA 35
2598 #define R_M32R_10_PCREL_RELA 36
2599 #define R_M32R_18_PCREL_RELA 37
2600 #define R_M32R_26_PCREL_RELA 38
2601 #define R_M32R_HI16_ULO_RELA 39
2602 #define R_M32R_HI16_SLO_RELA 40
2603 #define R_M32R_LO16_RELA 41
2604 #define R_M32R_SDA16_RELA 42
2605 #define R_M32R_RELA_GNU_VTINHERIT 43
2606 #define R_M32R_RELA_GNU_VTENTRY 44
2607 #define R_M32R_REL32 45
2609 #define R_M32R_GOT24 48
2610 #define R_M32R_26_PLTREL 49
2611 #define R_M32R_COPY 50
2612 #define R_M32R_GLOB_DAT 51
2613 #define R_M32R_JMP_SLOT 52
2614 #define R_M32R_RELATIVE 53
2615 #define R_M32R_GOTOFF 54
2616 #define R_M32R_GOTPC24 55
2617 #define R_M32R_GOT16_HI_ULO 56
2619 #define R_M32R_GOT16_HI_SLO 57
2621 #define R_M32R_GOT16_LO 58
2622 #define R_M32R_GOTPC_HI_ULO 59
2624 #define R_M32R_GOTPC_HI_SLO 60
2626 #define R_M32R_GOTPC_LO 61
2628 #define R_M32R_GOTOFF_HI_ULO 62
2630 #define R_M32R_GOTOFF_HI_SLO 63
2632 #define R_M32R_GOTOFF_LO 64
2633 #define R_M32R_NUM 256
2635 #define R_MICROBLAZE_NONE 0
2636 #define R_MICROBLAZE_32 1
2637 #define R_MICROBLAZE_32_PCREL 2
2638 #define R_MICROBLAZE_64_PCREL 3
2639 #define R_MICROBLAZE_32_PCREL_LO 4
2640 #define R_MICROBLAZE_64 5
2641 #define R_MICROBLAZE_32_LO 6
2642 #define R_MICROBLAZE_SRO32 7
2643 #define R_MICROBLAZE_SRW32 8
2644 #define R_MICROBLAZE_64_NONE 9
2645 #define R_MICROBLAZE_32_SYM_OP_SYM 10
2646 #define R_MICROBLAZE_GNU_VTINHERIT 11
2647 #define R_MICROBLAZE_GNU_VTENTRY 12
2648 #define R_MICROBLAZE_GOTPC_64 13
2649 #define R_MICROBLAZE_GOT_64 14
2650 #define R_MICROBLAZE_PLT_64 15
2651 #define R_MICROBLAZE_REL 16
2652 #define R_MICROBLAZE_JUMP_SLOT 17
2653 #define R_MICROBLAZE_GLOB_DAT 18
2654 #define R_MICROBLAZE_GOTOFF_64 19
2655 #define R_MICROBLAZE_GOTOFF_32 20
2656 #define R_MICROBLAZE_COPY 21
2657 #define R_MICROBLAZE_TLS 22
2658 #define R_MICROBLAZE_TLSGD 23
2659 #define R_MICROBLAZE_TLSLD 24
2660 #define R_MICROBLAZE_TLSDTPMOD32 25
2661 #define R_MICROBLAZE_TLSDTPREL32 26
2662 #define R_MICROBLAZE_TLSDTPREL64 27
2663 #define R_MICROBLAZE_TLSGOTTPREL32 28
2664 #define R_MICROBLAZE_TLSTPREL32 29