1
2
3 package objabi
4
5 import "strconv"
6
7 func _() {
8
9
10 var x [1]struct{}
11 _ = x[R_ADDR-1]
12 _ = x[R_ADDRPOWER-2]
13 _ = x[R_ADDRARM64-3]
14 _ = x[R_ADDRMIPS-4]
15 _ = x[R_ADDROFF-5]
16 _ = x[R_SIZE-6]
17 _ = x[R_CALL-7]
18 _ = x[R_CALLARM-8]
19 _ = x[R_CALLARM64-9]
20 _ = x[R_CALLIND-10]
21 _ = x[R_CALLPOWER-11]
22 _ = x[R_CALLMIPS-12]
23 _ = x[R_CONST-13]
24 _ = x[R_PCREL-14]
25 _ = x[R_TLS_LE-15]
26 _ = x[R_TLS_IE-16]
27 _ = x[R_GOTOFF-17]
28 _ = x[R_PLT0-18]
29 _ = x[R_PLT1-19]
30 _ = x[R_PLT2-20]
31 _ = x[R_USEFIELD-21]
32 _ = x[R_USETYPE-22]
33 _ = x[R_USEIFACE-23]
34 _ = x[R_USEIFACEMETHOD-24]
35 _ = x[R_USEGENERICIFACEMETHOD-25]
36 _ = x[R_METHODOFF-26]
37 _ = x[R_KEEP-27]
38 _ = x[R_POWER_TOC-28]
39 _ = x[R_GOTPCREL-29]
40 _ = x[R_JMPMIPS-30]
41 _ = x[R_DWARFSECREF-31]
42 _ = x[R_DWARFFILEREF-32]
43 _ = x[R_ARM64_TLS_LE-33]
44 _ = x[R_ARM64_TLS_IE-34]
45 _ = x[R_ARM64_GOTPCREL-35]
46 _ = x[R_ARM64_GOT-36]
47 _ = x[R_ARM64_PCREL-37]
48 _ = x[R_ARM64_LDST8-38]
49 _ = x[R_ARM64_LDST16-39]
50 _ = x[R_ARM64_LDST32-40]
51 _ = x[R_ARM64_LDST64-41]
52 _ = x[R_ARM64_LDST128-42]
53 _ = x[R_POWER_TLS_LE-43]
54 _ = x[R_POWER_TLS_IE-44]
55 _ = x[R_POWER_TLS-45]
56 _ = x[R_ADDRPOWER_DS-46]
57 _ = x[R_ADDRPOWER_GOT-47]
58 _ = x[R_ADDRPOWER_PCREL-48]
59 _ = x[R_ADDRPOWER_TOCREL-49]
60 _ = x[R_ADDRPOWER_TOCREL_DS-50]
61 _ = x[R_RISCV_CALL-51]
62 _ = x[R_RISCV_CALL_TRAMP-52]
63 _ = x[R_RISCV_PCREL_ITYPE-53]
64 _ = x[R_RISCV_PCREL_STYPE-54]
65 _ = x[R_RISCV_TLS_IE_ITYPE-55]
66 _ = x[R_RISCV_TLS_IE_STYPE-56]
67 _ = x[R_PCRELDBL-57]
68 _ = x[R_ADDRMIPSU-58]
69 _ = x[R_ADDRMIPSTLS-59]
70 _ = x[R_ADDRCUOFF-60]
71 _ = x[R_WASMIMPORT-61]
72 _ = x[R_XCOFFREF-62]
73 }
74
75 const _RelocType_name = "R_ADDRR_ADDRPOWERR_ADDRARM64R_ADDRMIPSR_ADDROFFR_SIZER_CALLR_CALLARMR_CALLARM64R_CALLINDR_CALLPOWERR_CALLMIPSR_CONSTR_PCRELR_TLS_LER_TLS_IER_GOTOFFR_PLT0R_PLT1R_PLT2R_USEFIELDR_USETYPER_USEIFACER_USEIFACEMETHODR_USEGENERICIFACEMETHODR_METHODOFFR_KEEPR_POWER_TOCR_GOTPCRELR_JMPMIPSR_DWARFSECREFR_DWARFFILEREFR_ARM64_TLS_LER_ARM64_TLS_IER_ARM64_GOTPCRELR_ARM64_GOTR_ARM64_PCRELR_ARM64_LDST8R_ARM64_LDST16R_ARM64_LDST32R_ARM64_LDST64R_ARM64_LDST128R_POWER_TLS_LER_POWER_TLS_IER_POWER_TLSR_ADDRPOWER_DSR_ADDRPOWER_GOTR_ADDRPOWER_PCRELR_ADDRPOWER_TOCRELR_ADDRPOWER_TOCREL_DSR_RISCV_CALLR_RISCV_CALL_TRAMPR_RISCV_PCREL_ITYPER_RISCV_PCREL_STYPER_RISCV_TLS_IE_ITYPER_RISCV_TLS_IE_STYPER_PCRELDBLR_ADDRMIPSUR_ADDRMIPSTLSR_ADDRCUOFFR_WASMIMPORTR_XCOFFREF"
76
77 var _RelocType_index = [...]uint16{0, 6, 17, 28, 38, 47, 53, 59, 68, 79, 88, 99, 109, 116, 123, 131, 139, 147, 153, 159, 165, 175, 184, 194, 210, 233, 244, 250, 261, 271, 280, 293, 307, 321, 335, 351, 362, 375, 388, 402, 416, 430, 445, 459, 473, 484, 498, 513, 530, 548, 569, 581, 599, 618, 637, 657, 677, 687, 698, 711, 722, 734, 744}
78
79 func (i RelocType) String() string {
80 i -= 1
81 if i < 0 || i >= RelocType(len(_RelocType_index)-1) {
82 return "RelocType(" + strconv.FormatInt(int64(i+1), 10) + ")"
83 }
84 return _RelocType_name[_RelocType_index[i]:_RelocType_index[i+1]]
85 }
86
View as plain text