Loading...
Searching...
No Matches
Go to the documentation of this file.
38#ifndef _SYS_ELF_COMMON_H_
39#define _SYS_ELF_COMMON_H_ 1
70#define EI_ABIVERSION 8
80#define ELFMAG "\177ELF"
98#define ELFOSABI_NONE 0
99#define ELFOSABI_HPUX 1
100#define ELFOSABI_NETBSD 2
101#define ELFOSABI_LINUX 3
102#define ELFOSABI_HURD 4
103#define ELFOSABI_86OPEN 5
104#define ELFOSABI_SOLARIS 6
105#define ELFOSABI_AIX 7
106#define ELFOSABI_IRIX 8
107#define ELFOSABI_FREEBSD 9
108#define ELFOSABI_TRU64 10
109#define ELFOSABI_MODESTO 11
110#define ELFOSABI_OPENBSD 12
111#define ELFOSABI_OPENVMS 13
112#define ELFOSABI_NSK 14
113#define ELFOSABI_ARM 97
114#define ELFOSABI_STANDALONE 255
116#define ELFOSABI_SYSV ELFOSABI_NONE
117#define ELFOSABI_MONTEREY ELFOSABI_AIX
120#define IS_ELF(ehdr) ((ehdr).e_ident[EI_MAG0] == ELFMAG0 && \
121 (ehdr).e_ident[EI_MAG1] == ELFMAG1 && \
122 (ehdr).e_ident[EI_MAG2] == ELFMAG2 && \
123 (ehdr).e_ident[EI_MAG3] == ELFMAG3)
131#define ET_LOOS 0xfe00
132#define ET_HIOS 0xfeff
133#define ET_LOPROC 0xff00
134#define ET_HIPROC 0xffff
146#define EM_MIPS_RS3_LE 10
149#define EM_SPARC32PLUS 18
168#define EM_COLDFIRE 52
174#define EM_STARCORE 58
179#define EM_AMD64 EM_X86_64
180#define EM_AARCH64 183
184#define EM_MIPS_RS4_BE 10
185#define EM_ALPHA_STD 41
186#define EM_ALPHA 0x9026
190#define SHN_LORESERVE 0xff00
191#define SHN_LOPROC 0xff00
192#define SHN_HIPROC 0xff1f
193#define SHN_LOOS 0xff20
194#define SHN_HIOS 0xff3f
195#define SHN_ABS 0xfff1
196#define SHN_COMMON 0xfff2
197#define SHN_XINDEX 0xffff
198#define SHN_HIRESERVE 0xffff
202#define SHT_PROGBITS 1
213#define SHT_INIT_ARRAY 14
214#define SHT_FINI_ARRAY 15
215#define SHT_PREINIT_ARRAY 16
217#define SHT_SYMTAB_SHNDX 18
218#define SHT_LOOS 0x60000000
219#define SHT_LOSUNW 0x6ffffff4
220#define SHT_SUNW_dof 0x6ffffff4
221#define SHT_SUNW_cap 0x6ffffff5
222#define SHT_SUNW_SIGNATURE 0x6ffffff6
223#define SHT_SUNW_ANNOTATE 0x6ffffff7
224#define SHT_SUNW_DEBUGSTR 0x6ffffff8
225#define SHT_SUNW_DEBUG 0x6ffffff9
226#define SHT_SUNW_move 0x6ffffffa
227#define SHT_SUNW_COMDAT 0x6ffffffb
228#define SHT_SUNW_syminfo 0x6ffffffc
229#define SHT_SUNW_verdef 0x6ffffffd
230#define SHT_GNU_verdef 0x6ffffffd
231#define SHT_SUNW_verneed 0x6ffffffe
232#define SHT_GNU_verneed 0x6ffffffe
233#define SHT_SUNW_versym 0x6fffffff
234#define SHT_GNU_versym 0x6fffffff
235#define SHT_HISUNW 0x6fffffff
236#define SHT_HIOS 0x6fffffff
237#define SHT_LOPROC 0x70000000
238#define SHT_AMD64_UNWIND 0x70000001
239#define SHT_HIPROC 0x7fffffff
240#define SHT_LOUSER 0x80000000
241#define SHT_HIUSER 0xffffffff
246#define SHF_EXECINSTR 0x4
247#define SHF_MERGE 0x10
248#define SHF_STRINGS 0x20
249#define SHF_INFO_LINK 0x40
250#define SHF_LINK_ORDER 0x80
251#define SHF_OS_NONCONFORMING 0x100
252#define SHF_GROUP 0x200
254#define SHF_MASKOS 0x0ff00000
255#define SHF_MASKPROC 0xf0000000
266#define PT_LOOS 0x60000000
267#define PT_SUNW_UNWIND 0x6464e550
268#define PT_GNU_EH_FRAME 0x6474e550
269#define PT_LOSUNW 0x6ffffffa
270#define PT_SUNWBSS 0x6ffffffa
271#define PT_SUNWSTACK 0x6ffffffb
272#define PT_SUNWDTRACE 0x6ffffffc
273#define PT_SUNWCAP 0x6ffffffd
274#define PT_HISUNW 0x6fffffff
275#define PT_HIOS 0x6fffffff
276#define PT_LOPROC 0x70000000
277#define PT_HIPROC 0x7fffffff
283#define PF_MASKOS 0x0ff00000
284#define PF_MASKPROC 0xf0000000
287#define PN_XNUM 0xffff
308#define DT_SYMBOLIC 16
317#define DT_BIND_NOW 24
318#define DT_INIT_ARRAY 25
320#define DT_FINI_ARRAY 26
322#define DT_INIT_ARRAYSZ 27
324#define DT_FINI_ARRAYSZ 28
329#define DT_ENCODING 32
334#define DT_PREINIT_ARRAY 32
336#define DT_PREINIT_ARRAYSZ 33
338#define DT_MAXPOSTAGS 34
339#define DT_LOOS 0x6000000d
340#define DT_SUNW_AUXILIARY 0x6000000d
341#define DT_SUNW_RTLDINF 0x6000000e
342#define DT_SUNW_FILTER 0x6000000f
343#define DT_SUNW_CAP 0x60000010
344#define DT_HIOS 0x6ffff000
350#define DT_VALRNGLO 0x6ffffd00
351#define DT_CHECKSUM 0x6ffffdf8
352#define DT_PLTPADSZ 0x6ffffdf9
353#define DT_MOVEENT 0x6ffffdfa
354#define DT_MOVESZ 0x6ffffdfb
355#define DT_FEATURE_1 0x6ffffdfc
356#define DT_POSFLAG_1 0x6ffffdfd
359#define DT_SYMINSZ 0x6ffffdfe
360#define DT_SYMINENT 0x6ffffdff
361#define DT_VALRNGHI 0x6ffffdff
370#define DT_ADDRRNGLO 0x6ffffe00
371#define DT_CONFIG 0x6ffffefa
372#define DT_DEPAUDIT 0x6ffffefb
373#define DT_AUDIT 0x6ffffefc
374#define DT_PLTPAD 0x6ffffefd
375#define DT_MOVETAB 0x6ffffefe
376#define DT_SYMINFO 0x6ffffeff
377#define DT_ADDRRNGHI 0x6ffffeff
379#define DT_VERSYM 0x6ffffff0
380#define DT_RELACOUNT 0x6ffffff9
381#define DT_RELCOUNT 0x6ffffffa
382#define DT_FLAGS_1 0x6ffffffb
383#define DT_VERDEF 0x6ffffffc
384#define DT_VERDEFNUM 0x6ffffffd
385#define DT_VERNEED 0x6ffffffe
386#define DT_VERNEEDNUM 0x6fffffff
388#define DT_LOPROC 0x70000000
389#define DT_DEPRECATED_SPARC_REGISTER 0x7000001
390#define DT_AUXILIARY 0x7ffffffd
391#define DT_USED 0x7ffffffe
392#define DT_FILTER 0x7fffffff
393#define DT_HIPROC 0x7fffffff
396#define DF_ORIGIN 0x0001
399#define DF_SYMBOLIC 0x0002
400#define DF_TEXTREL 0x0004
402#define DF_BIND_NOW 0x0008
406#define DF_STATIC_TLS 0x0010
439#define STV_DEFAULT 0x0
440#define STV_INTERNAL 0x1
441#define STV_HIDDEN 0x2
442#define STV_PROTECTED 0x3
448#define VER_DEF_CURRENT 1
449#define VER_DEF_IDX(x) VER_NDX(x)
451#define VER_FLG_BASE 0x01
452#define VER_FLG_WEAK 0x02
454#define VER_NEED_CURRENT 1
455#define VER_NEED_WEAK (1u << 15)
456#define VER_NEED_HIDDEN VER_NDX_HIDDEN
457#define VER_NEED_IDX(x) VER_NDX(x)
459#define VER_NDX_LOCAL 0
460#define VER_NDX_GLOBAL 1
461#define VER_NDX_GIVEN 2
463#define VER_NDX_HIDDEN (1u << 15)
464#define VER_NDX(x) ((x) & ~(1u << 15))
466#define CA_SUNW_NULL 0
467#define CA_SUNW_HW_1 1
468#define CA_SUNW_SF_1 2
473#define SYMINFO_FLG_DIRECT 0x0001
475#define SYMINFO_FLG_PASSTHRU 0x0002
476#define SYMINFO_FLG_COPY 0x0004
477#define SYMINFO_FLG_LAZYLOAD 0x0008
479#define SYMINFO_FLG_DIRECTBIND 0x0010
481#define SYMINFO_FLG_NOEXTDIRECT 0x0020
483#define SYMINFO_FLG_FILTER 0x0002
484#define SYMINFO_FLG_AUXILIARY 0x0040
489#define SYMINFO_BT_SELF 0xffff
490#define SYMINFO_BT_PARENT 0xfffe
491#define SYMINFO_BT_NONE 0xfffd
492#define SYMINFO_BT_EXTERN 0xfffc
493#define SYMINFO_BT_LOWRESERVE 0xff00
498#define SYMINFO_NONE 0
499#define SYMINFO_CURRENT 1
515#define R_386_GLOB_DAT 6
516#define R_386_JMP_SLOT 7
517#define R_386_RELATIVE 8
518#define R_386_GOTOFF 9
519#define R_386_GOTPC 10
520#define R_386_TLS_TPOFF 14
521#define R_386_TLS_IE 15
522#define R_386_TLS_GOTIE 16
523#define R_386_TLS_LE 17
524#define R_386_TLS_GD 18
525#define R_386_TLS_LDM 19
526#define R_386_TLS_GD_32 24
527#define R_386_TLS_GD_PUSH 25
528#define R_386_TLS_GD_CALL 26
529#define R_386_TLS_GD_POP 27
530#define R_386_TLS_LDM_32 28
531#define R_386_TLS_LDM_PUSH 29
532#define R_386_TLS_LDM_CALL 30
533#define R_386_TLS_LDM_POP 31
534#define R_386_TLS_LDO_32 32
535#define R_386_TLS_IE_32 33
536#define R_386_TLS_LE_32 34
537#define R_386_TLS_DTPMOD32 35
538#define R_386_TLS_DTPOFF32 36
539#define R_386_TLS_TPOFF32 37
542#define R_AARCH64_NONE 256
545#define R_AARCH64_ABS64 257
546#define R_AARCH64_ABS32 258
547#define R_AARCH64_ABS16 259
548#define R_AARCH64_PREL64 260
549#define R_AARCH64_PREL32 261
550#define R_AARCH64_PREL16 262
552#define R_AARCH64_MOVW_UABS_G0 263
553#define R_AARCH64_MOVW_UABS_G0_NC 264
554#define R_AARCH64_MOVW_UABS_G1 265
555#define R_AARCH64_MOVW_UABS_G1_NC 266
556#define R_AARCH64_MOVW_UABS_G2 267
557#define R_AARCH64_MOVW_UABS_G2_NC 268
558#define R_AARCH64_MOVW_UABS_G3 269
560#define R_AARCH64_MOVW_SABS_G0 270
561#define R_AARCH64_MOVW_SABS_G1 271
562#define R_AARCH64_MOVW_SABS_G2 272
564#define R_AARCH64_LD_PREL_LO19 273
565#define R_AARCH64_ADR_PREL_LO21 274
566#define R_AARCH64_ADR_PREL_PG_HI21 275
567#define R_AARCH64_ADR_PREL_PG_HI21_NC 276
568#define R_AARCH64_ADD_ABS_LO12_NC 277
569#define R_AARCH64_LDST8_ABS_LO12_NC 278
570#define R_AARCH64_LDST16_ABS_LO12_NC 284
571#define R_AARCH64_LDST32_ABS_LO12_NC 285
572#define R_AARCH64_LDST64_ABS_LO12_NC 286
573#define R_AARCH64_LDST128_ABS_LO12_NC 299
575#define R_AARCH64_TSTBR14 279
576#define R_AARCH64_CONDBR19 280
577#define R_AARCH64_JUMP26 282
578#define R_AARCH64_CALL26 283
580#define R_AARCH64_MOVW_PREL_G0 287
581#define R_AARCH64_MOVW_PREL_G0_NC 288
582#define R_AARCH64_MOVW_PREL_G1 289
583#define R_AARCH64_MOVW_PREL_G1_NC 290
584#define R_AARCH64_MOVW_PREL_G2 291
585#define R_AARCH64_MOVW_PREL_G2_NC 292
586#define R_AARCH64_MOVW_PREL_G3 293
588#define R_AARCH64_MOVW_GOTOFF_G0 300
589#define R_AARCH64_MOVW_GOTOFF_G0_NC 301
590#define R_AARCH64_MOVW_GOTOFF_G1 302
591#define R_AARCH64_MOVW_GOTOFF_G1_NC 303
592#define R_AARCH64_MOVW_GOTOFF_G2 304
593#define R_AARCH64_MOVW_GOTOFF_G2_NC 305
594#define R_AARCH64_MOVW_GOTOFF_G3 306
596#define R_AARCH64_GOTREL64 307
597#define R_AARCH64_GOTREL32 308
599#define R_AARCH64_GOT_LD_PREL19 309
600#define R_AARCH64_LD64_GOTOFF_LO15 310
601#define R_AARCH64_ADR_GOT_PAGE 311
602#define R_AARCH64_LD64_GOT_LO12_NC 312
603#define R_AARCH64_LD64_GOTPAGE_LO15 313
606#define R_AARCH64_TLSGD_ADR_PREL21 512
607#define R_AARCH64_TLSGD_ADR_PAGE21 513
608#define R_AARCH64_TLSGD_ADD_LO12_NC 514
609#define R_AARCH64_TLSGD_MOVW_G1 515
610#define R_AARCH64_TLSGD_MOVW_G0_NC 516
612#define R_AARCH64_TLSLD_ADR_PREL21 517
613#define R_AARCH64_TLSLD_ADR_PAGE21 518
614#define R_AARCH64_TLSLD_ADD_LO12_NC 519
615#define R_AARCH64_TLSLD_MOVW_G1 520
616#define R_AARCH64_TLSLD_MOVW_G0_NC 521
617#define R_AARCH64_TLSLD_LD_PREL19 522
618#define R_AARCH64_TLSLD_MOVW_DTPREL_G2 523
619#define R_AARCH64_TLSLD_MOVW_DTPREL_G1 524
620#define R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC 525
621#define R_AARCH64_TLSLD_MOVW_DTPREL_G0 526
622#define R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC 527
623#define R_AARCH64_TLSLD_ADD_DTPREL_HI12 528
624#define R_AARCH64_TLSLD_ADD_DTPREL_LO12 529
625#define R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC 530
626#define R_AARCH64_TLSLD_LDST8_DTPREL_LO12 531
627#define R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC 532
628#define R_AARCH64_TLSLD_LDST16_DTPREL_LO12 533
629#define R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC 534
630#define R_AARCH64_TLSLD_LDST32_DTPREL_LO12 535
631#define R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC 536
632#define R_AARCH64_TLSLD_LDST64_DTPREL_LO12 537
633#define R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC 538
635#define R_AARCH64_TLSIE_MOVW_GOTTPREL_G1 539
636#define R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC 540
637#define R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21 541
638#define R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC 542
639#define R_AARCH64_TLSIE_LD_GOTTPREL_PREL19 543
641#define R_AARCH64_TLSLE_MOVW_TPREL_G2 544
642#define R_AARCH64_TLSLE_MOVW_TPREL_G1 545
643#define R_AARCH64_TLSLE_MOVW_TPREL_G1_NC 546
644#define R_AARCH64_TLSLE_MOVW_TPREL_G0 547
645#define R_AARCH64_TLSLE_MOVW_TPREL_G0_NC 548
646#define R_AARCH64_TLSLE_ADD_TPREL_HI12 549
647#define R_AARCH64_TLSLE_ADD_TPREL_LO12 550
648#define R_AARCH64_TLSLE_ADD_TPREL_LO12_NC 551
649#define R_AARCH64_TLSLE_LDST8_TPREL_LO12 552
650#define R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC 553
651#define R_AARCH64_TLSLE_LDST16_TPREL_LO12 554
652#define R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC 555
653#define R_AARCH64_TLSLE_LDST32_TPREL_LO12 556
654#define R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC 557
655#define R_AARCH64_TLSLE_LDST64_TPREL_LO12 558
656#define R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC 559
659#define R_AARCH64_COPY 1024
660#define R_AARCH64_GLOB_DAT 1025
661#define R_AARCH64_JUMP_SLOT 1026
662#define R_AARCH64_RELATIVE 1027
663#define R_AARCH64_TLS_DTPREL64 1028
664#define R_AARCH64_TLS_DTPMOD64 1029
665#define R_AARCH64_TLS_TPREL64 1030
666#define R_AARCH64_TLS_DTPREL32 1031
667#define R_AARCH64_TLS_DTPMOD32 1032
668#define R_AARCH64_TLS_TPREL32 1033
670#define R_ALPHA_NONE 0
671#define R_ALPHA_REFLONG 1
672#define R_ALPHA_REFQUAD 2
673#define R_ALPHA_GPREL32 3
674#define R_ALPHA_LITERAL 4
675#define R_ALPHA_LITUSE 5
676#define R_ALPHA_GPDISP 6
677#define R_ALPHA_BRADDR 7
678#define R_ALPHA_HINT 8
679#define R_ALPHA_SREL16 9
680#define R_ALPHA_SREL32 10
681#define R_ALPHA_SREL64 11
682#define R_ALPHA_OP_PUSH 12
683#define R_ALPHA_OP_STORE 13
684#define R_ALPHA_OP_PSUB 14
685#define R_ALPHA_OP_PRSHIFT 15
686#define R_ALPHA_GPVALUE 16
687#define R_ALPHA_GPRELHIGH 17
688#define R_ALPHA_GPRELLOW 18
689#define R_ALPHA_IMMED_GP_16 19
690#define R_ALPHA_IMMED_GP_HI32 20
691#define R_ALPHA_IMMED_SCN_HI32 21
692#define R_ALPHA_IMMED_BR_HI32 22
693#define R_ALPHA_IMMED_LO32 23
694#define R_ALPHA_COPY 24
695#define R_ALPHA_GLOB_DAT 25
696#define R_ALPHA_JMP_SLOT 26
697#define R_ALPHA_RELATIVE 27
706#define R_ARM_THM_ABS5 7
708#define R_ARM_SBREL32 9
709#define R_ARM_THM_PC22 10
710#define R_ARM_THM_PC8 11
711#define R_ARM_AMP_VCALL9 12
712#define R_ARM_SWI24 13
713#define R_ARM_THM_SWI8 14
714#define R_ARM_XPC25 15
715#define R_ARM_THM_XPC22 16
717#define R_ARM_GLOB_DAT 21
718#define R_ARM_JUMP_SLOT 22
719#define R_ARM_RELATIVE 23
720#define R_ARM_GOTOFF 24
721#define R_ARM_GOTPC 25
722#define R_ARM_GOT32 26
723#define R_ARM_PLT32 27
725#define R_ARM_JMP24 29
726#define R_ARM_THM_MOVW_ABS_NC 47
727#define R_ARM_THM_MOVT_ABS 48
731#define R_ARM_THM_JUMP24 30
732#define R_ARM_PREL31 42
733#define R_ARM_MOVW_PREL_NC 45
734#define R_ARM_MOVT_PREL 46
735#define R_ARM_THM_MOVW_PREL_NC 49
736#define R_ARM_THM_MOVT_PREL 50
737#define R_ARM_THM_JMP6 52
738#define R_ARM_THM_ALU_PREL_11_0 53
739#define R_ARM_THM_PC12 54
740#define R_ARM_REL32_NOI 56
741#define R_ARM_ALU_PC_G0_NC 57
742#define R_ARM_ALU_PC_G0 58
743#define R_ARM_ALU_PC_G1_NC 59
744#define R_ARM_ALU_PC_G1 60
745#define R_ARM_ALU_PC_G2 61
746#define R_ARM_LDR_PC_G1 62
747#define R_ARM_LDR_PC_G2 63
748#define R_ARM_LDRS_PC_G0 64
749#define R_ARM_LDRS_PC_G1 65
750#define R_ARM_LDRS_PC_G2 66
751#define R_ARM_LDC_PC_G0 67
752#define R_ARM_LDC_PC_G1 68
753#define R_ARM_LDC_PC_G2 69
754#define R_ARM_GOT_PREL 96
755#define R_ARM_THM_JUMP11 102
756#define R_ARM_THM_JUMP8 103
757#define R_ARM_TLS_GD32 104
758#define R_ARM_TLS_LDM32 105
759#define R_ARM_TLS_IE32 107
761#define R_ARM_THM_JUMP19 51
762#define R_ARM_GNU_VTENTRY 100
763#define R_ARM_GNU_VTINHERIT 101
764#define R_ARM_RSBREL32 250
765#define R_ARM_THM_RPC22 251
766#define R_ARM_RREL32 252
767#define R_ARM_RABS32 253
768#define R_ARM_RPC24 254
769#define R_ARM_RBASE 255
772#define R_PPC_ADDR32 1
773#define R_PPC_ADDR24 2
774#define R_PPC_ADDR16 3
775#define R_PPC_ADDR16_LO 4
776#define R_PPC_ADDR16_HI 5
777#define R_PPC_ADDR16_HA 6
778#define R_PPC_ADDR14 7
779#define R_PPC_ADDR14_BRTAKEN 8
780#define R_PPC_ADDR14_BRNTAKEN 9
781#define R_PPC_REL24 10
782#define R_PPC_REL14 11
783#define R_PPC_REL14_BRTAKEN 12
784#define R_PPC_REL14_BRNTAKEN 13
785#define R_PPC_GOT16 14
786#define R_PPC_GOT16_LO 15
787#define R_PPC_GOT16_HI 16
788#define R_PPC_GOT16_HA 17
789#define R_PPC_PLTREL24 18
791#define R_PPC_GLOB_DAT 20
792#define R_PPC_JMP_SLOT 21
793#define R_PPC_RELATIVE 22
794#define R_PPC_LOCAL24PC 23
795#define R_PPC_UADDR32 24
796#define R_PPC_UADDR16 25
797#define R_PPC_REL32 26
798#define R_PPC_PLT32 27
799#define R_PPC_PLTREL32 28
800#define R_PPC_PLT16_LO 29
801#define R_PPC_PLT16_HI 30
802#define R_PPC_PLT16_HA 31
803#define R_PPC_SDAREL16 32
804#define R_PPC_SECTOFF 33
805#define R_PPC_SECTOFF_LO 34
806#define R_PPC_SECTOFF_HI 35
807#define R_PPC_SECTOFF_HA 36
813#define R_PPC_DTPMOD32 68
814#define R_PPC_TPREL16 69
815#define R_PPC_TPREL16_LO 70
816#define R_PPC_TPREL16_HI 71
817#define R_PPC_TPREL16_HA 72
818#define R_PPC_TPREL32 73
819#define R_PPC_DTPREL16 74
820#define R_PPC_DTPREL16_LO 75
821#define R_PPC_DTPREL16_HI 76
822#define R_PPC_DTPREL16_HA 77
823#define R_PPC_DTPREL32 78
824#define R_PPC_GOT_TLSGD16 79
825#define R_PPC_GOT_TLSGD16_LO 80
826#define R_PPC_GOT_TLSGD16_HI 81
827#define R_PPC_GOT_TLSGD16_HA 82
828#define R_PPC_GOT_TLSLD16 83
829#define R_PPC_GOT_TLSLD16_LO 84
830#define R_PPC_GOT_TLSLD16_HI 85
831#define R_PPC_GOT_TLSLD16_HA 86
832#define R_PPC_GOT_TPREL16 87
833#define R_PPC_GOT_TPREL16_LO 88
834#define R_PPC_GOT_TPREL16_HI 89
835#define R_PPC_GOT_TPREL16_HA 90
842#define R_PPC_EMB_NADDR32 101
843#define R_PPC_EMB_NADDR16 102
844#define R_PPC_EMB_NADDR16_LO 103
845#define R_PPC_EMB_NADDR16_HI 104
846#define R_PPC_EMB_NADDR16_HA 105
847#define R_PPC_EMB_SDAI16 106
848#define R_PPC_EMB_SDA2I16 107
849#define R_PPC_EMB_SDA2REL 108
850#define R_PPC_EMB_SDA21 109
851#define R_PPC_EMB_MRKREF 110
852#define R_PPC_EMB_RELSEC16 111
853#define R_PPC_EMB_RELST_LO 112
854#define R_PPC_EMB_RELST_HI 113
855#define R_PPC_EMB_RELST_HA 114
856#define R_PPC_EMB_BIT_FLD 115
857#define R_PPC_EMB_RELSDA 116
859#define R_SPARC_NONE 0
863#define R_SPARC_DISP8 4
864#define R_SPARC_DISP16 5
865#define R_SPARC_DISP32 6
866#define R_SPARC_WDISP30 7
867#define R_SPARC_WDISP22 8
868#define R_SPARC_HI22 9
871#define R_SPARC_LO10 12
872#define R_SPARC_GOT10 13
873#define R_SPARC_GOT13 14
874#define R_SPARC_GOT22 15
875#define R_SPARC_PC10 16
876#define R_SPARC_PC22 17
877#define R_SPARC_WPLT30 18
878#define R_SPARC_COPY 19
879#define R_SPARC_GLOB_DAT 20
880#define R_SPARC_JMP_SLOT 21
881#define R_SPARC_RELATIVE 22
882#define R_SPARC_UA32 23
883#define R_SPARC_PLT32 24
884#define R_SPARC_HIPLT22 25
885#define R_SPARC_LOPLT10 26
886#define R_SPARC_PCPLT32 27
887#define R_SPARC_PCPLT22 28
888#define R_SPARC_PCPLT10 29
892#define R_SPARC_OLO10 33
893#define R_SPARC_HH22 34
894#define R_SPARC_HM10 35
895#define R_SPARC_LM22 36
896#define R_SPARC_PC_HH22 37
897#define R_SPARC_PC_HM10 38
898#define R_SPARC_PC_LM22 39
899#define R_SPARC_WDISP16 40
900#define R_SPARC_WDISP19 41
901#define R_SPARC_GLOB_JMP 42
905#define R_SPARC_DISP64 46
906#define R_SPARC_PLT64 47
907#define R_SPARC_HIX22 48
908#define R_SPARC_LOX10 49
909#define R_SPARC_H44 50
910#define R_SPARC_M44 51
911#define R_SPARC_L44 52
912#define R_SPARC_REGISTER 53
913#define R_SPARC_UA64 54
914#define R_SPARC_UA16 55
915#define R_SPARC_TLS_GD_HI22 56
916#define R_SPARC_TLS_GD_LO10 57
917#define R_SPARC_TLS_GD_ADD 58
918#define R_SPARC_TLS_GD_CALL 59
919#define R_SPARC_TLS_LDM_HI22 60
920#define R_SPARC_TLS_LDM_LO10 61
921#define R_SPARC_TLS_LDM_ADD 62
922#define R_SPARC_TLS_LDM_CALL 63
923#define R_SPARC_TLS_LDO_HIX22 64
924#define R_SPARC_TLS_LDO_LOX10 65
925#define R_SPARC_TLS_LDO_ADD 66
926#define R_SPARC_TLS_IE_HI22 67
927#define R_SPARC_TLS_IE_LO10 68
928#define R_SPARC_TLS_IE_LD 69
929#define R_SPARC_TLS_IE_LDX 70
930#define R_SPARC_TLS_IE_ADD 71
931#define R_SPARC_TLS_LE_HIX22 72
932#define R_SPARC_TLS_LE_LOX10 73
933#define R_SPARC_TLS_DTPMOD32 74
934#define R_SPARC_TLS_DTPMOD64 75
935#define R_SPARC_TLS_DTPOFF32 76
936#define R_SPARC_TLS_DTPOFF64 77
937#define R_SPARC_TLS_TPOFF32 78
938#define R_SPARC_TLS_TPOFF64 79
940#define R_X86_64_NONE 0
942#define R_X86_64_PC32 2
943#define R_X86_64_GOT32 3
944#define R_X86_64_PLT32 4
945#define R_X86_64_COPY 5
946#define R_X86_64_GLOB_DAT 6
947#define R_X86_64_JMP_SLOT 7
948#define R_X86_64_RELATIVE 8
949#define R_X86_64_GOTPCREL 9
950#define R_X86_64_32 10
951#define R_X86_64_32S 11
952#define R_X86_64_16 12
953#define R_X86_64_PC16 13
955#define R_X86_64_PC8 15
956#define R_X86_64_DTPMOD64 16
957#define R_X86_64_DTPOFF64 17
958#define R_X86_64_TPOFF64 18
959#define R_X86_64_TLSGD 19
960#define R_X86_64_TLSLD 20
961#define R_X86_64_DTPOFF32 21
962#define R_X86_64_GOTTPOFF 22
963#define R_X86_64_TPOFF32 23
964#define R_X86_64_PC64 24
965#define R_X86_64_GOTOFF64 25
966#define R_X86_64_GOTPC3 26
967#define R_X86_64_GOT64 27
968#define R_X86_64_GOTPCREL64 28
969#define R_X86_64_GOTPC64 29
970#define R_X86_64_GOTPLT64 30
971#define R_X86_64_PLTOFF64 31
972#define R_X86_64_SIZE32 32
973#define R_X86_64_SIZE64 33
974#define R_X86_64_GOTPC32_TLSDESC 34
975#define R_X86_64_TLSDESC_CALL 35
976#define R_X86_64_TLSDESC 36
977#define R_X86_64_IRELATIVE 37
978#define R_X86_64_RELATIVE64 38
979#define R_X86_64_GOTPCRELX 41
980#define R_X86_64_REX_GOTPCRELX 42