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_SOLARIS 6
109
#define ELFOSABI_AIX 7
110
#define ELFOSABI_IRIX 8
111
#define ELFOSABI_FREEBSD 9
112
#define ELFOSABI_TRU64 10
113
#define ELFOSABI_MODESTO 11
114
#define ELFOSABI_OPENBSD 12
115
#define ELFOSABI_ARM 97
116
#define ELFOSABI_STANDALONE 255
118
#define EI_ABIVERSION 8
130
#define ET_LOOS 0xfe00
131
#define ET_HIOS 0xfeff
132
#define ET_LOPROC 0xff00
133
#define ET_HIPROC 0xffff
146
#define EM_MIPS_RS3_LE 10
150
#define EM_SPARC32PLUS 18
161
#define EM_FAKE_ALPHA 41
163
#define EM_SPARCV9 43
164
#define EM_TRICORE 44
167
#define EM_H8_300H 47
172
#define EM_COLDFIRE 52
178
#define EM_STARCORE 58
186
#define EM_ST9PLUS 67
196
#define EM_JAVELIN 77
197
#define EM_FIREPATH 78
208
#define EM_MN10300 89
209
#define EM_MN10200 90
211
#define EM_OPENRISC 92
215
#define EM_ALPHA 0x9026
230
Elf32_Word sh_addralign;
231
Elf32_Word sh_entsize;
237
Elf64_Xword sh_flags;
243
Elf64_Xword sh_addralign;
244
Elf64_Xword sh_entsize;
250
#define SHN_LORESERVE 0xff00
251
#define SHN_LOPROC 0xff00
252
#define SHN_BEFORE 0xff00
254
#define SHN_AFTER 0xff01
256
#define SHN_HIPROC 0xff1f
257
#define SHN_LOOS 0xff20
258
#define SHN_HIOS 0xff3f
259
#define SHN_ABS 0xfff1
260
#define SHN_COMMON 0xfff2
261
#define SHN_XINDEX 0xffff
262
#define SHN_HIRESERVE 0xffff
267
#define SHT_PROGBITS 1
272
#define SHT_DYNAMIC 6
277
#define SHT_DYNSYM 11
278
#define SHT_INIT_ARRAY 14
279
#define SHT_FINI_ARRAY 15
280
#define SHT_PREINIT_ARRAY 16
282
#define SHT_SYMTAB_SHNDX 18
284
#define SHT_LOOS 0x60000000
285
#define SHT_GNU_ATTRIBUTES 0x6ffffff5
286
#define SHT_GNU_HASH 0x6ffffff6
287
#define SHT_GNU_LIBLIST 0x6ffffff7
288
#define SHT_CHECKSUM 0x6ffffff8
289
#define SHT_LOSUNW 0x6ffffffa
290
#define SHT_SUNW_move 0x6ffffffa
291
#define SHT_SUNW_COMDAT 0x6ffffffb
292
#define SHT_SUNW_syminfo 0x6ffffffc
293
#define SHT_GNU_verdef 0x6ffffffd
294
#define SHT_GNU_verneed 0x6ffffffe
295
#define SHT_GNU_versym 0x6fffffff
296
#define SHT_HISUNW 0x6fffffff
297
#define SHT_HIOS 0x6fffffff
298
#define SHT_LOPROC 0x70000000
299
#define SHT_HIPROC 0x7fffffff
300
#define SHT_LOUSER 0x80000000
301
#define SHT_HIUSER 0x8fffffff
303
#define SHF_WRITE (1 << 0)
304
#define SHF_ALLOC (1 << 1)
305
#define SHF_EXECINSTR (1 << 2)
306
#define SHF_MERGE (1 << 4)
307
#define SHF_STRINGS (1 << 5)
308
#define SHF_INFO_LINK (1 << 6)
309
#define SHF_LINK_ORDER (1 << 7)
310
#define SHF_OS_NONCONFORMING (1 << 8)
312
#define SHF_GROUP (1 << 9)
313
#define SHF_TLS (1 << 10)
314
#define SHF_MASKOS 0x0ff00000
315
#define SHF_MASKPROC 0xf0000000
316
#define SHF_ORDERED (1 << 30)
317
#define SHF_EXCLUDE (1 << 31)
319
#define GRP_COMDAT 0x1
325
unsigned char st_info;
326
unsigned char st_other;
327
Elf32_Section st_shndx;
332
unsigned char st_info;
333
unsigned char st_other;
334
Elf64_Section st_shndx;
340
Elf32_Half si_boundto;
345
Elf64_Half si_boundto;
349
#define SYMINFO_BT_SELF 0xffff
350
#define SYMINFO_BT_PARENT 0xfffe
351
#define SYMINFO_BT_LOWRESERVE 0xff00
353
#define SYMINFO_FLG_DIRECT 0x0001
354
#define SYMINFO_FLG_PASSTHRU 0x0002
355
#define SYMINFO_FLG_COPY 0x0004
356
#define SYMINFO_FLG_LAZYLOAD 0x0008
358
#define SYMINFO_NONE 0
359
#define SYMINFO_CURRENT 1
360
#define SYMINFO_NUM 2
362
#define ELF32_ST_BIND(val) (((unsigned char) (val)) >> 4)
363
#define ELF32_ST_TYPE(val) ((val) & 0xf)
364
#define ELF32_ST_INFO(bind, type) (((bind) << 4) + ((type) & 0xf))
366
#define ELF64_ST_BIND(val) ELF32_ST_BIND (val)
367
#define ELF64_ST_TYPE(val) ELF32_ST_TYPE (val)
368
#define ELF64_ST_INFO(bind, type) ELF32_ST_INFO ((bind), (type))
375
#define STB_GNU_UNIQUE 10
377
#define STB_LOPROC 13
378
#define STB_HIPROC 15
383
#define STT_SECTION 3
389
#define STT_GNU_IFUNC 10
391
#define STT_LOPROC 13
392
#define STT_HIPROC 15
396
#define ELF32_ST_VISIBILITY(o) ((o) & 0x03)
397
#define ELF64_ST_VISIBILITY(o) ELF32_ST_VISIBILITY (o)
399
#define STV_DEFAULT 0
400
#define STV_INTERNAL 1
402
#define STV_PROTECTED 3
423
Elf32_Sword r_addend;
429
Elf64_Sxword r_addend;
434
#define ELF32_R_SYM(val) ((val) >> 8)
435
#define ELF32_R_TYPE(val) ((val) & 0xff)
436
#define ELF32_R_INFO(sym, type) (((sym) << 8) + ((type) & 0xff))
438
#define ELF64_R_SYM(i) ((i) >> 32)
439
#define ELF64_R_TYPE(i) ((i) & 0xffffffff)
440
#define ELF64_R_INFO(sym,type) ((((Elf64_Xword) (sym)) << 32) + (type))
461
Elf64_Xword p_filesz;
477
#define PT_LOOS 0x60000000
478
#define PT_GNU_EH_FRAME 0x6474e550
479
#define PT_GNU_STACK 0x6474e551
480
#define PT_GNU_RELRO 0x6474e552
481
#define PT_LOSUNW 0x6ffffffa
482
#define PT_SUNWBSS 0x6ffffffa
483
#define PT_SUNWSTACK 0x6ffffffb
484
#define PT_HISUNW 0x6fffffff
485
#define PT_HIOS 0x6fffffff
486
#define PT_LOPROC 0x70000000
487
#define PT_HIPROC 0x7fffffff
491
#define PF_X (1 << 0)
492
#define PF_W (1 << 1)
493
#define PF_R (1 << 2)
494
#define PF_MASKOS 0x0ff00000
495
#define PF_MASKPROC 0xf0000000
499
#define NT_PRSTATUS 1
500
#define NT_FPREGSET 2
501
#define NT_PRPSINFO 3
503
#define NT_TASKSTRUCT 4
504
#define NT_PLATFORM 5
506
#define NT_GWINDOWS 7
508
#define NT_PSTATUS 10
511
#define NT_UTSNAME 15
512
#define NT_LWPSTATUS 16
513
#define NT_LWPSINFO 17
514
#define NT_PRFPXREG 20
515
#define NT_PRXFPREG 0x46e62b7f
516
#define NT_PPC_VMX 0x100
517
#define NT_PPC_SPE 0x101
518
#define NT_PPC_VSX 0x102
519
#define NT_386_TLS 0x200
520
#define NT_386_IOPERM 0x201
546
#define DT_PLTRELSZ 2
560
#define DT_SYMBOLIC 16
566
#define DT_TEXTREL 22
568
#define DT_BIND_NOW 24
569
#define DT_INIT_ARRAY 25
570
#define DT_FINI_ARRAY 26
571
#define DT_INIT_ARRAYSZ 27
572
#define DT_FINI_ARRAYSZ 28
573
#define DT_RUNPATH 29
575
#define DT_ENCODING 32
576
#define DT_PREINIT_ARRAY 32
577
#define DT_PREINIT_ARRAYSZ 33
579
#define DT_LOOS 0x6000000d
580
#define DT_HIOS 0x6ffff000
581
#define DT_LOPROC 0x70000000
582
#define DT_HIPROC 0x7fffffff
583
#define DT_PROCNUM DT_MIPS_NUM
585
#define DT_VALRNGLO 0x6ffffd00
586
#define DT_GNU_PRELINKED 0x6ffffdf5
587
#define DT_GNU_CONFLICTSZ 0x6ffffdf6
588
#define DT_GNU_LIBLISTSZ 0x6ffffdf7
589
#define DT_CHECKSUM 0x6ffffdf8
590
#define DT_PLTPADSZ 0x6ffffdf9
591
#define DT_MOVEENT 0x6ffffdfa
592
#define DT_MOVESZ 0x6ffffdfb
593
#define DT_FEATURE_1 0x6ffffdfc
594
#define DT_POSFLAG_1 0x6ffffdfd
596
#define DT_SYMINSZ 0x6ffffdfe
597
#define DT_SYMINENT 0x6ffffdff
598
#define DT_VALRNGHI 0x6ffffdff
599
#define DT_VALTAGIDX(tag) (DT_VALRNGHI - (tag))
602
#define DT_ADDRRNGLO 0x6ffffe00
603
#define DT_GNU_HASH 0x6ffffef5
604
#define DT_TLSDESC_PLT 0x6ffffef6
605
#define DT_TLSDESC_GOT 0x6ffffef7
606
#define DT_GNU_CONFLICT 0x6ffffef8
607
#define DT_GNU_LIBLIST 0x6ffffef9
608
#define DT_CONFIG 0x6ffffefa
609
#define DT_DEPAUDIT 0x6ffffefb
610
#define DT_AUDIT 0x6ffffefc
611
#define DT_PLTPAD 0x6ffffefd
612
#define DT_MOVETAB 0x6ffffefe
613
#define DT_SYMINFO 0x6ffffeff
614
#define DT_ADDRRNGHI 0x6ffffeff
615
#define DT_ADDRTAGIDX(tag) (DT_ADDRRNGHI - (tag))
616
#define DT_ADDRNUM 11
620
#define DT_VERSYM 0x6ffffff0
622
#define DT_RELACOUNT 0x6ffffff9
623
#define DT_RELCOUNT 0x6ffffffa
626
#define DT_FLAGS_1 0x6ffffffb
627
#define DT_VERDEF 0x6ffffffc
629
#define DT_VERDEFNUM 0x6ffffffd
630
#define DT_VERNEED 0x6ffffffe
632
#define DT_VERNEEDNUM 0x6fffffff
633
#define DT_VERSIONTAGIDX(tag) (DT_VERNEEDNUM - (tag))
634
#define DT_VERSIONTAGNUM 16
638
#define DT_AUXILIARY 0x7ffffffd
639
#define DT_FILTER 0x7fffffff
640
#define DT_EXTRATAGIDX(tag) ((Elf32_Word)-((Elf32_Sword) (tag) <<1>>1)-1)
641
#define DT_EXTRANUM 3
644
#define DF_ORIGIN 0x00000001
645
#define DF_SYMBOLIC 0x00000002
646
#define DF_TEXTREL 0x00000004
647
#define DF_BIND_NOW 0x00000008
648
#define DF_STATIC_TLS 0x00000010
652
#define DF_1_NOW 0x00000001
653
#define DF_1_GLOBAL 0x00000002
654
#define DF_1_GROUP 0x00000004
655
#define DF_1_NODELETE 0x00000008
656
#define DF_1_LOADFLTR 0x00000010
657
#define DF_1_INITFIRST 0x00000020
658
#define DF_1_NOOPEN 0x00000040
659
#define DF_1_ORIGIN 0x00000080
660
#define DF_1_DIRECT 0x00000100
661
#define DF_1_TRANS 0x00000200
662
#define DF_1_INTERPOSE 0x00000400
663
#define DF_1_NODEFLIB 0x00000800
664
#define DF_1_NODUMP 0x00001000
665
#define DF_1_CONFALT 0x00002000
666
#define DF_1_ENDFILTEE 0x00004000
667
#define DF_1_DISPRELDNE 0x00008000
668
#define DF_1_DISPRELPND 0x00010000
671
#define DTF_1_PARINIT 0x00000001
672
#define DTF_1_CONFEXP 0x00000002
675
#define DF_P1_LAZYLOAD 0x00000001
676
#define DF_P1_GROUPPERM 0x00000002
682
Elf32_Half vd_version;
692
Elf64_Half vd_version;
703
#define VER_DEF_NONE 0
704
#define VER_DEF_CURRENT 1
705
#define VER_DEF_NUM 2
708
#define VER_FLG_BASE 0x1
709
#define VER_FLG_WEAK 0x2
712
#define VER_NDX_LOCAL 0
713
#define VER_NDX_GLOBAL 1
714
#define VER_NDX_LORESERVE 0xff00
715
#define VER_NDX_ELIMINATE 0xff01
733
Elf32_Half vn_version;
741
Elf64_Half vn_version;
750
#define VER_NEED_NONE 0
751
#define VER_NEED_CURRENT 1
752
#define VER_NEED_NUM 2
758
Elf32_Half vna_flags;
759
Elf32_Half vna_other;
766
Elf64_Half vna_flags;
767
Elf64_Half vna_other;
774
#define VER_FLG_WEAK 0x2
812
#define AT_PLATFORM 15
821
#define AT_DCACHEBSIZE 19
822
#define AT_ICACHEBSIZE 20
823
#define AT_UCACHEBSIZE 21
827
#define AT_IGNOREPPC 22
831
#define AT_BASE_PLATFORM 24
839
#define AT_SYSINFO 32
840
#define AT_SYSINFO_EHDR 33
844
#define AT_L1I_CACHESHAPE 34
845
#define AT_L1D_CACHESHAPE 35
846
#define AT_L2_CACHESHAPE 36
847
#define AT_L3_CACHESHAPE 37
867
#define ELF_NOTE_SOLARIS "SUNW Solaris"
870
#define ELF_NOTE_GNU "GNU"
876
#define ELF_NOTE_PAGESIZE_HINT 1
879
#define NT_GNU_ABI_TAG 1
880
#define ELF_NOTE_ABI NT_GNU_ABI_TAG
884
#define ELF_NOTE_OS_LINUX 0
885
#define ELF_NOTE_OS_GNU 1
886
#define ELF_NOTE_OS_SOLARIS2 2
887
#define ELF_NOTE_OS_FREEBSD 3
889
#define NT_GNU_BUILD_ID 3
890
#define NT_GNU_GOLD_VERSION 4
897
Elf32_Word m_poffset;
905
Elf64_Xword m_poffset;
911
#define ELF32_M_SYM(info) ((info) >> 8)
912
#define ELF32_M_SIZE(info) ((unsigned char) (info))
913
#define ELF32_M_INFO(sym, size) (((sym) << 8) + (unsigned char) (size))
915
#define ELF64_M_SYM(info) ELF32_M_SYM (info)
916
#define ELF64_M_SIZE(info) ELF32_M_SIZE (info)
917
#define ELF64_M_INFO(sym, size) ELF32_M_INFO (sym, size)
919
#define EF_CPU32 0x00810000
928
#define R_68K_GOT32 7
929
#define R_68K_GOT16 8
931
#define R_68K_GOT32O 10
932
#define R_68K_GOT16O 11
933
#define R_68K_GOT8O 12
934
#define R_68K_PLT32 13
935
#define R_68K_PLT16 14
936
#define R_68K_PLT8 15
937
#define R_68K_PLT32O 16
938
#define R_68K_PLT16O 17
939
#define R_68K_PLT8O 18
940
#define R_68K_COPY 19
941
#define R_68K_GLOB_DAT 20
942
#define R_68K_JMP_SLOT 21
943
#define R_68K_RELATIVE 22
949
#define R_386_GOT32 3
950
#define R_386_PLT32 4
952
#define R_386_GLOB_DAT 6
953
#define R_386_JMP_SLOT 7
954
#define R_386_RELATIVE 8
955
#define R_386_GOTOFF 9
956
#define R_386_GOTPC 10
957
#define R_386_32PLT 11
958
#define R_386_TLS_TPOFF 14
959
#define R_386_TLS_IE 15
960
#define R_386_TLS_GOTIE 16
961
#define R_386_TLS_LE 17
962
#define R_386_TLS_GD 18
963
#define R_386_TLS_LDM 19
965
#define R_386_PC16 21
968
#define R_386_TLS_GD_32 24
969
#define R_386_TLS_GD_PUSH 25
970
#define R_386_TLS_GD_CALL 26
971
#define R_386_TLS_GD_POP 27
972
#define R_386_TLS_LDM_32 28
973
#define R_386_TLS_LDM_PUSH 29
974
#define R_386_TLS_LDM_CALL 30
975
#define R_386_TLS_LDM_POP 31
976
#define R_386_TLS_LDO_32 32
977
#define R_386_TLS_IE_32 33
978
#define R_386_TLS_LE_32 34
979
#define R_386_TLS_DTPMOD32 35
980
#define R_386_TLS_DTPOFF32 36
981
#define R_386_TLS_TPOFF32 37
982
#define R_386_TLS_GOTDESC 39
983
#define R_386_TLS_DESC_CALL 40
984
#define R_386_TLS_DESC 41
985
#define R_386_IRELATIVE 42
992
#define STT_SPARC_REGISTER 13
996
#define EF_SPARCV9_MM 3
997
#define EF_SPARCV9_TSO 0
998
#define EF_SPARCV9_PSO 1
999
#define EF_SPARCV9_RMO 2
1000
#define EF_SPARC_LEDATA 0x800000
1001
#define EF_SPARC_EXT_MASK 0xFFFF00
1002
#define EF_SPARC_32PLUS 0x000100
1003
#define EF_SPARC_SUN_US1 0x000200
1004
#define EF_SPARC_HAL_R1 0x000400
1005
#define EF_SPARC_SUN_US3 0x000800
1009
#define R_SPARC_NONE 0
1011
#define R_SPARC_16 2
1012
#define R_SPARC_32 3
1013
#define R_SPARC_DISP8 4
1014
#define R_SPARC_DISP16 5
1015
#define R_SPARC_DISP32 6
1016
#define R_SPARC_WDISP30 7
1017
#define R_SPARC_WDISP22 8
1018
#define R_SPARC_HI22 9
1019
#define R_SPARC_22 10
1020
#define R_SPARC_13 11
1021
#define R_SPARC_LO10 12
1022
#define R_SPARC_GOT10 13
1023
#define R_SPARC_GOT13 14
1024
#define R_SPARC_GOT22 15
1025
#define R_SPARC_PC10 16
1026
#define R_SPARC_PC22 17
1027
#define R_SPARC_WPLT30 18
1028
#define R_SPARC_COPY 19
1029
#define R_SPARC_GLOB_DAT 20
1030
#define R_SPARC_JMP_SLOT 21
1031
#define R_SPARC_RELATIVE 22
1032
#define R_SPARC_UA32 23
1036
#define R_SPARC_PLT32 24
1037
#define R_SPARC_HIPLT22 25
1038
#define R_SPARC_LOPLT10 26
1039
#define R_SPARC_PCPLT32 27
1040
#define R_SPARC_PCPLT22 28
1041
#define R_SPARC_PCPLT10 29
1042
#define R_SPARC_10 30
1043
#define R_SPARC_11 31
1044
#define R_SPARC_64 32
1045
#define R_SPARC_OLO10 33
1046
#define R_SPARC_HH22 34
1047
#define R_SPARC_HM10 35
1048
#define R_SPARC_LM22 36
1049
#define R_SPARC_PC_HH22 37
1050
#define R_SPARC_PC_HM10 38
1051
#define R_SPARC_PC_LM22 39
1052
#define R_SPARC_WDISP16 40
1053
#define R_SPARC_WDISP19 41
1054
#define R_SPARC_GLOB_JMP 42
1055
#define R_SPARC_7 43
1056
#define R_SPARC_5 44
1057
#define R_SPARC_6 45
1058
#define R_SPARC_DISP64 46
1059
#define R_SPARC_PLT64 47
1060
#define R_SPARC_HIX22 48
1061
#define R_SPARC_LOX10 49
1062
#define R_SPARC_H44 50
1063
#define R_SPARC_M44 51
1064
#define R_SPARC_L44 52
1065
#define R_SPARC_REGISTER 53
1066
#define R_SPARC_UA64 54
1067
#define R_SPARC_UA16 55
1068
#define R_SPARC_TLS_GD_HI22 56
1069
#define R_SPARC_TLS_GD_LO10 57
1070
#define R_SPARC_TLS_GD_ADD 58
1071
#define R_SPARC_TLS_GD_CALL 59
1072
#define R_SPARC_TLS_LDM_HI22 60
1073
#define R_SPARC_TLS_LDM_LO10 61
1074
#define R_SPARC_TLS_LDM_ADD 62
1075
#define R_SPARC_TLS_LDM_CALL 63
1076
#define R_SPARC_TLS_LDO_HIX22 64
1077
#define R_SPARC_TLS_LDO_LOX10 65
1078
#define R_SPARC_TLS_LDO_ADD 66
1079
#define R_SPARC_TLS_IE_HI22 67
1080
#define R_SPARC_TLS_IE_LO10 68
1081
#define R_SPARC_TLS_IE_LD 69
1082
#define R_SPARC_TLS_IE_LDX 70
1083
#define R_SPARC_TLS_IE_ADD 71
1084
#define R_SPARC_TLS_LE_HIX22 72
1085
#define R_SPARC_TLS_LE_LOX10 73
1086
#define R_SPARC_TLS_DTPMOD32 74
1087
#define R_SPARC_TLS_DTPMOD64 75
1088
#define R_SPARC_TLS_DTPOFF32 76
1089
#define R_SPARC_TLS_DTPOFF64 77
1090
#define R_SPARC_TLS_TPOFF32 78
1091
#define R_SPARC_TLS_TPOFF64 79
1092
#define R_SPARC_GOTDATA_HIX22 80
1093
#define R_SPARC_GOTDATA_LOX10 81
1094
#define R_SPARC_GOTDATA_OP_HIX22 82
1095
#define R_SPARC_GOTDATA_OP_LOX10 83
1096
#define R_SPARC_GOTDATA_OP 84
1097
#define R_SPARC_H34 85
1098
#define R_SPARC_SIZE32 86
1099
#define R_SPARC_SIZE64 87
1100
#define R_SPARC_GNU_VTINHERIT 250
1101
#define R_SPARC_GNU_VTENTRY 251
1102
#define R_SPARC_REV32 252
1104
#define R_SPARC_NUM 253
1108
#define DT_SPARC_REGISTER 0x70000001
1109
#define DT_SPARC_NUM 2
1113
#define HWCAP_SPARC_FLUSH 1
1114
#define HWCAP_SPARC_STBAR 2
1115
#define HWCAP_SPARC_SWAP 4
1116
#define HWCAP_SPARC_MULDIV 8
1117
#define HWCAP_SPARC_V9 16
1118
#define HWCAP_SPARC_ULTRA3 32
1119
#define HWCAP_SPARC_BLKINIT 64
1120
#define HWCAP_SPARC_N2 128
1126
#define EF_MIPS_NOREORDER 1
1127
#define EF_MIPS_PIC 2
1128
#define EF_MIPS_CPIC 4
1129
#define EF_MIPS_XGOT 8
1130
#define EF_MIPS_64BIT_WHIRL 16
1131
#define EF_MIPS_ABI2 32
1132
#define EF_MIPS_ABI_ON32 64
1133
#define EF_MIPS_ARCH 0xf0000000
1137
#define EF_MIPS_ARCH_1 0x00000000
1138
#define EF_MIPS_ARCH_2 0x10000000
1139
#define EF_MIPS_ARCH_3 0x20000000
1140
#define EF_MIPS_ARCH_4 0x30000000
1141
#define EF_MIPS_ARCH_5 0x40000000
1142
#define EF_MIPS_ARCH_32 0x60000000
1143
#define EF_MIPS_ARCH_64 0x70000000
1147
#define E_MIPS_ARCH_1 0x00000000
1148
#define E_MIPS_ARCH_2 0x10000000
1149
#define E_MIPS_ARCH_3 0x20000000
1150
#define E_MIPS_ARCH_4 0x30000000
1151
#define E_MIPS_ARCH_5 0x40000000
1152
#define E_MIPS_ARCH_32 0x60000000
1153
#define E_MIPS_ARCH_64 0x70000000
1157
#define SHN_MIPS_ACOMMON 0xff00
1158
#define SHN_MIPS_TEXT 0xff01
1159
#define SHN_MIPS_DATA 0xff02
1160
#define SHN_MIPS_SCOMMON 0xff03
1161
#define SHN_MIPS_SUNDEFINED 0xff04
1165
#define SHT_MIPS_LIBLIST 0x70000000
1166
#define SHT_MIPS_MSYM 0x70000001
1167
#define SHT_MIPS_CONFLICT 0x70000002
1168
#define SHT_MIPS_GPTAB 0x70000003
1169
#define SHT_MIPS_UCODE 0x70000004
1170
#define SHT_MIPS_DEBUG 0x70000005
1171
#define SHT_MIPS_REGINFO 0x70000006
1172
#define SHT_MIPS_PACKAGE 0x70000007
1173
#define SHT_MIPS_PACKSYM 0x70000008
1174
#define SHT_MIPS_RELD 0x70000009
1175
#define SHT_MIPS_IFACE 0x7000000b
1176
#define SHT_MIPS_CONTENT 0x7000000c
1177
#define SHT_MIPS_OPTIONS 0x7000000d
1178
#define SHT_MIPS_SHDR 0x70000010
1179
#define SHT_MIPS_FDESC 0x70000011
1180
#define SHT_MIPS_EXTSYM 0x70000012
1181
#define SHT_MIPS_DENSE 0x70000013
1182
#define SHT_MIPS_PDESC 0x70000014
1183
#define SHT_MIPS_LOCSYM 0x70000015
1184
#define SHT_MIPS_AUXSYM 0x70000016
1185
#define SHT_MIPS_OPTSYM 0x70000017
1186
#define SHT_MIPS_LOCSTR 0x70000018
1187
#define SHT_MIPS_LINE 0x70000019
1188
#define SHT_MIPS_RFDESC 0x7000001a
1189
#define SHT_MIPS_DELTASYM 0x7000001b
1190
#define SHT_MIPS_DELTAINST 0x7000001c
1191
#define SHT_MIPS_DELTACLASS 0x7000001d
1192
#define SHT_MIPS_DWARF 0x7000001e
1193
#define SHT_MIPS_DELTADECL 0x7000001f
1194
#define SHT_MIPS_SYMBOL_LIB 0x70000020
1195
#define SHT_MIPS_EVENTS 0x70000021
1196
#define SHT_MIPS_TRANSLATE 0x70000022
1197
#define SHT_MIPS_PIXIE 0x70000023
1198
#define SHT_MIPS_XLATE 0x70000024
1199
#define SHT_MIPS_XLATE_DEBUG 0x70000025
1200
#define SHT_MIPS_WHIRL 0x70000026
1201
#define SHT_MIPS_EH_REGION 0x70000027
1202
#define SHT_MIPS_XLATE_OLD 0x70000028
1203
#define SHT_MIPS_PDR_EXCEPTION 0x70000029
1207
#define SHF_MIPS_GPREL 0x10000000
1208
#define SHF_MIPS_MERGE 0x20000000
1209
#define SHF_MIPS_ADDR 0x40000000
1210
#define SHF_MIPS_STRINGS 0x80000000
1211
#define SHF_MIPS_NOSTRIP 0x08000000
1212
#define SHF_MIPS_LOCAL 0x04000000
1213
#define SHF_MIPS_NAMES 0x02000000
1214
#define SHF_MIPS_NODUPE 0x01000000
1220
#define STO_MIPS_DEFAULT 0x0
1221
#define STO_MIPS_INTERNAL 0x1
1222
#define STO_MIPS_HIDDEN 0x2
1223
#define STO_MIPS_PROTECTED 0x3
1224
#define STO_MIPS_PLT 0x8
1225
#define STO_MIPS_SC_ALIGN_UNUSED 0xff
1228
#define STB_MIPS_SPLIT_COMMON 13
1234
Elf32_Word gt_current_g_value;
1235
Elf32_Word gt_unused;
1238
Elf32_Word gt_g_value;
1239
Elf32_Word gt_bytes;
1246
Elf32_Word ri_gprmask;
1247
Elf32_Word ri_cprmask[4];
1248
Elf32_Sword ri_gp_value;
1257
Elf32_Section section;
1265
#define ODK_REGINFO 1
1266
#define ODK_EXCEPTIONS 2
1268
#define ODK_HWPATCH 4
1276
#define OEX_FPU_MIN 0x1f
1277
#define OEX_FPU_MAX 0x1f00
1278
#define OEX_PAGE0 0x10000
1279
#define OEX_SMM 0x20000
1280
#define OEX_FPDBUG 0x40000
1281
#define OEX_PRECISEFP OEX_FPDBUG
1282
#define OEX_DISMISS 0x80000
1284
#define OEX_FPU_INVAL 0x10
1285
#define OEX_FPU_DIV0 0x08
1286
#define OEX_FPU_OFLO 0x04
1287
#define OEX_FPU_UFLO 0x02
1288
#define OEX_FPU_INEX 0x01
1292
#define OHW_R4KEOP 0x1
1293
#define OHW_R8KPFETCH 0x2
1294
#define OHW_R5KEOP 0x4
1295
#define OHW_R5KCVTL 0x8
1297
#define OPAD_PREFIX 0x1
1298
#define OPAD_POSTFIX 0x2
1299
#define OPAD_SYMBOL 0x4
1304
Elf32_Word hwp_flags1;
1305
Elf32_Word hwp_flags2;
1310
#define OHWA0_R4KEOP_CHECKED 0x00000001
1311
#define OHWA1_R4KEOP_CLEAN 0x00000002
1315
#define R_MIPS_NONE 0
1318
#define R_MIPS_REL32 3
1320
#define R_MIPS_HI16 5
1321
#define R_MIPS_LO16 6
1322
#define R_MIPS_GPREL16 7
1323
#define R_MIPS_LITERAL 8
1324
#define R_MIPS_GOT16 9
1325
#define R_MIPS_PC16 10
1326
#define R_MIPS_CALL16 11
1327
#define R_MIPS_GPREL32 12
1329
#define R_MIPS_SHIFT5 16
1330
#define R_MIPS_SHIFT6 17
1331
#define R_MIPS_64 18
1332
#define R_MIPS_GOT_DISP 19
1333
#define R_MIPS_GOT_PAGE 20
1334
#define R_MIPS_GOT_OFST 21
1335
#define R_MIPS_GOT_HI16 22
1336
#define R_MIPS_GOT_LO16 23
1337
#define R_MIPS_SUB 24
1338
#define R_MIPS_INSERT_A 25
1339
#define R_MIPS_INSERT_B 26
1340
#define R_MIPS_DELETE 27
1341
#define R_MIPS_HIGHER 28
1342
#define R_MIPS_HIGHEST 29
1343
#define R_MIPS_CALL_HI16 30
1344
#define R_MIPS_CALL_LO16 31
1345
#define R_MIPS_SCN_DISP 32
1346
#define R_MIPS_REL16 33
1347
#define R_MIPS_ADD_IMMEDIATE 34
1348
#define R_MIPS_PJUMP 35
1349
#define R_MIPS_RELGOT 36
1350
#define R_MIPS_JALR 37
1351
#define R_MIPS_TLS_DTPMOD32 38
1352
#define R_MIPS_TLS_DTPREL32 39
1353
#define R_MIPS_TLS_DTPMOD64 40
1354
#define R_MIPS_TLS_DTPREL64 41
1355
#define R_MIPS_TLS_GD 42
1356
#define R_MIPS_TLS_LDM 43
1357
#define R_MIPS_TLS_DTPREL_HI16 44
1358
#define R_MIPS_TLS_DTPREL_LO16 45
1359
#define R_MIPS_TLS_GOTTPREL 46
1360
#define R_MIPS_TLS_TPREL32 47
1361
#define R_MIPS_TLS_TPREL64 48
1362
#define R_MIPS_TLS_TPREL_HI16 49
1363
#define R_MIPS_TLS_TPREL_LO16 50
1364
#define R_MIPS_GLOB_DAT 51
1365
#define R_MIPS_COPY 126
1366
#define R_MIPS_JUMP_SLOT 127
1368
#define R_MIPS_NUM 128
1372
#define PT_MIPS_REGINFO 0x70000000
1373
#define PT_MIPS_RTPROC 0x70000001
1374
#define PT_MIPS_OPTIONS 0x70000002
1378
#define PF_MIPS_LOCAL 0x10000000
1382
#define DT_MIPS_RLD_VERSION 0x70000001
1383
#define DT_MIPS_TIME_STAMP 0x70000002
1384
#define DT_MIPS_ICHECKSUM 0x70000003
1385
#define DT_MIPS_IVERSION 0x70000004
1386
#define DT_MIPS_FLAGS 0x70000005
1387
#define DT_MIPS_BASE_ADDRESS 0x70000006
1388
#define DT_MIPS_MSYM 0x70000007
1389
#define DT_MIPS_CONFLICT 0x70000008
1390
#define DT_MIPS_LIBLIST 0x70000009
1391
#define DT_MIPS_LOCAL_GOTNO 0x7000000a
1392
#define DT_MIPS_CONFLICTNO 0x7000000b
1393
#define DT_MIPS_LIBLISTNO 0x70000010
1394
#define DT_MIPS_SYMTABNO 0x70000011
1395
#define DT_MIPS_UNREFEXTNO 0x70000012
1396
#define DT_MIPS_GOTSYM 0x70000013
1397
#define DT_MIPS_HIPAGENO 0x70000014
1398
#define DT_MIPS_RLD_MAP 0x70000016
1399
#define DT_MIPS_DELTA_CLASS 0x70000017
1400
#define DT_MIPS_DELTA_CLASS_NO 0x70000018
1402
#define DT_MIPS_DELTA_INSTANCE 0x70000019
1403
#define DT_MIPS_DELTA_INSTANCE_NO 0x7000001a
1405
#define DT_MIPS_DELTA_RELOC 0x7000001b
1406
#define DT_MIPS_DELTA_RELOC_NO 0x7000001c
1408
#define DT_MIPS_DELTA_SYM 0x7000001d
1410
#define DT_MIPS_DELTA_SYM_NO 0x7000001e
1412
#define DT_MIPS_DELTA_CLASSSYM 0x70000020
1414
#define DT_MIPS_DELTA_CLASSSYM_NO 0x70000021
1416
#define DT_MIPS_CXX_FLAGS 0x70000022
1417
#define DT_MIPS_PIXIE_INIT 0x70000023
1418
#define DT_MIPS_SYMBOL_LIB 0x70000024
1419
#define DT_MIPS_LOCALPAGE_GOTIDX 0x70000025
1420
#define DT_MIPS_LOCAL_GOTIDX 0x70000026
1421
#define DT_MIPS_HIDDEN_GOTIDX 0x70000027
1422
#define DT_MIPS_PROTECTED_GOTIDX 0x70000028
1423
#define DT_MIPS_OPTIONS 0x70000029
1424
#define DT_MIPS_INTERFACE 0x7000002a
1425
#define DT_MIPS_DYNSTR_ALIGN 0x7000002b
1426
#define DT_MIPS_INTERFACE_SIZE 0x7000002c
1427
#define DT_MIPS_RLD_TEXT_RESOLVE_ADDR 0x7000002d
1429
#define DT_MIPS_PERF_SUFFIX 0x7000002e
1431
#define DT_MIPS_COMPACT_SIZE 0x7000002f
1432
#define DT_MIPS_GP_VALUE 0x70000030
1433
#define DT_MIPS_AUX_DYNAMIC 0x70000031
1435
#define DT_MIPS_PLTGOT 0x70000032
1437
#define DT_MIPS_RWPLT 0x70000034
1438
#define DT_MIPS_NUM 0x35
1443
#define RHF_QUICKSTART (1 << 0)
1444
#define RHF_NOTPOT (1 << 1)
1445
#define RHF_NO_LIBRARY_REPLACEMENT (1 << 2)
1446
#define RHF_NO_MOVE (1 << 3)
1447
#define RHF_SGI_ONLY (1 << 4)
1448
#define RHF_GUARANTEE_INIT (1 << 5)
1449
#define RHF_DELTA_C_PLUS_PLUS (1 << 6)
1450
#define RHF_GUARANTEE_START_INIT (1 << 7)
1451
#define RHF_PIXIE (1 << 8)
1452
#define RHF_DEFAULT_DELAY_LOAD (1 << 9)
1453
#define RHF_REQUICKSTART (1 << 10)
1454
#define RHF_REQUICKSTARTED (1 << 11)
1455
#define RHF_CORD (1 << 12)
1456
#define RHF_NO_UNRES_UNDEF (1 << 13)
1457
#define RHF_RLD_ORDER_SAFE (1 << 14)
1464
Elf32_Word l_time_stamp;
1465
Elf32_Word l_checksum;
1466
Elf32_Word l_version;
1473
Elf64_Word l_time_stamp;
1474
Elf64_Word l_checksum;
1475
Elf64_Word l_version;
1483
#define LL_EXACT_MATCH (1 << 0)
1484
#define LL_IGNORE_INT_VER (1 << 1)
1485
#define LL_REQUIRE_MINOR (1 << 2)
1486
#define LL_EXPORTS (1 << 3)
1487
#define LL_DELAY_LOAD (1 << 4)
1488
#define LL_DELTA (1 << 5)
1492
typedef Elf32_Addr Elf32_Conflict;
1499
#define EF_PARISC_TRAPNIL 0x00010000
1500
#define EF_PARISC_EXT 0x00020000
1501
#define EF_PARISC_LSB 0x00040000
1502
#define EF_PARISC_WIDE 0x00080000
1503
#define EF_PARISC_NO_KABP 0x00100000
1505
#define EF_PARISC_LAZYSWAP 0x00400000
1506
#define EF_PARISC_ARCH 0x0000ffff
1510
#define EFA_PARISC_1_0 0x020b
1511
#define EFA_PARISC_1_1 0x0210
1512
#define EFA_PARISC_2_0 0x0214
1516
#define SHN_PARISC_ANSI_COMMON 0xff00
1518
#define SHN_PARISC_HUGE_COMMON 0xff01
1522
#define SHT_PARISC_EXT 0x70000000
1523
#define SHT_PARISC_UNWIND 0x70000001
1524
#define SHT_PARISC_DOC 0x70000002
1528
#define SHF_PARISC_SHORT 0x20000000
1529
#define SHF_PARISC_HUGE 0x40000000
1530
#define SHF_PARISC_SBP 0x80000000
1534
#define STT_PARISC_MILLICODE 13
1536
#define STT_HP_OPAQUE (STT_LOOS + 0x1)
1537
#define STT_HP_STUB (STT_LOOS + 0x2)
1541
#define R_PARISC_NONE 0
1542
#define R_PARISC_DIR32 1
1543
#define R_PARISC_DIR21L 2
1544
#define R_PARISC_DIR17R 3
1545
#define R_PARISC_DIR17F 4
1546
#define R_PARISC_DIR14R 6
1547
#define R_PARISC_PCREL32 9
1548
#define R_PARISC_PCREL21L 10
1549
#define R_PARISC_PCREL17R 11
1550
#define R_PARISC_PCREL17F 12
1551
#define R_PARISC_PCREL14R 14
1552
#define R_PARISC_DPREL21L 18
1553
#define R_PARISC_DPREL14R 22
1554
#define R_PARISC_GPREL21L 26
1555
#define R_PARISC_GPREL14R 30
1556
#define R_PARISC_LTOFF21L 34
1557
#define R_PARISC_LTOFF14R 38
1558
#define R_PARISC_SECREL32 41
1559
#define R_PARISC_SEGBASE 48
1560
#define R_PARISC_SEGREL32 49
1561
#define R_PARISC_PLTOFF21L 50
1562
#define R_PARISC_PLTOFF14R 54
1563
#define R_PARISC_LTOFF_FPTR32 57
1564
#define R_PARISC_LTOFF_FPTR21L 58
1565
#define R_PARISC_LTOFF_FPTR14R 62
1566
#define R_PARISC_FPTR64 64
1567
#define R_PARISC_PLABEL32 65
1568
#define R_PARISC_PLABEL21L 66
1569
#define R_PARISC_PLABEL14R 70
1570
#define R_PARISC_PCREL64 72
1571
#define R_PARISC_PCREL22F 74
1572
#define R_PARISC_PCREL14WR 75
1573
#define R_PARISC_PCREL14DR 76
1574
#define R_PARISC_PCREL16F 77
1575
#define R_PARISC_PCREL16WF 78
1576
#define R_PARISC_PCREL16DF 79
1577
#define R_PARISC_DIR64 80
1578
#define R_PARISC_DIR14WR 83
1579
#define R_PARISC_DIR14DR 84
1580
#define R_PARISC_DIR16F 85
1581
#define R_PARISC_DIR16WF 86
1582
#define R_PARISC_DIR16DF 87
1583
#define R_PARISC_GPREL64 88
1584
#define R_PARISC_GPREL14WR 91
1585
#define R_PARISC_GPREL14DR 92
1586
#define R_PARISC_GPREL16F 93
1587
#define R_PARISC_GPREL16WF 94
1588
#define R_PARISC_GPREL16DF 95
1589
#define R_PARISC_LTOFF64 96
1590
#define R_PARISC_LTOFF14WR 99
1591
#define R_PARISC_LTOFF14DR 100
1592
#define R_PARISC_LTOFF16F 101
1593
#define R_PARISC_LTOFF16WF 102
1594
#define R_PARISC_LTOFF16DF 103
1595
#define R_PARISC_SECREL64 104
1596
#define R_PARISC_SEGREL64 112
1597
#define R_PARISC_PLTOFF14WR 115
1598
#define R_PARISC_PLTOFF14DR 116
1599
#define R_PARISC_PLTOFF16F 117
1600
#define R_PARISC_PLTOFF16WF 118
1601
#define R_PARISC_PLTOFF16DF 119
1602
#define R_PARISC_LTOFF_FPTR64 120
1603
#define R_PARISC_LTOFF_FPTR14WR 123
1604
#define R_PARISC_LTOFF_FPTR14DR 124
1605
#define R_PARISC_LTOFF_FPTR16F 125
1606
#define R_PARISC_LTOFF_FPTR16WF 126
1607
#define R_PARISC_LTOFF_FPTR16DF 127
1608
#define R_PARISC_LORESERVE 128
1609
#define R_PARISC_COPY 128
1610
#define R_PARISC_IPLT 129
1611
#define R_PARISC_EPLT 130
1612
#define R_PARISC_TPREL32 153
1613
#define R_PARISC_TPREL21L 154
1614
#define R_PARISC_TPREL14R 158
1615
#define R_PARISC_LTOFF_TP21L 162
1616
#define R_PARISC_LTOFF_TP14R 166
1617
#define R_PARISC_LTOFF_TP14F 167
1618
#define R_PARISC_TPREL64 216
1619
#define R_PARISC_TPREL14WR 219
1620
#define R_PARISC_TPREL14DR 220
1621
#define R_PARISC_TPREL16F 221
1622
#define R_PARISC_TPREL16WF 222
1623
#define R_PARISC_TPREL16DF 223
1624
#define R_PARISC_LTOFF_TP64 224
1625
#define R_PARISC_LTOFF_TP14WR 227
1626
#define R_PARISC_LTOFF_TP14DR 228
1627
#define R_PARISC_LTOFF_TP16F 229
1628
#define R_PARISC_LTOFF_TP16WF 230
1629
#define R_PARISC_LTOFF_TP16DF 231
1630
#define R_PARISC_GNU_VTENTRY 232
1631
#define R_PARISC_GNU_VTINHERIT 233
1632
#define R_PARISC_TLS_GD21L 234
1633
#define R_PARISC_TLS_GD14R 235
1634
#define R_PARISC_TLS_GDCALL 236
1635
#define R_PARISC_TLS_LDM21L 237
1636
#define R_PARISC_TLS_LDM14R 238
1637
#define R_PARISC_TLS_LDMCALL 239
1638
#define R_PARISC_TLS_LDO21L 240
1639
#define R_PARISC_TLS_LDO14R 241
1640
#define R_PARISC_TLS_DTPMOD32 242
1641
#define R_PARISC_TLS_DTPMOD64 243
1642
#define R_PARISC_TLS_DTPOFF32 244
1643
#define R_PARISC_TLS_DTPOFF64 245
1644
#define R_PARISC_TLS_LE21L R_PARISC_TPREL21L
1645
#define R_PARISC_TLS_LE14R R_PARISC_TPREL14R
1646
#define R_PARISC_TLS_IE21L R_PARISC_LTOFF_TP21L
1647
#define R_PARISC_TLS_IE14R R_PARISC_LTOFF_TP14R
1648
#define R_PARISC_TLS_TPREL32 R_PARISC_TPREL32
1649
#define R_PARISC_TLS_TPREL64 R_PARISC_TPREL64
1650
#define R_PARISC_HIRESERVE 255
1654
#define PT_HP_TLS (PT_LOOS + 0x0)
1655
#define PT_HP_CORE_NONE (PT_LOOS + 0x1)
1656
#define PT_HP_CORE_VERSION (PT_LOOS + 0x2)
1657
#define PT_HP_CORE_KERNEL (PT_LOOS + 0x3)
1658
#define PT_HP_CORE_COMM (PT_LOOS + 0x4)
1659
#define PT_HP_CORE_PROC (PT_LOOS + 0x5)
1660
#define PT_HP_CORE_LOADABLE (PT_LOOS + 0x6)
1661
#define PT_HP_CORE_STACK (PT_LOOS + 0x7)
1662
#define PT_HP_CORE_SHM (PT_LOOS + 0x8)
1663
#define PT_HP_CORE_MMF (PT_LOOS + 0x9)
1664
#define PT_HP_PARALLEL (PT_LOOS + 0x10)
1665
#define PT_HP_FASTBIND (PT_LOOS + 0x11)
1666
#define PT_HP_OPT_ANNOT (PT_LOOS + 0x12)
1667
#define PT_HP_HSL_ANNOT (PT_LOOS + 0x13)
1668
#define PT_HP_STACK (PT_LOOS + 0x14)
1670
#define PT_PARISC_ARCHEXT 0x70000000
1671
#define PT_PARISC_UNWIND 0x70000001
1675
#define PF_PARISC_SBP 0x08000000
1677
#define PF_HP_PAGE_SIZE 0x00100000
1678
#define PF_HP_FAR_SHARED 0x00200000
1679
#define PF_HP_NEAR_SHARED 0x00400000
1680
#define PF_HP_CODE 0x01000000
1681
#define PF_HP_MODIFY 0x02000000
1682
#define PF_HP_LAZYSWAP 0x04000000
1683
#define PF_HP_SBP 0x08000000
1690
#define EF_ALPHA_32BIT 1
1691
#define EF_ALPHA_CANRELAX 2
1696
#define SHT_ALPHA_DEBUG 0x70000001
1697
#define SHT_ALPHA_REGINFO 0x70000002
1701
#define SHF_ALPHA_GPREL 0x10000000
1704
#define STO_ALPHA_NOPV 0x80
1705
#define STO_ALPHA_STD_GPLOAD 0x88
1709
#define R_ALPHA_NONE 0
1710
#define R_ALPHA_REFLONG 1
1711
#define R_ALPHA_REFQUAD 2
1712
#define R_ALPHA_GPREL32 3
1713
#define R_ALPHA_LITERAL 4
1714
#define R_ALPHA_LITUSE 5
1715
#define R_ALPHA_GPDISP 6
1716
#define R_ALPHA_BRADDR 7
1717
#define R_ALPHA_HINT 8
1718
#define R_ALPHA_SREL16 9
1719
#define R_ALPHA_SREL32 10
1720
#define R_ALPHA_SREL64 11
1721
#define R_ALPHA_GPRELHIGH 17
1722
#define R_ALPHA_GPRELLOW 18
1723
#define R_ALPHA_GPREL16 19
1724
#define R_ALPHA_COPY 24
1725
#define R_ALPHA_GLOB_DAT 25
1726
#define R_ALPHA_JMP_SLOT 26
1727
#define R_ALPHA_RELATIVE 27
1728
#define R_ALPHA_TLS_GD_HI 28
1729
#define R_ALPHA_TLSGD 29
1730
#define R_ALPHA_TLS_LDM 30
1731
#define R_ALPHA_DTPMOD64 31
1732
#define R_ALPHA_GOTDTPREL 32
1733
#define R_ALPHA_DTPREL64 33
1734
#define R_ALPHA_DTPRELHI 34
1735
#define R_ALPHA_DTPRELLO 35
1736
#define R_ALPHA_DTPREL16 36
1737
#define R_ALPHA_GOTTPREL 37
1738
#define R_ALPHA_TPREL64 38
1739
#define R_ALPHA_TPRELHI 39
1740
#define R_ALPHA_TPRELLO 40
1741
#define R_ALPHA_TPREL16 41
1743
#define R_ALPHA_NUM 46
1746
#define LITUSE_ALPHA_ADDR 0
1747
#define LITUSE_ALPHA_BASE 1
1748
#define LITUSE_ALPHA_BYTOFF 2
1749
#define LITUSE_ALPHA_JSR 3
1750
#define LITUSE_ALPHA_TLS_GD 4
1751
#define LITUSE_ALPHA_TLS_LDM 5
1754
#define DT_ALPHA_PLTRO (DT_LOPROC + 0)
1755
#define DT_ALPHA_NUM 1
1760
#define EF_PPC_EMB 0x80000000
1763
#define EF_PPC_RELOCATABLE 0x00010000
1764
#define EF_PPC_RELOCATABLE_LIB 0x00008000
1768
#define R_PPC_NONE 0
1769
#define R_PPC_ADDR32 1
1770
#define R_PPC_ADDR24 2
1771
#define R_PPC_ADDR16 3
1772
#define R_PPC_ADDR16_LO 4
1773
#define R_PPC_ADDR16_HI 5
1774
#define R_PPC_ADDR16_HA 6
1775
#define R_PPC_ADDR14 7
1776
#define R_PPC_ADDR14_BRTAKEN 8
1777
#define R_PPC_ADDR14_BRNTAKEN 9
1778
#define R_PPC_REL24 10
1779
#define R_PPC_REL14 11
1780
#define R_PPC_REL14_BRTAKEN 12
1781
#define R_PPC_REL14_BRNTAKEN 13
1782
#define R_PPC_GOT16 14
1783
#define R_PPC_GOT16_LO 15
1784
#define R_PPC_GOT16_HI 16
1785
#define R_PPC_GOT16_HA 17
1786
#define R_PPC_PLTREL24 18
1787
#define R_PPC_COPY 19
1788
#define R_PPC_GLOB_DAT 20
1789
#define R_PPC_JMP_SLOT 21
1790
#define R_PPC_RELATIVE 22
1791
#define R_PPC_LOCAL24PC 23
1792
#define R_PPC_UADDR32 24
1793
#define R_PPC_UADDR16 25
1794
#define R_PPC_REL32 26
1795
#define R_PPC_PLT32 27
1796
#define R_PPC_PLTREL32 28
1797
#define R_PPC_PLT16_LO 29
1798
#define R_PPC_PLT16_HI 30
1799
#define R_PPC_PLT16_HA 31
1800
#define R_PPC_SDAREL16 32
1801
#define R_PPC_SECTOFF 33
1802
#define R_PPC_SECTOFF_LO 34
1803
#define R_PPC_SECTOFF_HI 35
1804
#define R_PPC_SECTOFF_HA 36
1807
#define R_PPC_TLS 67
1808
#define R_PPC_DTPMOD32 68
1809
#define R_PPC_TPREL16 69
1810
#define R_PPC_TPREL16_LO 70
1811
#define R_PPC_TPREL16_HI 71
1812
#define R_PPC_TPREL16_HA 72
1813
#define R_PPC_TPREL32 73
1814
#define R_PPC_DTPREL16 74
1815
#define R_PPC_DTPREL16_LO 75
1816
#define R_PPC_DTPREL16_HI 76
1817
#define R_PPC_DTPREL16_HA 77
1818
#define R_PPC_DTPREL32 78
1819
#define R_PPC_GOT_TLSGD16 79
1820
#define R_PPC_GOT_TLSGD16_LO 80
1821
#define R_PPC_GOT_TLSGD16_HI 81
1822
#define R_PPC_GOT_TLSGD16_HA 82
1823
#define R_PPC_GOT_TLSLD16 83
1824
#define R_PPC_GOT_TLSLD16_LO 84
1825
#define R_PPC_GOT_TLSLD16_HI 85
1826
#define R_PPC_GOT_TLSLD16_HA 86
1827
#define R_PPC_GOT_TPREL16 87
1828
#define R_PPC_GOT_TPREL16_LO 88
1829
#define R_PPC_GOT_TPREL16_HI 89
1830
#define R_PPC_GOT_TPREL16_HA 90
1831
#define R_PPC_GOT_DTPREL16 91
1832
#define R_PPC_GOT_DTPREL16_LO 92
1833
#define R_PPC_GOT_DTPREL16_HI 93
1834
#define R_PPC_GOT_DTPREL16_HA 94
1838
#define R_PPC_EMB_NADDR32 101
1839
#define R_PPC_EMB_NADDR16 102
1840
#define R_PPC_EMB_NADDR16_LO 103
1841
#define R_PPC_EMB_NADDR16_HI 104
1842
#define R_PPC_EMB_NADDR16_HA 105
1843
#define R_PPC_EMB_SDAI16 106
1844
#define R_PPC_EMB_SDA2I16 107
1845
#define R_PPC_EMB_SDA2REL 108
1846
#define R_PPC_EMB_SDA21 109
1847
#define R_PPC_EMB_MRKREF 110
1848
#define R_PPC_EMB_RELSEC16 111
1849
#define R_PPC_EMB_RELST_LO 112
1850
#define R_PPC_EMB_RELST_HI 113
1851
#define R_PPC_EMB_RELST_HA 114
1852
#define R_PPC_EMB_BIT_FLD 115
1853
#define R_PPC_EMB_RELSDA 116
1856
#define R_PPC_DIAB_SDA21_LO 180
1857
#define R_PPC_DIAB_SDA21_HI 181
1858
#define R_PPC_DIAB_SDA21_HA 182
1859
#define R_PPC_DIAB_RELSDA_LO 183
1860
#define R_PPC_DIAB_RELSDA_HI 184
1861
#define R_PPC_DIAB_RELSDA_HA 185
1864
#define R_PPC_IRELATIVE 248
1867
#define R_PPC_REL16 249
1868
#define R_PPC_REL16_LO 250
1869
#define R_PPC_REL16_HI 251
1870
#define R_PPC_REL16_HA 252
1874
#define R_PPC_TOC16 255
1877
#define DT_PPC_GOT (DT_LOPROC + 0)
1878
#define DT_PPC_NUM 1
1881
#define R_PPC64_NONE R_PPC_NONE
1882
#define R_PPC64_ADDR32 R_PPC_ADDR32
1883
#define R_PPC64_ADDR24 R_PPC_ADDR24
1884
#define R_PPC64_ADDR16 R_PPC_ADDR16
1885
#define R_PPC64_ADDR16_LO R_PPC_ADDR16_LO
1886
#define R_PPC64_ADDR16_HI R_PPC_ADDR16_HI
1887
#define R_PPC64_ADDR16_HA R_PPC_ADDR16_HA
1888
#define R_PPC64_ADDR14 R_PPC_ADDR14
1889
#define R_PPC64_ADDR14_BRTAKEN R_PPC_ADDR14_BRTAKEN
1890
#define R_PPC64_ADDR14_BRNTAKEN R_PPC_ADDR14_BRNTAKEN
1891
#define R_PPC64_REL24 R_PPC_REL24
1892
#define R_PPC64_REL14 R_PPC_REL14
1893
#define R_PPC64_REL14_BRTAKEN R_PPC_REL14_BRTAKEN
1894
#define R_PPC64_REL14_BRNTAKEN R_PPC_REL14_BRNTAKEN
1895
#define R_PPC64_GOT16 R_PPC_GOT16
1896
#define R_PPC64_GOT16_LO R_PPC_GOT16_LO
1897
#define R_PPC64_GOT16_HI R_PPC_GOT16_HI
1898
#define R_PPC64_GOT16_HA R_PPC_GOT16_HA
1900
#define R_PPC64_COPY R_PPC_COPY
1901
#define R_PPC64_GLOB_DAT R_PPC_GLOB_DAT
1902
#define R_PPC64_JMP_SLOT R_PPC_JMP_SLOT
1903
#define R_PPC64_RELATIVE R_PPC_RELATIVE
1905
#define R_PPC64_UADDR32 R_PPC_UADDR32
1906
#define R_PPC64_UADDR16 R_PPC_UADDR16
1907
#define R_PPC64_REL32 R_PPC_REL32
1908
#define R_PPC64_PLT32 R_PPC_PLT32
1909
#define R_PPC64_PLTREL32 R_PPC_PLTREL32
1910
#define R_PPC64_PLT16_LO R_PPC_PLT16_LO
1911
#define R_PPC64_PLT16_HI R_PPC_PLT16_HI
1912
#define R_PPC64_PLT16_HA R_PPC_PLT16_HA
1914
#define R_PPC64_SECTOFF R_PPC_SECTOFF
1915
#define R_PPC64_SECTOFF_LO R_PPC_SECTOFF_LO
1916
#define R_PPC64_SECTOFF_HI R_PPC_SECTOFF_HI
1917
#define R_PPC64_SECTOFF_HA R_PPC_SECTOFF_HA
1918
#define R_PPC64_ADDR30 37
1919
#define R_PPC64_ADDR64 38
1920
#define R_PPC64_ADDR16_HIGHER 39
1921
#define R_PPC64_ADDR16_HIGHERA 40
1922
#define R_PPC64_ADDR16_HIGHEST 41
1923
#define R_PPC64_ADDR16_HIGHESTA 42
1924
#define R_PPC64_UADDR64 43
1925
#define R_PPC64_REL64 44
1926
#define R_PPC64_PLT64 45
1927
#define R_PPC64_PLTREL64 46
1928
#define R_PPC64_TOC16 47
1929
#define R_PPC64_TOC16_LO 48
1930
#define R_PPC64_TOC16_HI 49
1931
#define R_PPC64_TOC16_HA 50
1932
#define R_PPC64_TOC 51
1933
#define R_PPC64_PLTGOT16 52
1934
#define R_PPC64_PLTGOT16_LO 53
1935
#define R_PPC64_PLTGOT16_HI 54
1936
#define R_PPC64_PLTGOT16_HA 55
1938
#define R_PPC64_ADDR16_DS 56
1939
#define R_PPC64_ADDR16_LO_DS 57
1940
#define R_PPC64_GOT16_DS 58
1941
#define R_PPC64_GOT16_LO_DS 59
1942
#define R_PPC64_PLT16_LO_DS 60
1943
#define R_PPC64_SECTOFF_DS 61
1944
#define R_PPC64_SECTOFF_LO_DS 62
1945
#define R_PPC64_TOC16_DS 63
1946
#define R_PPC64_TOC16_LO_DS 64
1947
#define R_PPC64_PLTGOT16_DS 65
1948
#define R_PPC64_PLTGOT16_LO_DS 66
1951
#define R_PPC64_TLS 67
1952
#define R_PPC64_DTPMOD64 68
1953
#define R_PPC64_TPREL16 69
1954
#define R_PPC64_TPREL16_LO 70
1955
#define R_PPC64_TPREL16_HI 71
1956
#define R_PPC64_TPREL16_HA 72
1957
#define R_PPC64_TPREL64 73
1958
#define R_PPC64_DTPREL16 74
1959
#define R_PPC64_DTPREL16_LO 75
1960
#define R_PPC64_DTPREL16_HI 76
1961
#define R_PPC64_DTPREL16_HA 77
1962
#define R_PPC64_DTPREL64 78
1963
#define R_PPC64_GOT_TLSGD16 79
1964
#define R_PPC64_GOT_TLSGD16_LO 80
1965
#define R_PPC64_GOT_TLSGD16_HI 81
1966
#define R_PPC64_GOT_TLSGD16_HA 82
1967
#define R_PPC64_GOT_TLSLD16 83
1968
#define R_PPC64_GOT_TLSLD16_LO 84
1969
#define R_PPC64_GOT_TLSLD16_HI 85
1970
#define R_PPC64_GOT_TLSLD16_HA 86
1971
#define R_PPC64_GOT_TPREL16_DS 87
1972
#define R_PPC64_GOT_TPREL16_LO_DS 88
1973
#define R_PPC64_GOT_TPREL16_HI 89
1974
#define R_PPC64_GOT_TPREL16_HA 90
1975
#define R_PPC64_GOT_DTPREL16_DS 91
1976
#define R_PPC64_GOT_DTPREL16_LO_DS 92
1977
#define R_PPC64_GOT_DTPREL16_HI 93
1978
#define R_PPC64_GOT_DTPREL16_HA 94
1979
#define R_PPC64_TPREL16_DS 95
1980
#define R_PPC64_TPREL16_LO_DS 96
1981
#define R_PPC64_TPREL16_HIGHER 97
1982
#define R_PPC64_TPREL16_HIGHERA 98
1983
#define R_PPC64_TPREL16_HIGHEST 99
1984
#define R_PPC64_TPREL16_HIGHESTA 100
1985
#define R_PPC64_DTPREL16_DS 101
1986
#define R_PPC64_DTPREL16_LO_DS 102
1987
#define R_PPC64_DTPREL16_HIGHER 103
1988
#define R_PPC64_DTPREL16_HIGHERA 104
1989
#define R_PPC64_DTPREL16_HIGHEST 105
1990
#define R_PPC64_DTPREL16_HIGHESTA 106
1993
#define R_PPC64_JMP_IREL 247
1994
#define R_PPC64_IRELATIVE 248
1995
#define R_PPC64_REL16 249
1996
#define R_PPC64_REL16_LO 250
1997
#define R_PPC64_REL16_HI 251
1998
#define R_PPC64_REL16_HA 252
2001
#define DT_PPC64_GLINK (DT_LOPROC + 0)
2002
#define DT_PPC64_OPD (DT_LOPROC + 1)
2003
#define DT_PPC64_OPDSZ (DT_LOPROC + 2)
2004
#define DT_PPC64_NUM 3
2010
#define EF_ARM_RELEXEC 0x01
2011
#define EF_ARM_HASENTRY 0x02
2012
#define EF_ARM_INTERWORK 0x04
2013
#define EF_ARM_APCS_26 0x08
2014
#define EF_ARM_APCS_FLOAT 0x10
2015
#define EF_ARM_PIC 0x20
2016
#define EF_ARM_ALIGN8 0x40
2017
#define EF_ARM_NEW_ABI 0x80
2018
#define EF_ARM_OLD_ABI 0x100
2019
#define EF_ARM_SOFT_FLOAT 0x200
2020
#define EF_ARM_VFP_FLOAT 0x400
2021
#define EF_ARM_MAVERICK_FLOAT 0x800
2026
#define EF_ARM_SYMSARESORTED 0x04
2027
#define EF_ARM_DYNSYMSUSESEGIDX 0x08
2028
#define EF_ARM_MAPSYMSFIRST 0x10
2029
#define EF_ARM_EABIMASK 0XFF000000
2032
#define EF_ARM_BE8 0x00800000
2033
#define EF_ARM_LE8 0x00400000
2035
#define EF_ARM_EABI_VERSION(flags) ((flags) & EF_ARM_EABIMASK)
2036
#define EF_ARM_EABI_UNKNOWN 0x00000000
2037
#define EF_ARM_EABI_VER1 0x01000000
2038
#define EF_ARM_EABI_VER2 0x02000000
2039
#define EF_ARM_EABI_VER3 0x03000000
2040
#define EF_ARM_EABI_VER4 0x04000000
2041
#define EF_ARM_EABI_VER5 0x05000000
2044
#define STT_ARM_TFUNC STT_LOPROC
2045
#define STT_ARM_16BIT STT_HIPROC
2048
#define SHF_ARM_ENTRYSECT 0x10000000
2049
#define SHF_ARM_COMDEF 0x80000000
2053
#define PF_ARM_SB 0x10000000
2055
#define PF_ARM_PI 0x20000000
2056
#define PF_ARM_ABS 0x40000000
2059
#define PT_ARM_EXIDX (PT_LOPROC + 1)
2062
#define SHT_ARM_EXIDX (SHT_LOPROC + 1)
2063
#define SHT_ARM_PREEMPTMAP (SHT_LOPROC + 2)
2064
#define SHT_ARM_ATTRIBUTES (SHT_LOPROC + 3)
2069
#define R_ARM_NONE 0
2070
#define R_ARM_PC24 1
2071
#define R_ARM_ABS32 2
2072
#define R_ARM_REL32 3
2073
#define R_ARM_PC13 4
2074
#define R_ARM_ABS16 5
2075
#define R_ARM_ABS12 6
2076
#define R_ARM_THM_ABS5 7
2077
#define R_ARM_ABS8 8
2078
#define R_ARM_SBREL32 9
2079
#define R_ARM_THM_PC22 10
2080
#define R_ARM_THM_PC8 11
2081
#define R_ARM_AMP_VCALL9 12
2082
#define R_ARM_SWI24 13
2083
#define R_ARM_THM_SWI8 14
2084
#define R_ARM_XPC25 15
2085
#define R_ARM_THM_XPC22 16
2086
#define R_ARM_TLS_DTPMOD32 17
2087
#define R_ARM_TLS_DTPOFF32 18
2088
#define R_ARM_TLS_TPOFF32 19
2089
#define R_ARM_COPY 20
2090
#define R_ARM_GLOB_DAT 21
2091
#define R_ARM_JUMP_SLOT 22
2092
#define R_ARM_RELATIVE 23
2093
#define R_ARM_GOTOFF 24
2094
#define R_ARM_GOTPC 25
2095
#define R_ARM_GOT32 26
2096
#define R_ARM_PLT32 27
2097
#define R_ARM_ALU_PCREL_7_0 32
2098
#define R_ARM_ALU_PCREL_15_8 33
2099
#define R_ARM_ALU_PCREL_23_15 34
2100
#define R_ARM_LDR_SBREL_11_0 35
2101
#define R_ARM_ALU_SBREL_19_12 36
2102
#define R_ARM_ALU_SBREL_27_20 37
2103
#define R_ARM_GNU_VTENTRY 100
2104
#define R_ARM_GNU_VTINHERIT 101
2105
#define R_ARM_THM_PC11 102
2106
#define R_ARM_THM_PC9 103
2107
#define R_ARM_TLS_GD32 104
2109
#define R_ARM_TLS_LDM32 105
2111
#define R_ARM_TLS_LDO32 106
2113
#define R_ARM_TLS_IE32 107
2115
#define R_ARM_TLS_LE32 108
2117
#define R_ARM_RXPC25 249
2118
#define R_ARM_RSBREL32 250
2119
#define R_ARM_THM_RPC22 251
2120
#define R_ARM_RREL32 252
2121
#define R_ARM_RABS22 253
2122
#define R_ARM_RPC24 254
2123
#define R_ARM_RBASE 255
2125
#define R_ARM_NUM 256
2130
#define EF_IA_64_MASKOS 0x0000000f
2131
#define EF_IA_64_ABI64 0x00000010
2132
#define EF_IA_64_ARCH 0xff000000
2135
#define PT_IA_64_ARCHEXT (PT_LOPROC + 0)
2136
#define PT_IA_64_UNWIND (PT_LOPROC + 1)
2137
#define PT_IA_64_HP_OPT_ANOT (PT_LOOS + 0x12)
2138
#define PT_IA_64_HP_HSL_ANOT (PT_LOOS + 0x13)
2139
#define PT_IA_64_HP_STACK (PT_LOOS + 0x14)
2142
#define PF_IA_64_NORECOV 0x80000000
2145
#define SHT_IA_64_EXT (SHT_LOPROC + 0)
2146
#define SHT_IA_64_UNWIND (SHT_LOPROC + 1)
2149
#define SHF_IA_64_SHORT 0x10000000
2150
#define SHF_IA_64_NORECOV 0x20000000
2153
#define DT_IA_64_PLT_RESERVE (DT_LOPROC + 0)
2154
#define DT_IA_64_NUM 1
2157
#define R_IA64_NONE 0x00
2158
#define R_IA64_IMM14 0x21
2159
#define R_IA64_IMM22 0x22
2160
#define R_IA64_IMM64 0x23
2161
#define R_IA64_DIR32MSB 0x24
2162
#define R_IA64_DIR32LSB 0x25
2163
#define R_IA64_DIR64MSB 0x26
2164
#define R_IA64_DIR64LSB 0x27
2165
#define R_IA64_GPREL22 0x2a
2166
#define R_IA64_GPREL64I 0x2b
2167
#define R_IA64_GPREL32MSB 0x2c
2168
#define R_IA64_GPREL32LSB 0x2d
2169
#define R_IA64_GPREL64MSB 0x2e
2170
#define R_IA64_GPREL64LSB 0x2f
2171
#define R_IA64_LTOFF22 0x32
2172
#define R_IA64_LTOFF64I 0x33
2173
#define R_IA64_PLTOFF22 0x3a
2174
#define R_IA64_PLTOFF64I 0x3b
2175
#define R_IA64_PLTOFF64MSB 0x3e
2176
#define R_IA64_PLTOFF64LSB 0x3f
2177
#define R_IA64_FPTR64I 0x43
2178
#define R_IA64_FPTR32MSB 0x44
2179
#define R_IA64_FPTR32LSB 0x45
2180
#define R_IA64_FPTR64MSB 0x46
2181
#define R_IA64_FPTR64LSB 0x47
2182
#define R_IA64_PCREL60B 0x48
2183
#define R_IA64_PCREL21B 0x49
2184
#define R_IA64_PCREL21M 0x4a
2185
#define R_IA64_PCREL21F 0x4b
2186
#define R_IA64_PCREL32MSB 0x4c
2187
#define R_IA64_PCREL32LSB 0x4d
2188
#define R_IA64_PCREL64MSB 0x4e
2189
#define R_IA64_PCREL64LSB 0x4f
2190
#define R_IA64_LTOFF_FPTR22 0x52
2191
#define R_IA64_LTOFF_FPTR64I 0x53
2192
#define R_IA64_LTOFF_FPTR32MSB 0x54
2193
#define R_IA64_LTOFF_FPTR32LSB 0x55
2194
#define R_IA64_LTOFF_FPTR64MSB 0x56
2195
#define R_IA64_LTOFF_FPTR64LSB 0x57
2196
#define R_IA64_SEGREL32MSB 0x5c
2197
#define R_IA64_SEGREL32LSB 0x5d
2198
#define R_IA64_SEGREL64MSB 0x5e
2199
#define R_IA64_SEGREL64LSB 0x5f
2200
#define R_IA64_SECREL32MSB 0x64
2201
#define R_IA64_SECREL32LSB 0x65
2202
#define R_IA64_SECREL64MSB 0x66
2203
#define R_IA64_SECREL64LSB 0x67
2204
#define R_IA64_REL32MSB 0x6c
2205
#define R_IA64_REL32LSB 0x6d
2206
#define R_IA64_REL64MSB 0x6e
2207
#define R_IA64_REL64LSB 0x6f
2208
#define R_IA64_LTV32MSB 0x74
2209
#define R_IA64_LTV32LSB 0x75
2210
#define R_IA64_LTV64MSB 0x76
2211
#define R_IA64_LTV64LSB 0x77
2212
#define R_IA64_PCREL21BI 0x79
2213
#define R_IA64_PCREL22 0x7a
2214
#define R_IA64_PCREL64I 0x7b
2215
#define R_IA64_IPLTMSB 0x80
2216
#define R_IA64_IPLTLSB 0x81
2217
#define R_IA64_COPY 0x84
2218
#define R_IA64_SUB 0x85
2219
#define R_IA64_LTOFF22X 0x86
2220
#define R_IA64_LDXMOV 0x87
2221
#define R_IA64_TPREL14 0x91
2222
#define R_IA64_TPREL22 0x92
2223
#define R_IA64_TPREL64I 0x93
2224
#define R_IA64_TPREL64MSB 0x96
2225
#define R_IA64_TPREL64LSB 0x97
2226
#define R_IA64_LTOFF_TPREL22 0x9a
2227
#define R_IA64_DTPMOD64MSB 0xa6
2228
#define R_IA64_DTPMOD64LSB 0xa7
2229
#define R_IA64_LTOFF_DTPMOD22 0xaa
2230
#define R_IA64_DTPREL14 0xb1
2231
#define R_IA64_DTPREL22 0xb2
2232
#define R_IA64_DTPREL64I 0xb3
2233
#define R_IA64_DTPREL32MSB 0xb4
2234
#define R_IA64_DTPREL32LSB 0xb5
2235
#define R_IA64_DTPREL64MSB 0xb6
2236
#define R_IA64_DTPREL64LSB 0xb7
2237
#define R_IA64_LTOFF_DTPREL22 0xba
2243
#define R_SH_DIR32 1
2244
#define R_SH_REL32 2
2245
#define R_SH_DIR8WPN 3
2246
#define R_SH_IND12W 4
2247
#define R_SH_DIR8WPL 5
2248
#define R_SH_DIR8WPZ 6
2249
#define R_SH_DIR8BP 7
2250
#define R_SH_DIR8W 8
2251
#define R_SH_DIR8L 9
2252
#define R_SH_SWITCH16 25
2253
#define R_SH_SWITCH32 26
2254
#define R_SH_USES 27
2255
#define R_SH_COUNT 28
2256
#define R_SH_ALIGN 29
2257
#define R_SH_CODE 30
2258
#define R_SH_DATA 31
2259
#define R_SH_LABEL 32
2260
#define R_SH_SWITCH8 33
2261
#define R_SH_GNU_VTINHERIT 34
2262
#define R_SH_GNU_VTENTRY 35
2263
#define R_SH_TLS_GD_32 144
2264
#define R_SH_TLS_LD_32 145
2265
#define R_SH_TLS_LDO_32 146
2266
#define R_SH_TLS_IE_32 147
2267
#define R_SH_TLS_LE_32 148
2268
#define R_SH_TLS_DTPMOD32 149
2269
#define R_SH_TLS_DTPOFF32 150
2270
#define R_SH_TLS_TPOFF32 151
2271
#define R_SH_GOT32 160
2272
#define R_SH_PLT32 161
2273
#define R_SH_COPY 162
2274
#define R_SH_GLOB_DAT 163
2275
#define R_SH_JMP_SLOT 164
2276
#define R_SH_RELATIVE 165
2277
#define R_SH_GOTOFF 166
2278
#define R_SH_GOTPC 167
2280
#define R_SH_NUM 256
2284
#define R_390_NONE 0
2289
#define R_390_PC32 5
2290
#define R_390_GOT12 6
2291
#define R_390_GOT32 7
2292
#define R_390_PLT32 8
2293
#define R_390_COPY 9
2294
#define R_390_GLOB_DAT 10
2295
#define R_390_JMP_SLOT 11
2296
#define R_390_RELATIVE 12
2297
#define R_390_GOTOFF32 13
2298
#define R_390_GOTPC 14
2299
#define R_390_GOT16 15
2300
#define R_390_PC16 16
2301
#define R_390_PC16DBL 17
2302
#define R_390_PLT16DBL 18
2303
#define R_390_PC32DBL 19
2304
#define R_390_PLT32DBL 20
2305
#define R_390_GOTPCDBL 21
2307
#define R_390_PC64 23
2308
#define R_390_GOT64 24
2309
#define R_390_PLT64 25
2310
#define R_390_GOTENT 26
2311
#define R_390_GOTOFF16 27
2312
#define R_390_GOTOFF64 28
2313
#define R_390_GOTPLT12 29
2314
#define R_390_GOTPLT16 30
2315
#define R_390_GOTPLT32 31
2316
#define R_390_GOTPLT64 32
2317
#define R_390_GOTPLTENT 33
2318
#define R_390_PLTOFF16 34
2319
#define R_390_PLTOFF32 35
2320
#define R_390_PLTOFF64 36
2321
#define R_390_TLS_LOAD 37
2322
#define R_390_TLS_GDCALL 38
2324
#define R_390_TLS_LDCALL 39
2326
#define R_390_TLS_GD32 40
2328
#define R_390_TLS_GD64 41
2330
#define R_390_TLS_GOTIE12 42
2332
#define R_390_TLS_GOTIE32 43
2334
#define R_390_TLS_GOTIE64 44
2336
#define R_390_TLS_LDM32 45
2338
#define R_390_TLS_LDM64 46
2340
#define R_390_TLS_IE32 47
2342
#define R_390_TLS_IE64 48
2344
#define R_390_TLS_IEENT 49
2346
#define R_390_TLS_LE32 50
2348
#define R_390_TLS_LE64 51
2350
#define R_390_TLS_LDO32 52
2352
#define R_390_TLS_LDO64 53
2354
#define R_390_TLS_DTPMOD 54
2355
#define R_390_TLS_DTPOFF 55
2356
#define R_390_TLS_TPOFF 56
2359
#define R_390_GOT20 58
2360
#define R_390_GOTPLT20 59
2361
#define R_390_TLS_GOTIE20 60
2364
#define R_390_NUM 61
2368
#define R_CRIS_NONE 0
2372
#define R_CRIS_8_PCREL 4
2373
#define R_CRIS_16_PCREL 5
2374
#define R_CRIS_32_PCREL 6
2375
#define R_CRIS_GNU_VTINHERIT 7
2376
#define R_CRIS_GNU_VTENTRY 8
2377
#define R_CRIS_COPY 9
2378
#define R_CRIS_GLOB_DAT 10
2379
#define R_CRIS_JUMP_SLOT 11
2380
#define R_CRIS_RELATIVE 12
2381
#define R_CRIS_16_GOT 13
2382
#define R_CRIS_32_GOT 14
2383
#define R_CRIS_16_GOTPLT 15
2384
#define R_CRIS_32_GOTPLT 16
2385
#define R_CRIS_32_GOTREL 17
2386
#define R_CRIS_32_PLT_GOTREL 18
2387
#define R_CRIS_32_PLT_PCREL 19
2389
#define R_CRIS_NUM 20
2393
#define R_X86_64_NONE 0
2394
#define R_X86_64_64 1
2395
#define R_X86_64_PC32 2
2396
#define R_X86_64_GOT32 3
2397
#define R_X86_64_PLT32 4
2398
#define R_X86_64_COPY 5
2399
#define R_X86_64_GLOB_DAT 6
2400
#define R_X86_64_JUMP_SLOT 7
2401
#define R_X86_64_RELATIVE 8
2402
#define R_X86_64_GOTPCREL 9
2404
#define R_X86_64_32 10
2405
#define R_X86_64_32S 11
2406
#define R_X86_64_16 12
2407
#define R_X86_64_PC16 13
2408
#define R_X86_64_8 14
2409
#define R_X86_64_PC8 15
2410
#define R_X86_64_DTPMOD64 16
2411
#define R_X86_64_DTPOFF64 17
2412
#define R_X86_64_TPOFF64 18
2413
#define R_X86_64_TLSGD 19
2415
#define R_X86_64_TLSLD 20
2417
#define R_X86_64_DTPOFF32 21
2418
#define R_X86_64_GOTTPOFF 22
2420
#define R_X86_64_TPOFF32 23
2421
#define R_X86_64_PC64 24
2422
#define R_X86_64_GOTOFF64 25
2423
#define R_X86_64_GOTPC32 26
2426
#define R_X86_64_GOTPC32_TLSDESC 34
2427
#define R_X86_64_TLSDESC_CALL 35
2429
#define R_X86_64_TLSDESC 36
2430
#define R_X86_64_IRELATIVE 37
2432
#define R_X86_64_NUM 38
2436
#define R_MN10300_NONE 0
2437
#define R_MN10300_32 1
2438
#define R_MN10300_16 2
2439
#define R_MN10300_8 3
2440
#define R_MN10300_PCREL32 4
2441
#define R_MN10300_PCREL16 5
2442
#define R_MN10300_PCREL8 6
2443
#define R_MN10300_GNU_VTINHERIT 7
2444
#define R_MN10300_GNU_VTENTRY 8
2445
#define R_MN10300_24 9
2446
#define R_MN10300_GOTPC32 10
2447
#define R_MN10300_GOTPC16 11
2448
#define R_MN10300_GOTOFF32 12
2449
#define R_MN10300_GOTOFF24 13
2450
#define R_MN10300_GOTOFF16 14
2451
#define R_MN10300_PLT32 15
2452
#define R_MN10300_PLT16 16
2453
#define R_MN10300_GOT32 17
2454
#define R_MN10300_GOT24 18
2455
#define R_MN10300_GOT16 19
2456
#define R_MN10300_COPY 20
2457
#define R_MN10300_GLOB_DAT 21
2458
#define R_MN10300_JMP_SLOT 22
2459
#define R_MN10300_RELATIVE 23
2461
#define R_MN10300_NUM 24
2465
#define R_M32R_NONE 0
2469
#define R_M32R_10_PCREL 4
2470
#define R_M32R_18_PCREL 5
2471
#define R_M32R_26_PCREL 6
2472
#define R_M32R_HI16_ULO 7
2473
#define R_M32R_HI16_SLO 8
2474
#define R_M32R_LO16 9
2475
#define R_M32R_SDA16 10
2476
#define R_M32R_GNU_VTINHERIT 11
2477
#define R_M32R_GNU_VTENTRY 12
2479
#define R_M32R_16_RELA 33
2480
#define R_M32R_32_RELA 34
2481
#define R_M32R_24_RELA 35
2482
#define R_M32R_10_PCREL_RELA 36
2483
#define R_M32R_18_PCREL_RELA 37
2484
#define R_M32R_26_PCREL_RELA 38
2485
#define R_M32R_HI16_ULO_RELA 39
2486
#define R_M32R_HI16_SLO_RELA 40
2487
#define R_M32R_LO16_RELA 41
2488
#define R_M32R_SDA16_RELA 42
2489
#define R_M32R_RELA_GNU_VTINHERIT 43
2490
#define R_M32R_RELA_GNU_VTENTRY 44
2491
#define R_M32R_REL32 45
2493
#define R_M32R_GOT24 48
2494
#define R_M32R_26_PLTREL 49
2495
#define R_M32R_COPY 50
2496
#define R_M32R_GLOB_DAT 51
2497
#define R_M32R_JMP_SLOT 52
2498
#define R_M32R_RELATIVE 53
2499
#define R_M32R_GOTOFF 54
2500
#define R_M32R_GOTPC24 55
2501
#define R_M32R_GOT16_HI_ULO 56
2503
#define R_M32R_GOT16_HI_SLO 57
2505
#define R_M32R_GOT16_LO 58
2506
#define R_M32R_GOTPC_HI_ULO 59
2508
#define R_M32R_GOTPC_HI_SLO 60
2510
#define R_M32R_GOTPC_LO 61
2512
#define R_M32R_GOTOFF_HI_ULO 62
2514
#define R_M32R_GOTOFF_HI_SLO 63
2516
#define R_M32R_GOTOFF_LO 64
2517
#define R_M32R_NUM 256
2519
#define R_MICROBLAZE_NONE 0
2520
#define R_MICROBLAZE_32 1
2521
#define R_MICROBLAZE_32_PCREL 2
2522
#define R_MICROBLAZE_64_PCREL 3
2523
#define R_MICROBLAZE_32_PCREL_LO 4
2524
#define R_MICROBLAZE_64 5
2525
#define R_MICROBLAZE_32_LO 6
2526
#define R_MICROBLAZE_SRO32 7
2527
#define R_MICROBLAZE_SRW32 8
2528
#define R_MICROBLAZE_64_NONE 9
2529
#define R_MICROBLAZE_32_SYM_OP_SYM 10
2530
#define R_MICROBLAZE_GNU_VTINHERIT 11
2531
#define R_MICROBLAZE_GNU_VTENTRY 12
2532
#define R_MICROBLAZE_GOTPC_64 13
2533
#define R_MICROBLAZE_GOT_64 14
2534
#define R_MICROBLAZE_PLT_64 15
2535
#define R_MICROBLAZE_REL 16
2536
#define R_MICROBLAZE_JUMP_SLOT 17
2537
#define R_MICROBLAZE_GLOB_DAT 18
2538
#define R_MICROBLAZE_GOTOFF_64 19
2539
#define R_MICROBLAZE_GOTOFF_32 20
2540
#define R_MICROBLAZE_COPY 21
2541
#define R_MICROBLAZE_TLS 22
2542
#define R_MICROBLAZE_TLSGD 23
2543
#define R_MICROBLAZE_TLSLD 24
2544
#define R_MICROBLAZE_TLSDTPMOD32 25
2545
#define R_MICROBLAZE_TLSDTPREL32 26
2546
#define R_MICROBLAZE_TLSDTPREL64 27
2547
#define R_MICROBLAZE_TLSGOTTPREL32 28
2548
#define R_MICROBLAZE_TLSTPREL32 29