llvm.org GIT mirror llvm / 0553302
[llvm-readobj] - Rewrite reloc-types.test to use YAML. NFCI. This change rewrites and splits reloc-types.test to use yaml2obj instead of precompiled binaries. That allowed to remove 7 precompiled objects from the inputs. I took the existent objects, used obj2yaml on them, simplified the result and used yaml2obj in the test case with the result. Notes: * I converted, but did not remove relocs.obj.elf-i386, relocs.obj.elf-x86_64 or relocs.obj.elf-mips objects because found they are used in other tests. * I was unable to convert relocs.obj.elf-ppc64, because obj2yaml hangs on this file for me. * I was unable to convert relocs.obj.macho-arm, relocs.obj.macho-i386 and relocs.obj.macho-x86_64 because the output produced by obj2yaml does not seem to be correct. * Because of the above I did not remove the script for creating all of those objects: test\tools\llvm-readobj\Inputs\relocs.py Differential revision: https://reviews.llvm.org/D62594 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@362089 91177308-0d34-0410-b5e6-96231b3b80d8 George Rimar 1 year, 7 days ago
21 changed file(s) with 1843 addition(s) and 699 deletion(s). Raw diff Collapse all Expand all
test/tools/llvm-readobj/Inputs/relocs.obj.coff-i386 less more
Binary diff not shown
test/tools/llvm-readobj/Inputs/relocs.obj.coff-x86_64 less more
Binary diff not shown
test/tools/llvm-readobj/Inputs/relocs.obj.elf-aarch64 less more
Binary diff not shown
+0
-0
test/tools/llvm-readobj/Inputs/relocs.obj.elf-aarch64-ilp32 less more
(Empty file)
test/tools/llvm-readobj/Inputs/relocs.obj.elf-arm less more
Binary diff not shown
test/tools/llvm-readobj/Inputs/relocs.obj.elf-lanai less more
Binary diff not shown
test/tools/llvm-readobj/Inputs/relocs.obj.elf-mips64el less more
Binary diff not shown
0 ## Test that llvm-readobj/llvm-readelf shows proper relocation type
1 ## names and values for coff-i386 target.
2
3 # RUN: yaml2obj %s -o %t-coff-i386.o
4 # RUN: llvm-readobj -r --expand-relocs %t-coff-i386.o | FileCheck %s
5
6 # CHECK: Type: IMAGE_REL_I386_ABSOLUTE (0)
7 # CHECK: Type: IMAGE_REL_I386_DIR16 (1)
8 # CHECK: Type: IMAGE_REL_I386_REL16 (2)
9 # CHECK: Type: IMAGE_REL_I386_DIR32 (6)
10 # CHECK: Type: IMAGE_REL_I386_DIR32NB (7)
11 # CHECK: Type: IMAGE_REL_I386_SEG12 (9)
12 # CHECK: Type: IMAGE_REL_I386_SECTION (10)
13 # CHECK: Type: IMAGE_REL_I386_SECREL (11)
14 # CHECK: Type: IMAGE_REL_I386_TOKEN (12)
15 # CHECK: Type: IMAGE_REL_I386_SECREL7 (13)
16 # CHECK: Type: IMAGE_REL_I386_REL32 (20)
17
18 --- !COFF
19 header:
20 Machine: IMAGE_FILE_MACHINE_I386
21 Characteristics: [ ]
22 sections:
23 - Name: .text
24 Characteristics: [ IMAGE_SCN_CNT_CODE, IMAGE_SCN_MEM_EXECUTE, IMAGE_SCN_MEM_READ ]
25 Alignment: 4
26 SectionData: 00
27 Relocations:
28 - VirtualAddress: 3
29 Type: IMAGE_REL_I386_ABSOLUTE
30 - VirtualAddress: 10
31 Type: IMAGE_REL_I386_DIR16
32 - VirtualAddress: 17
33 Type: IMAGE_REL_I386_REL16
34 - VirtualAddress: 24
35 Type: IMAGE_REL_I386_DIR32
36 - VirtualAddress: 31
37 Type: IMAGE_REL_I386_DIR32NB
38 - VirtualAddress: 38
39 Type: IMAGE_REL_I386_SEG12
40 - VirtualAddress: 45
41 Type: IMAGE_REL_I386_SECTION
42 - VirtualAddress: 52
43 Type: IMAGE_REL_I386_SECREL
44 - VirtualAddress: 59
45 Type: IMAGE_REL_I386_TOKEN
46 - VirtualAddress: 66
47 Type: IMAGE_REL_I386_SECREL7
48 - VirtualAddress: 73
49 Type: IMAGE_REL_I386_REL32
50 symbols:
51 - Name: .text
52 Value: 0
53 SectionNumber: 1
54 SimpleType: IMAGE_SYM_TYPE_NULL
55 ComplexType: IMAGE_SYM_DTYPE_NULL
56 StorageClass: IMAGE_SYM_CLASS_STATIC
57 SectionDefinition:
58 Length: 77
59 NumberOfRelocations: 11
60 NumberOfLinenumbers: 0
61 CheckSum: 0
62 Number: 1
0 ## Test that llvm-readobj/llvm-readelf shows proper relocation type
1 ## names and values for coff-x64 target.
2
3 # RUN: yaml2obj %s -o %t-coff-x86_64.o
4 # RUN: llvm-readobj -r --expand-relocs %t-coff-x86_64.o | FileCheck %s
5
6 # CHECK: Type: IMAGE_REL_AMD64_ABSOLUTE (0)
7 # CHECK: Type: IMAGE_REL_AMD64_ADDR64 (1)
8 # CHECK: Type: IMAGE_REL_AMD64_ADDR32 (2)
9 # CHECK: Type: IMAGE_REL_AMD64_ADDR32NB (3)
10 # CHECK: Type: IMAGE_REL_AMD64_REL32 (4)
11 # CHECK: Type: IMAGE_REL_AMD64_REL32_1 (5)
12 # CHECK: Type: IMAGE_REL_AMD64_REL32_2 (6)
13 # CHECK: Type: IMAGE_REL_AMD64_REL32_3 (7)
14 # CHECK: Type: IMAGE_REL_AMD64_REL32_4 (8)
15 # CHECK: Type: IMAGE_REL_AMD64_REL32_5 (9)
16 # CHECK: Type: IMAGE_REL_AMD64_SECTION (10)
17 # CHECK: Type: IMAGE_REL_AMD64_SECREL (11)
18 # CHECK: Type: IMAGE_REL_AMD64_SECREL7 (12)
19 # CHECK: Type: IMAGE_REL_AMD64_TOKEN (13)
20 # CHECK: Type: IMAGE_REL_AMD64_SREL32 (14)
21 # CHECK: Type: IMAGE_REL_AMD64_PAIR (15)
22 # CHECK: Type: IMAGE_REL_AMD64_SSPAN32 (16)
23
24 --- !COFF
25 header:
26 Machine: IMAGE_FILE_MACHINE_AMD64
27 Characteristics: [ ]
28 sections:
29 - Name: .text
30 Characteristics: [ IMAGE_SCN_CNT_CODE, IMAGE_SCN_MEM_EXECUTE, IMAGE_SCN_MEM_READ ]
31 Alignment: 4
32 SectionData: 00
33 Relocations:
34 - VirtualAddress: 4
35 Type: IMAGE_REL_AMD64_ABSOLUTE
36 - VirtualAddress: 12
37 Type: IMAGE_REL_AMD64_ADDR64
38 - VirtualAddress: 20
39 Type: IMAGE_REL_AMD64_ADDR32
40 - VirtualAddress: 28
41 Type: IMAGE_REL_AMD64_ADDR32NB
42 - VirtualAddress: 36
43 Type: IMAGE_REL_AMD64_REL32
44 - VirtualAddress: 44
45 Type: IMAGE_REL_AMD64_REL32_1
46 - VirtualAddress: 52
47 Type: IMAGE_REL_AMD64_REL32_2
48 - VirtualAddress: 60
49 Type: IMAGE_REL_AMD64_REL32_3
50 - VirtualAddress: 68
51 Type: IMAGE_REL_AMD64_REL32_4
52 - VirtualAddress: 76
53 Type: IMAGE_REL_AMD64_REL32_5
54 - VirtualAddress: 84
55 Type: IMAGE_REL_AMD64_SECTION
56 - VirtualAddress: 92
57 Type: IMAGE_REL_AMD64_SECREL
58 - VirtualAddress: 100
59 Type: IMAGE_REL_AMD64_SECREL7
60 - VirtualAddress: 108
61 Type: IMAGE_REL_AMD64_TOKEN
62 - VirtualAddress: 116
63 Type: IMAGE_REL_AMD64_SREL32
64 - VirtualAddress: 124
65 Type: IMAGE_REL_AMD64_PAIR
66 - VirtualAddress: 132
67 Type: IMAGE_REL_AMD64_SSPAN32
68 symbols:
69 - Name: .text
70 Value: 0
71 SectionNumber: 1
72 SimpleType: IMAGE_SYM_TYPE_NULL
73 ComplexType: IMAGE_SYM_DTYPE_NULL
74 StorageClass: IMAGE_SYM_CLASS_STATIC
75 SectionDefinition:
76 Length: 136
77 NumberOfRelocations: 17
78 NumberOfLinenumbers: 0
79 CheckSum: 0
80 Number: 1
0 ## Test that llvm-readobj/llvm-readelf shows proper relocation type
1 ## names and values for aarch64 target.
2
3 # RUN: yaml2obj %s -o %t-aarch64.o
4 # RUN: llvm-readobj -r --expand-relocs %t-aarch64.o | FileCheck %s
5
6 # CHECK: Type: R_AARCH64_NONE (0)
7 # CHECK: Type: R_AARCH64_ABS64 (257)
8 # CHECK: Type: R_AARCH64_ABS32 (258)
9 # CHECK: Type: R_AARCH64_ABS16 (259)
10 # CHECK: Type: R_AARCH64_PREL64 (260)
11 # CHECK: Type: R_AARCH64_PREL32 (261)
12 # CHECK: Type: R_AARCH64_PREL16 (262)
13 # CHECK: Type: R_AARCH64_MOVW_UABS_G0 (263)
14 # CHECK: Type: R_AARCH64_MOVW_UABS_G0_NC (264)
15 # CHECK: Type: R_AARCH64_MOVW_UABS_G1 (265)
16 # CHECK: Type: R_AARCH64_MOVW_UABS_G1_NC (266)
17 # CHECK: Type: R_AARCH64_MOVW_UABS_G2 (267)
18 # CHECK: Type: R_AARCH64_MOVW_UABS_G2_NC (268)
19 # CHECK: Type: R_AARCH64_MOVW_UABS_G3 (269)
20 # CHECK: Type: R_AARCH64_MOVW_SABS_G0 (270)
21 # CHECK: Type: R_AARCH64_MOVW_SABS_G1 (271)
22 # CHECK: Type: R_AARCH64_MOVW_SABS_G2 (272)
23 # CHECK: Type: R_AARCH64_LD_PREL_LO19 (273)
24 # CHECK: Type: R_AARCH64_ADR_PREL_LO21 (274)
25 # CHECK: Type: R_AARCH64_ADR_PREL_PG_HI21 (275)
26 # CHECK: Type: R_AARCH64_ADR_PREL_PG_HI21_NC (276)
27 # CHECK: Type: R_AARCH64_ADD_ABS_LO12_NC (277)
28 # CHECK: Type: R_AARCH64_LDST8_ABS_LO12_NC (278)
29 # CHECK: Type: R_AARCH64_TSTBR14 (279)
30 # CHECK: Type: R_AARCH64_CONDBR19 (280)
31 # CHECK: Type: R_AARCH64_JUMP26 (282)
32 # CHECK: Type: R_AARCH64_CALL26 (283)
33 # CHECK: Type: R_AARCH64_LDST16_ABS_LO12_NC (284)
34 # CHECK: Type: R_AARCH64_LDST32_ABS_LO12_NC (285)
35 # CHECK: Type: R_AARCH64_LDST64_ABS_LO12_NC (286)
36 # CHECK: Type: R_AARCH64_MOVW_PREL_G0 (287)
37 # CHECK: Type: R_AARCH64_MOVW_PREL_G0_NC (288)
38 # CHECK: Type: R_AARCH64_MOVW_PREL_G1 (289)
39 # CHECK: Type: R_AARCH64_MOVW_PREL_G1_NC (290)
40 # CHECK: Type: R_AARCH64_MOVW_PREL_G2 (291)
41 # CHECK: Type: R_AARCH64_MOVW_PREL_G2_NC (292)
42 # CHECK: Type: R_AARCH64_MOVW_PREL_G3 (293)
43 # CHECK: Type: R_AARCH64_LDST128_ABS_LO12_NC (299)
44 # CHECK: Type: R_AARCH64_MOVW_GOTOFF_G0 (300)
45 # CHECK: Type: R_AARCH64_MOVW_GOTOFF_G0_NC (301)
46 # CHECK: Type: R_AARCH64_MOVW_GOTOFF_G1 (302)
47 # CHECK: Type: R_AARCH64_MOVW_GOTOFF_G1_NC (303)
48 # CHECK: Type: R_AARCH64_MOVW_GOTOFF_G2 (304)
49 # CHECK: Type: R_AARCH64_MOVW_GOTOFF_G2_NC (305)
50 # CHECK: Type: R_AARCH64_MOVW_GOTOFF_G3 (306)
51 # CHECK: Type: R_AARCH64_GOTREL64 (307)
52 # CHECK: Type: R_AARCH64_GOTREL32 (308)
53 # CHECK: Type: R_AARCH64_GOT_LD_PREL19 (309)
54 # CHECK: Type: R_AARCH64_LD64_GOTOFF_LO15 (310)
55 # CHECK: Type: R_AARCH64_ADR_GOT_PAGE (311)
56 # CHECK: Type: R_AARCH64_LD64_GOT_LO12_NC (312)
57 # CHECK: Type: R_AARCH64_LD64_GOTPAGE_LO15 (313)
58 # CHECK: Type: R_AARCH64_TLSGD_ADR_PREL21 (512)
59 # CHECK: Type: R_AARCH64_TLSGD_ADR_PAGE21 (513)
60 # CHECK: Type: R_AARCH64_TLSGD_ADD_LO12_NC (514)
61 # CHECK: Type: R_AARCH64_TLSGD_MOVW_G1 (515)
62 # CHECK: Type: R_AARCH64_TLSGD_MOVW_G0_NC (516)
63 # CHECK: Type: R_AARCH64_TLSLD_ADR_PREL21 (517)
64 # CHECK: Type: R_AARCH64_TLSLD_ADR_PAGE21 (518)
65 # CHECK: Type: R_AARCH64_TLSLD_ADD_LO12_NC (519)
66 # CHECK: Type: R_AARCH64_TLSLD_MOVW_G1 (520)
67 # CHECK: Type: R_AARCH64_TLSLD_MOVW_G0_NC (521)
68 # CHECK: Type: R_AARCH64_TLSLD_LD_PREL19 (522)
69 # CHECK: Type: R_AARCH64_TLSLD_MOVW_DTPREL_G2 (523)
70 # CHECK: Type: R_AARCH64_TLSLD_MOVW_DTPREL_G1 (524)
71 # CHECK: Type: R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC (525)
72 # CHECK: Type: R_AARCH64_TLSLD_MOVW_DTPREL_G0 (526)
73 # CHECK: Type: R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC (527)
74 # CHECK: Type: R_AARCH64_TLSLD_ADD_DTPREL_HI12 (528)
75 # CHECK: Type: R_AARCH64_TLSLD_ADD_DTPREL_LO12 (529)
76 # CHECK: Type: R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC (530)
77 # CHECK: Type: R_AARCH64_TLSLD_LDST8_DTPREL_LO12 (531)
78 # CHECK: Type: R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC (532)
79 # CHECK: Type: R_AARCH64_TLSLD_LDST16_DTPREL_LO12 (533)
80 # CHECK: Type: R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC (534)
81 # CHECK: Type: R_AARCH64_TLSLD_LDST32_DTPREL_LO12 (535)
82 # CHECK: Type: R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC (536)
83 # CHECK: Type: R_AARCH64_TLSLD_LDST64_DTPREL_LO12 (537)
84 # CHECK: Type: R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC (538)
85 # CHECK: Type: R_AARCH64_TLSIE_MOVW_GOTTPREL_G1 (539)
86 # CHECK: Type: R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC (540)
87 # CHECK: Type: R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21 (541)
88 # CHECK: Type: R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC (542)
89 # CHECK: Type: R_AARCH64_TLSIE_LD_GOTTPREL_PREL19 (543)
90 # CHECK: Type: R_AARCH64_TLSLE_MOVW_TPREL_G2 (544)
91 # CHECK: Type: R_AARCH64_TLSLE_MOVW_TPREL_G1 (545)
92 # CHECK: Type: R_AARCH64_TLSLE_MOVW_TPREL_G1_NC (546)
93 # CHECK: Type: R_AARCH64_TLSLE_MOVW_TPREL_G0 (547)
94 # CHECK: Type: R_AARCH64_TLSLE_MOVW_TPREL_G0_NC (548)
95 # CHECK: Type: R_AARCH64_TLSLE_ADD_TPREL_HI12 (549)
96 # CHECK: Type: R_AARCH64_TLSLE_ADD_TPREL_LO12 (550)
97 # CHECK: Type: R_AARCH64_TLSLE_ADD_TPREL_LO12_NC (551)
98 # CHECK: Type: R_AARCH64_TLSLE_LDST8_TPREL_LO12 (552)
99 # CHECK: Type: R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC (553)
100 # CHECK: Type: R_AARCH64_TLSLE_LDST16_TPREL_LO12 (554)
101 # CHECK: Type: R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC (555)
102 # CHECK: Type: R_AARCH64_TLSLE_LDST32_TPREL_LO12 (556)
103 # CHECK: Type: R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC (557)
104 # CHECK: Type: R_AARCH64_TLSLE_LDST64_TPREL_LO12 (558)
105 # CHECK: Type: R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC (559)
106 # CHECK: Type: R_AARCH64_TLSDESC_LD_PREL19 (560)
107 # CHECK: Type: R_AARCH64_TLSDESC_ADR_PREL21 (561)
108 # CHECK: Type: R_AARCH64_TLSDESC_ADR_PAGE21 (562)
109 # CHECK: Type: R_AARCH64_TLSDESC_LD64_LO12 (563)
110 # CHECK: Type: R_AARCH64_TLSDESC_ADD_LO12 (564)
111 # CHECK: Type: R_AARCH64_TLSDESC_OFF_G1 (565)
112 # CHECK: Type: R_AARCH64_TLSDESC_OFF_G0_NC (566)
113 # CHECK: Type: R_AARCH64_TLSDESC_LDR (567)
114 # CHECK: Type: R_AARCH64_TLSDESC_ADD (568)
115 # CHECK: Type: R_AARCH64_TLSDESC_CALL (569)
116 # CHECK: Type: R_AARCH64_TLSLE_LDST128_TPREL_LO12 (570)
117 # CHECK: Type: R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC (571)
118 # CHECK: Type: R_AARCH64_TLSLD_LDST128_DTPREL_LO12 (572)
119 # CHECK: Type: R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC (573)
120 # CHECK: Type: R_AARCH64_COPY (1024)
121 # CHECK: Type: R_AARCH64_GLOB_DAT (1025)
122 # CHECK: Type: R_AARCH64_JUMP_SLOT (1026)
123 # CHECK: Type: R_AARCH64_RELATIVE (1027)
124 # CHECK: Type: R_AARCH64_TLS_DTPREL64 (1028)
125 # CHECK: Type: R_AARCH64_TLS_DTPMOD64 (1029)
126 # CHECK: Type: R_AARCH64_TLS_TPREL64 (1030)
127 # CHECK: Type: R_AARCH64_TLSDESC (1031)
128 # CHECK: Type: R_AARCH64_IRELATIVE (1032)
129
130 --- !ELF
131 FileHeader:
132 Class: ELFCLASS64
133 Data: ELFDATA2LSB
134 Type: ET_REL
135 Machine: EM_AARCH64
136 Sections:
137 - Name: .text
138 Type: SHT_PROGBITS
139 Content: 00
140 - Name: .rela.text
141 Type: SHT_RELA
142 Link: .symtab
143 AddressAlign: 0x0000000000000008
144 EntSize: 0x0000000000000018
145 Info: .text
146 Relocations:
147 - Offset: 0x0000000000000000
148 Type: R_AARCH64_NONE
149 - Offset: 0x0000000000000004
150 Type: R_AARCH64_ABS64
151 - Offset: 0x0000000000000008
152 Type: R_AARCH64_ABS32
153 - Offset: 0x000000000000000C
154 Type: R_AARCH64_ABS16
155 - Offset: 0x0000000000000010
156 Type: R_AARCH64_PREL64
157 - Offset: 0x0000000000000014
158 Type: R_AARCH64_PREL32
159 - Offset: 0x0000000000000018
160 Type: R_AARCH64_PREL16
161 - Offset: 0x000000000000001C
162 Type: R_AARCH64_MOVW_UABS_G0
163 - Offset: 0x0000000000000020
164 Type: R_AARCH64_MOVW_UABS_G0_NC
165 - Offset: 0x0000000000000024
166 Type: R_AARCH64_MOVW_UABS_G1
167 - Offset: 0x0000000000000028
168 Type: R_AARCH64_MOVW_UABS_G1_NC
169 - Offset: 0x000000000000002C
170 Type: R_AARCH64_MOVW_UABS_G2
171 - Offset: 0x0000000000000030
172 Type: R_AARCH64_MOVW_UABS_G2_NC
173 - Offset: 0x0000000000000034
174 Type: R_AARCH64_MOVW_UABS_G3
175 - Offset: 0x0000000000000038
176 Type: R_AARCH64_MOVW_SABS_G0
177 - Offset: 0x000000000000003C
178 Type: R_AARCH64_MOVW_SABS_G1
179 - Offset: 0x0000000000000040
180 Type: R_AARCH64_MOVW_SABS_G2
181 - Offset: 0x0000000000000044
182 Type: R_AARCH64_LD_PREL_LO19
183 - Offset: 0x0000000000000048
184 Type: R_AARCH64_ADR_PREL_LO21
185 - Offset: 0x000000000000004C
186 Type: R_AARCH64_ADR_PREL_PG_HI21
187 - Offset: 0x0000000000000050
188 Type: R_AARCH64_ADR_PREL_PG_HI21_NC
189 - Offset: 0x0000000000000054
190 Type: R_AARCH64_ADD_ABS_LO12_NC
191 - Offset: 0x0000000000000058
192 Type: R_AARCH64_LDST8_ABS_LO12_NC
193 - Offset: 0x000000000000005C
194 Type: R_AARCH64_TSTBR14
195 - Offset: 0x0000000000000060
196 Type: R_AARCH64_CONDBR19
197 - Offset: 0x0000000000000064
198 Type: R_AARCH64_JUMP26
199 - Offset: 0x0000000000000068
200 Type: R_AARCH64_CALL26
201 - Offset: 0x000000000000006C
202 Type: R_AARCH64_LDST16_ABS_LO12_NC
203 - Offset: 0x0000000000000070
204 Type: R_AARCH64_LDST32_ABS_LO12_NC
205 - Offset: 0x0000000000000074
206 Type: R_AARCH64_LDST64_ABS_LO12_NC
207 - Offset: 0x0000000000000078
208 Type: R_AARCH64_MOVW_PREL_G0
209 - Offset: 0x000000000000007C
210 Type: R_AARCH64_MOVW_PREL_G0_NC
211 - Offset: 0x0000000000000080
212 Type: R_AARCH64_MOVW_PREL_G1
213 - Offset: 0x0000000000000084
214 Type: R_AARCH64_MOVW_PREL_G1_NC
215 - Offset: 0x0000000000000088
216 Type: R_AARCH64_MOVW_PREL_G2
217 - Offset: 0x000000000000008C
218 Type: R_AARCH64_MOVW_PREL_G2_NC
219 - Offset: 0x0000000000000090
220 Type: R_AARCH64_MOVW_PREL_G3
221 - Offset: 0x0000000000000094
222 Type: R_AARCH64_LDST128_ABS_LO12_NC
223 - Offset: 0x0000000000000098
224 Type: R_AARCH64_MOVW_GOTOFF_G0
225 - Offset: 0x000000000000009C
226 Type: R_AARCH64_MOVW_GOTOFF_G0_NC
227 - Offset: 0x00000000000000A0
228 Type: R_AARCH64_MOVW_GOTOFF_G1
229 - Offset: 0x00000000000000A4
230 Type: R_AARCH64_MOVW_GOTOFF_G1_NC
231 - Offset: 0x00000000000000A8
232 Type: R_AARCH64_MOVW_GOTOFF_G2
233 - Offset: 0x00000000000000AC
234 Type: R_AARCH64_MOVW_GOTOFF_G2_NC
235 - Offset: 0x00000000000000B0
236 Type: R_AARCH64_MOVW_GOTOFF_G3
237 - Offset: 0x00000000000000B4
238 Type: R_AARCH64_GOTREL64
239 - Offset: 0x00000000000000B8
240 Type: R_AARCH64_GOTREL32
241 - Offset: 0x00000000000000BC
242 Type: R_AARCH64_GOT_LD_PREL19
243 - Offset: 0x00000000000000C0
244 Type: R_AARCH64_LD64_GOTOFF_LO15
245 - Offset: 0x00000000000000C4
246 Type: R_AARCH64_ADR_GOT_PAGE
247 - Offset: 0x00000000000000C8
248 Type: R_AARCH64_LD64_GOT_LO12_NC
249 - Offset: 0x00000000000000CC
250 Type: R_AARCH64_LD64_GOTPAGE_LO15
251 - Offset: 0x00000000000000D0
252 Type: R_AARCH64_TLSGD_ADR_PREL21
253 - Offset: 0x00000000000000D4
254 Type: R_AARCH64_TLSGD_ADR_PAGE21
255 - Offset: 0x00000000000000D8
256 Type: R_AARCH64_TLSGD_ADD_LO12_NC
257 - Offset: 0x00000000000000DC
258 Type: R_AARCH64_TLSGD_MOVW_G1
259 - Offset: 0x00000000000000E0
260 Type: R_AARCH64_TLSGD_MOVW_G0_NC
261 - Offset: 0x00000000000000E4
262 Type: R_AARCH64_TLSLD_ADR_PREL21
263 - Offset: 0x00000000000000E8
264 Type: R_AARCH64_TLSLD_ADR_PAGE21
265 - Offset: 0x00000000000000EC
266 Type: R_AARCH64_TLSLD_ADD_LO12_NC
267 - Offset: 0x00000000000000F0
268 Type: R_AARCH64_TLSLD_MOVW_G1
269 - Offset: 0x00000000000000F4
270 Type: R_AARCH64_TLSLD_MOVW_G0_NC
271 - Offset: 0x00000000000000F8
272 Type: R_AARCH64_TLSLD_LD_PREL19
273 - Offset: 0x00000000000000FC
274 Type: R_AARCH64_TLSLD_MOVW_DTPREL_G2
275 - Offset: 0x0000000000000100
276 Type: R_AARCH64_TLSLD_MOVW_DTPREL_G1
277 - Offset: 0x0000000000000104
278 Type: R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC
279 - Offset: 0x0000000000000108
280 Type: R_AARCH64_TLSLD_MOVW_DTPREL_G0
281 - Offset: 0x000000000000010C
282 Type: R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC
283 - Offset: 0x0000000000000110
284 Type: R_AARCH64_TLSLD_ADD_DTPREL_HI12
285 - Offset: 0x0000000000000114
286 Type: R_AARCH64_TLSLD_ADD_DTPREL_LO12
287 - Offset: 0x0000000000000118
288 Type: R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC
289 - Offset: 0x000000000000011C
290 Type: R_AARCH64_TLSLD_LDST8_DTPREL_LO12
291 - Offset: 0x0000000000000120
292 Type: R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC
293 - Offset: 0x0000000000000124
294 Type: R_AARCH64_TLSLD_LDST16_DTPREL_LO12
295 - Offset: 0x0000000000000128
296 Type: R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC
297 - Offset: 0x000000000000012C
298 Type: R_AARCH64_TLSLD_LDST32_DTPREL_LO12
299 - Offset: 0x0000000000000130
300 Type: R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC
301 - Offset: 0x0000000000000134
302 Type: R_AARCH64_TLSLD_LDST64_DTPREL_LO12
303 - Offset: 0x0000000000000138
304 Type: R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC
305 - Offset: 0x000000000000013C
306 Type: R_AARCH64_TLSIE_MOVW_GOTTPREL_G1
307 - Offset: 0x0000000000000140
308 Type: R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC
309 - Offset: 0x0000000000000144
310 Type: R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21
311 - Offset: 0x0000000000000148
312 Type: R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC
313 - Offset: 0x000000000000014C
314 Type: R_AARCH64_TLSIE_LD_GOTTPREL_PREL19
315 - Offset: 0x0000000000000150
316 Type: R_AARCH64_TLSLE_MOVW_TPREL_G2
317 - Offset: 0x0000000000000154
318 Type: R_AARCH64_TLSLE_MOVW_TPREL_G1
319 - Offset: 0x0000000000000158
320 Type: R_AARCH64_TLSLE_MOVW_TPREL_G1_NC
321 - Offset: 0x000000000000015C
322 Type: R_AARCH64_TLSLE_MOVW_TPREL_G0
323 - Offset: 0x0000000000000160
324 Type: R_AARCH64_TLSLE_MOVW_TPREL_G0_NC
325 - Offset: 0x0000000000000164
326 Type: R_AARCH64_TLSLE_ADD_TPREL_HI12
327 - Offset: 0x0000000000000168
328 Type: R_AARCH64_TLSLE_ADD_TPREL_LO12
329 - Offset: 0x000000000000016C
330 Type: R_AARCH64_TLSLE_ADD_TPREL_LO12_NC
331 - Offset: 0x0000000000000170
332 Type: R_AARCH64_TLSLE_LDST8_TPREL_LO12
333 - Offset: 0x0000000000000174
334 Type: R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC
335 - Offset: 0x0000000000000178
336 Type: R_AARCH64_TLSLE_LDST16_TPREL_LO12
337 - Offset: 0x000000000000017C
338 Type: R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC
339 - Offset: 0x0000000000000180
340 Type: R_AARCH64_TLSLE_LDST32_TPREL_LO12
341 - Offset: 0x0000000000000184
342 Type: R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC
343 - Offset: 0x0000000000000188
344 Type: R_AARCH64_TLSLE_LDST64_TPREL_LO12
345 - Offset: 0x000000000000018C
346 Type: R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC
347 - Offset: 0x0000000000000190
348 Type: R_AARCH64_TLSDESC_LD_PREL19
349 - Offset: 0x0000000000000194
350 Type: R_AARCH64_TLSDESC_ADR_PREL21
351 - Offset: 0x0000000000000198
352 Type: R_AARCH64_TLSDESC_ADR_PAGE21
353 - Offset: 0x000000000000019C
354 Type: R_AARCH64_TLSDESC_LD64_LO12
355 - Offset: 0x00000000000001A0
356 Type: R_AARCH64_TLSDESC_ADD_LO12
357 - Offset: 0x00000000000001A4
358 Type: R_AARCH64_TLSDESC_OFF_G1
359 - Offset: 0x00000000000001A8
360 Type: R_AARCH64_TLSDESC_OFF_G0_NC
361 - Offset: 0x00000000000001AC
362 Type: R_AARCH64_TLSDESC_LDR
363 - Offset: 0x00000000000001B0
364 Type: R_AARCH64_TLSDESC_ADD
365 - Offset: 0x00000000000001B4
366 Type: R_AARCH64_TLSDESC_CALL
367 - Offset: 0x00000000000001B8
368 Type: R_AARCH64_TLSLE_LDST128_TPREL_LO12
369 - Offset: 0x00000000000001BC
370 Type: R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC
371 - Offset: 0x00000000000001C0
372 Type: R_AARCH64_TLSLD_LDST128_DTPREL_LO12
373 - Offset: 0x00000000000001C4
374 Type: R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC
375 - Offset: 0x00000000000001C8
376 Type: R_AARCH64_COPY
377 - Offset: 0x00000000000001CC
378 Type: R_AARCH64_GLOB_DAT
379 - Offset: 0x00000000000001D0
380 Type: R_AARCH64_JUMP_SLOT
381 - Offset: 0x00000000000001D4
382 Type: R_AARCH64_RELATIVE
383 - Offset: 0x00000000000001D8
384 Type: R_AARCH64_TLS_DTPREL64
385 - Offset: 0x00000000000001DC
386 Type: R_AARCH64_TLS_DTPMOD64
387 - Offset: 0x00000000000001E0
388 Type: R_AARCH64_TLS_TPREL64
389 - Offset: 0x00000000000001E4
390 Type: R_AARCH64_TLSDESC
391 - Offset: 0x00000000000001E8
392 Type: R_AARCH64_IRELATIVE
0 ## Test that llvm-readobj/llvm-readelf shows proper relocation type
1 ## names and values for arm target.
2
3 # RUN: yaml2obj %s -o %t-arm.o
4 # RUN: llvm-readobj -r --expand-relocs %t-arm.o | FileCheck %s
5
6 # CHECK: Type: R_ARM_NONE (0)
7 # CHECK: Type: R_ARM_PC24 (1)
8 # CHECK: Type: R_ARM_ABS32 (2)
9 # CHECK: Type: R_ARM_REL32 (3)
10 # CHECK: Type: R_ARM_LDR_PC_G0 (4)
11 # CHECK: Type: R_ARM_ABS16 (5)
12 # CHECK: Type: R_ARM_ABS12 (6)
13 # CHECK: Type: R_ARM_THM_ABS5 (7)
14 # CHECK: Type: R_ARM_ABS8 (8)
15 # CHECK: Type: R_ARM_SBREL32 (9)
16 # CHECK: Type: R_ARM_THM_CALL (10)
17 # CHECK: Type: R_ARM_THM_PC8 (11)
18 # CHECK: Type: R_ARM_BREL_ADJ (12)
19 # CHECK: Type: R_ARM_TLS_DESC (13)
20 # CHECK: Type: R_ARM_THM_SWI8 (14)
21 # CHECK: Type: R_ARM_XPC25 (15)
22 # CHECK: Type: R_ARM_THM_XPC22 (16)
23 # CHECK: Type: R_ARM_TLS_DTPMOD32 (17)
24 # CHECK: Type: R_ARM_TLS_DTPOFF32 (18)
25 # CHECK: Type: R_ARM_TLS_TPOFF32 (19)
26 # CHECK: Type: R_ARM_COPY (20)
27 # CHECK: Type: R_ARM_GLOB_DAT (21)
28 # CHECK: Type: R_ARM_JUMP_SLOT (22)
29 # CHECK: Type: R_ARM_RELATIVE (23)
30 # CHECK: Type: R_ARM_GOTOFF32 (24)
31 # CHECK: Type: R_ARM_BASE_PREL (25)
32 # CHECK: Type: R_ARM_GOT_BREL (26)
33 # CHECK: Type: R_ARM_CALL (28)
34 # CHECK: Type: R_ARM_JUMP24 (29)
35 # CHECK: Type: R_ARM_THM_JUMP24 (30)
36 # CHECK: Type: R_ARM_BASE_ABS (31)
37 # CHECK: Type: R_ARM_ALU_PCREL_7_0 (32)
38 # CHECK: Type: R_ARM_ALU_PCREL_15_8 (33)
39 # CHECK: Type: R_ARM_ALU_PCREL_23_15 (34)
40 # CHECK: Type: R_ARM_LDR_SBREL_11_0_NC (35)
41 # CHECK: Type: R_ARM_ALU_SBREL_19_12_NC (36)
42 # CHECK: Type: R_ARM_ALU_SBREL_27_20_CK (37)
43 # CHECK: Type: R_ARM_TARGET1 (38)
44 # CHECK: Type: R_ARM_SBREL31 (39)
45 # CHECK: Type: R_ARM_V4BX (40)
46 # CHECK: Type: R_ARM_TARGET2 (41)
47 # CHECK: Type: R_ARM_PREL31 (42)
48 # CHECK: Type: R_ARM_MOVW_ABS_NC (43)
49 # CHECK: Type: R_ARM_MOVT_ABS (44)
50 # CHECK: Type: R_ARM_MOVW_PREL_NC (45)
51 # CHECK: Type: R_ARM_MOVT_PREL (46)
52 # CHECK: Type: R_ARM_THM_MOVW_ABS_NC (47)
53 # CHECK: Type: R_ARM_THM_MOVT_ABS (48)
54 # CHECK: Type: R_ARM_THM_MOVW_PREL_NC (49)
55 # CHECK: Type: R_ARM_THM_MOVT_PREL (50)
56 # CHECK: Type: R_ARM_THM_JUMP19 (51)
57 # CHECK: Type: R_ARM_THM_JUMP6 (52)
58 # CHECK: Type: R_ARM_THM_ALU_PREL_11_0 (53)
59 # CHECK: Type: R_ARM_THM_PC12 (54)
60 # CHECK: Type: R_ARM_ABS32_NOI (55)
61 # CHECK: Type: R_ARM_REL32_NOI (56)
62 # CHECK: Type: R_ARM_ALU_PC_G0_NC (57)
63 # CHECK: Type: R_ARM_ALU_PC_G0 (58)
64 # CHECK: Type: R_ARM_ALU_PC_G1_NC (59)
65 # CHECK: Type: R_ARM_ALU_PC_G1 (60)
66 # CHECK: Type: R_ARM_ALU_PC_G2 (61)
67 # CHECK: Type: R_ARM_LDR_PC_G1 (62)
68 # CHECK: Type: R_ARM_LDR_PC_G2 (63)
69 # CHECK: Type: R_ARM_LDRS_PC_G0 (64)
70 # CHECK: Type: R_ARM_LDRS_PC_G1 (65)
71 # CHECK: Type: R_ARM_LDRS_PC_G2 (66)
72 # CHECK: Type: R_ARM_LDC_PC_G0 (67)
73 # CHECK: Type: R_ARM_LDC_PC_G1 (68)
74 # CHECK: Type: R_ARM_LDC_PC_G2 (69)
75 # CHECK: Type: R_ARM_ALU_SB_G0_NC (70)
76 # CHECK: Type: R_ARM_ALU_SB_G0 (71)
77 # CHECK: Type: R_ARM_ALU_SB_G1_NC (72)
78 # CHECK: Type: R_ARM_ALU_SB_G1 (73)
79 # CHECK: Type: R_ARM_ALU_SB_G2 (74)
80 # CHECK: Type: R_ARM_LDR_SB_G0 (75)
81 # CHECK: Type: R_ARM_LDR_SB_G1 (76)
82 # CHECK: Type: R_ARM_LDR_SB_G2 (77)
83 # CHECK: Type: R_ARM_LDRS_SB_G0 (78)
84 # CHECK: Type: R_ARM_LDRS_SB_G1 (79)
85 # CHECK: Type: R_ARM_LDRS_SB_G2 (80)
86 # CHECK: Type: R_ARM_LDC_SB_G0 (81)
87 # CHECK: Type: R_ARM_LDC_SB_G1 (82)
88 # CHECK: Type: R_ARM_LDC_SB_G2 (83)
89 # CHECK: Type: R_ARM_MOVW_BREL_NC (84)
90 # CHECK: Type: R_ARM_MOVT_BREL (85)
91 # CHECK: Type: R_ARM_MOVW_BREL (86)
92 # CHECK: Type: R_ARM_THM_MOVW_BREL_NC (87)
93 # CHECK: Type: R_ARM_THM_MOVT_BREL (88)
94 # CHECK: Type: R_ARM_THM_MOVW_BREL (89)
95 # CHECK: Type: R_ARM_TLS_GOTDESC (90)
96 # CHECK: Type: R_ARM_TLS_CALL (91)
97 # CHECK: Type: R_ARM_TLS_DESCSEQ (92)
98 # CHECK: Type: R_ARM_THM_TLS_CALL (93)
99 # CHECK: Type: R_ARM_PLT32_ABS (94)
100 # CHECK: Type: R_ARM_GOT_ABS (95)
101 # CHECK: Type: R_ARM_GOT_PREL (96)
102 # CHECK: Type: R_ARM_GOT_BREL12 (97)
103 # CHECK: Type: R_ARM_GOTOFF12 (98)
104 # CHECK: Type: R_ARM_GOTRELAX (99)
105 # CHECK: Type: R_ARM_GNU_VTENTRY (100)
106 # CHECK: Type: R_ARM_GNU_VTINHERIT (101)
107 # CHECK: Type: R_ARM_THM_JUMP11 (102)
108 # CHECK: Type: R_ARM_THM_JUMP8 (103)
109 # CHECK: Type: R_ARM_TLS_GD32 (104)
110 # CHECK: Type: R_ARM_TLS_LDM32 (105)
111 # CHECK: Type: R_ARM_TLS_LDO32 (106)
112 # CHECK: Type: R_ARM_TLS_IE32 (107)
113 # CHECK: Type: R_ARM_TLS_LE32 (108)
114 # CHECK: Type: R_ARM_TLS_LDO12 (109)
115 # CHECK: Type: R_ARM_TLS_LE12 (110)
116 # CHECK: Type: R_ARM_TLS_IE12GP (111)
117 # CHECK: Type: R_ARM_PRIVATE_0 (112)
118 # CHECK: Type: R_ARM_PRIVATE_1 (113)
119 # CHECK: Type: R_ARM_PRIVATE_2 (114)
120 # CHECK: Type: R_ARM_PRIVATE_3 (115)
121 # CHECK: Type: R_ARM_PRIVATE_4 (116)
122 # CHECK: Type: R_ARM_PRIVATE_5 (117)
123 # CHECK: Type: R_ARM_PRIVATE_6 (118)
124 # CHECK: Type: R_ARM_PRIVATE_7 (119)
125 # CHECK: Type: R_ARM_PRIVATE_8 (120)
126 # CHECK: Type: R_ARM_PRIVATE_9 (121)
127 # CHECK: Type: R_ARM_PRIVATE_10 (122)
128 # CHECK: Type: R_ARM_PRIVATE_11 (123)
129 # CHECK: Type: R_ARM_PRIVATE_12 (124)
130 # CHECK: Type: R_ARM_PRIVATE_13 (125)
131 # CHECK: Type: R_ARM_PRIVATE_14 (126)
132 # CHECK: Type: R_ARM_PRIVATE_15 (127)
133 # CHECK: Type: R_ARM_ME_TOO (128)
134 # CHECK: Type: R_ARM_THM_TLS_DESCSEQ16 (129)
135 # CHECK: Type: R_ARM_THM_TLS_DESCSEQ32 (130)
136 # CHECK: Type: R_ARM_IRELATIVE (160)
137
138 --- !ELF
139 FileHeader:
140 Class: ELFCLASS32
141 Data: ELFDATA2LSB
142 Type: ET_REL
143 Machine: EM_ARM
144 Flags: [ EF_ARM_EABI_VER5 ]
145 Sections:
146 - Name: .text
147 Type: SHT_PROGBITS
148 Content: 00
149 - Name: .rel.text
150 Type: SHT_REL
151 Link: .symtab
152 AddressAlign: 0x0000000000000004
153 EntSize: 0x0000000000000008
154 Info: .text
155 Relocations:
156 - Offset: 0x0000000000000000
157 Type: R_ARM_NONE
158 - Offset: 0x0000000000000004
159 Type: R_ARM_PC24
160 - Offset: 0x0000000000000008
161 Type: R_ARM_ABS32
162 - Offset: 0x000000000000000C
163 Type: R_ARM_REL32
164 - Offset: 0x0000000000000010
165 Type: R_ARM_LDR_PC_G0
166 - Offset: 0x0000000000000014
167 Type: R_ARM_ABS16
168 - Offset: 0x0000000000000018
169 Type: R_ARM_ABS12
170 - Offset: 0x000000000000001C
171 Type: R_ARM_THM_ABS5
172 - Offset: 0x0000000000000020
173 Type: R_ARM_ABS8
174 - Offset: 0x0000000000000024
175 Type: R_ARM_SBREL32
176 - Offset: 0x0000000000000028
177 Type: R_ARM_THM_CALL
178 - Offset: 0x000000000000002C
179 Type: R_ARM_THM_PC8
180 - Offset: 0x0000000000000030
181 Type: R_ARM_BREL_ADJ
182 - Offset: 0x0000000000000034
183 Type: R_ARM_TLS_DESC
184 - Offset: 0x0000000000000038
185 Type: R_ARM_THM_SWI8
186 - Offset: 0x000000000000003C
187 Type: R_ARM_XPC25
188 - Offset: 0x0000000000000040
189 Type: R_ARM_THM_XPC22
190 - Offset: 0x0000000000000044
191 Type: R_ARM_TLS_DTPMOD32
192 - Offset: 0x0000000000000048
193 Type: R_ARM_TLS_DTPOFF32
194 - Offset: 0x000000000000004C
195 Type: R_ARM_TLS_TPOFF32
196 - Offset: 0x0000000000000050
197 Type: R_ARM_COPY
198 - Offset: 0x0000000000000054
199 Type: R_ARM_GLOB_DAT
200 - Offset: 0x0000000000000058
201 Type: R_ARM_JUMP_SLOT
202 - Offset: 0x000000000000005C
203 Type: R_ARM_RELATIVE
204 - Offset: 0x0000000000000060
205 Type: R_ARM_GOTOFF32
206 - Offset: 0x0000000000000064
207 Type: R_ARM_BASE_PREL
208 - Offset: 0x0000000000000068
209 Type: R_ARM_GOT_BREL
210 - Offset: 0x000000000000006C
211 Type: R_ARM_PLT32
212 - Offset: 0x0000000000000070
213 Type: R_ARM_CALL
214 - Offset: 0x0000000000000074
215 Type: R_ARM_JUMP24
216 - Offset: 0x0000000000000078
217 Type: R_ARM_THM_JUMP24
218 - Offset: 0x000000000000007C
219 Type: R_ARM_BASE_ABS
220 - Offset: 0x0000000000000080
221 Type: R_ARM_ALU_PCREL_7_0
222 - Offset: 0x0000000000000084
223 Type: R_ARM_ALU_PCREL_15_8
224 - Offset: 0x0000000000000088
225 Type: R_ARM_ALU_PCREL_23_15
226 - Offset: 0x000000000000008C
227 Type: R_ARM_LDR_SBREL_11_0_NC
228 - Offset: 0x0000000000000090
229 Type: R_ARM_ALU_SBREL_19_12_NC
230 - Offset: 0x0000000000000094
231 Type: R_ARM_ALU_SBREL_27_20_CK
232 - Offset: 0x0000000000000098
233 Type: R_ARM_TARGET1
234 - Offset: 0x000000000000009C
235 Type: R_ARM_SBREL31
236 - Offset: 0x00000000000000A0
237 Type: R_ARM_V4BX
238 - Offset: 0x00000000000000A4
239 Type: R_ARM_TARGET2
240 - Offset: 0x00000000000000A8
241 Type: R_ARM_PREL31
242 - Offset: 0x00000000000000AC
243 Type: R_ARM_MOVW_ABS_NC
244 - Offset: 0x00000000000000B0
245 Type: R_ARM_MOVT_ABS
246 - Offset: 0x00000000000000B4
247 Type: R_ARM_MOVW_PREL_NC
248 - Offset: 0x00000000000000B8
249 Type: R_ARM_MOVT_PREL
250 - Offset: 0x00000000000000BC
251 Type: R_ARM_THM_MOVW_ABS_NC
252 - Offset: 0x00000000000000C0
253 Type: R_ARM_THM_MOVT_ABS
254 - Offset: 0x00000000000000C4
255 Type: R_ARM_THM_MOVW_PREL_NC
256 - Offset: 0x00000000000000C8
257 Type: R_ARM_THM_MOVT_PREL
258 - Offset: 0x00000000000000CC
259 Type: R_ARM_THM_JUMP19
260 - Offset: 0x00000000000000D0
261 Type: R_ARM_THM_JUMP6
262 - Offset: 0x00000000000000D4
263 Type: R_ARM_THM_ALU_PREL_11_0
264 - Offset: 0x00000000000000D8
265 Type: R_ARM_THM_PC12
266 - Offset: 0x00000000000000DC
267 Type: R_ARM_ABS32_NOI
268 - Offset: 0x00000000000000E0
269 Type: R_ARM_REL32_NOI
270 - Offset: 0x00000000000000E4
271 Type: R_ARM_ALU_PC_G0_NC
272 - Offset: 0x00000000000000E8
273 Type: R_ARM_ALU_PC_G0
274 - Offset: 0x00000000000000EC
275 Type: R_ARM_ALU_PC_G1_NC
276 - Offset: 0x00000000000000F0
277 Type: R_ARM_ALU_PC_G1
278 - Offset: 0x00000000000000F4
279 Type: R_ARM_ALU_PC_G2
280 - Offset: 0x00000000000000F8
281 Type: R_ARM_LDR_PC_G1
282 - Offset: 0x00000000000000FC
283 Type: R_ARM_LDR_PC_G2
284 - Offset: 0x0000000000000100
285 Type: R_ARM_LDRS_PC_G0
286 - Offset: 0x0000000000000104
287 Type: R_ARM_LDRS_PC_G1
288 - Offset: 0x0000000000000108
289 Type: R_ARM_LDRS_PC_G2
290 - Offset: 0x000000000000010C
291 Type: R_ARM_LDC_PC_G0
292 - Offset: 0x0000000000000110
293 Type: R_ARM_LDC_PC_G1
294 - Offset: 0x0000000000000114
295 Type: R_ARM_LDC_PC_G2
296 - Offset: 0x0000000000000118
297 Type: R_ARM_ALU_SB_G0_NC
298 - Offset: 0x000000000000011C
299 Type: R_ARM_ALU_SB_G0
300 - Offset: 0x0000000000000120
301 Type: R_ARM_ALU_SB_G1_NC
302 - Offset: 0x0000000000000124
303 Type: R_ARM_ALU_SB_G1
304 - Offset: 0x0000000000000128
305 Type: R_ARM_ALU_SB_G2
306 - Offset: 0x000000000000012C
307 Type: R_ARM_LDR_SB_G0
308 - Offset: 0x0000000000000130
309 Type: R_ARM_LDR_SB_G1
310 - Offset: 0x0000000000000134
311 Type: R_ARM_LDR_SB_G2
312 - Offset: 0x0000000000000138
313 Type: R_ARM_LDRS_SB_G0
314 - Offset: 0x000000000000013C
315 Type: R_ARM_LDRS_SB_G1
316 - Offset: 0x0000000000000140
317 Type: R_ARM_LDRS_SB_G2
318 - Offset: 0x0000000000000144
319 Type: R_ARM_LDC_SB_G0
320 - Offset: 0x0000000000000148
321 Type: R_ARM_LDC_SB_G1
322 - Offset: 0x000000000000014C
323 Type: R_ARM_LDC_SB_G2
324 - Offset: 0x0000000000000150
325 Type: R_ARM_MOVW_BREL_NC
326 - Offset: 0x0000000000000154
327 Type: R_ARM_MOVT_BREL
328 - Offset: 0x0000000000000158
329 Type: R_ARM_MOVW_BREL
330 - Offset: 0x000000000000015C
331 Type: R_ARM_THM_MOVW_BREL_NC
332 - Offset: 0x0000000000000160
333 Type: R_ARM_THM_MOVT_BREL
334 - Offset: 0x0000000000000164
335 Type: R_ARM_THM_MOVW_BREL
336 - Offset: 0x0000000000000168
337 Type: R_ARM_TLS_GOTDESC
338 - Offset: 0x000000000000016C
339 Type: R_ARM_TLS_CALL
340 - Offset: 0x0000000000000170
341 Type: R_ARM_TLS_DESCSEQ
342 - Offset: 0x0000000000000174
343 Type: R_ARM_THM_TLS_CALL
344 - Offset: 0x0000000000000178
345 Type: R_ARM_PLT32_ABS
346 - Offset: 0x000000000000017C
347 Type: R_ARM_GOT_ABS
348 - Offset: 0x0000000000000180
349 Type: R_ARM_GOT_PREL
350 - Offset: 0x0000000000000184
351 Type: R_ARM_GOT_BREL12
352 - Offset: 0x0000000000000188
353 Type: R_ARM_GOTOFF12
354 - Offset: 0x000000000000018C
355 Type: R_ARM_GOTRELAX
356 - Offset: 0x0000000000000190
357 Type: R_ARM_GNU_VTENTRY
358 - Offset: 0x0000000000000194
359 Type: R_ARM_GNU_VTINHERIT
360 - Offset: 0x0000000000000198
361 Type: R_ARM_THM_JUMP11
362 - Offset: 0x000000000000019C
363 Type: R_ARM_THM_JUMP8
364 - Offset: 0x00000000000001A0
365 Type: R_ARM_TLS_GD32
366 - Offset: 0x00000000000001A4
367 Type: R_ARM_TLS_LDM32
368 - Offset: 0x00000000000001A8
369 Type: R_ARM_TLS_LDO32
370 - Offset: 0x00000000000001AC
371 Type: R_ARM_TLS_IE32
372 - Offset: 0x00000000000001B0
373 Type: R_ARM_TLS_LE32
374 - Offset: 0x00000000000001B4
375 Type: R_ARM_TLS_LDO12
376 - Offset: 0x00000000000001B8
377 Type: R_ARM_TLS_LE12
378 - Offset: 0x00000000000001BC
379 Type: R_ARM_TLS_IE12GP
380 - Offset: 0x00000000000001C0
381 Type: R_ARM_PRIVATE_0
382 - Offset: 0x00000000000001C4
383 Type: R_ARM_PRIVATE_1
384 - Offset: 0x00000000000001C8
385 Type: R_ARM_PRIVATE_2
386 - Offset: 0x00000000000001CC
387 Type: R_ARM_PRIVATE_3
388 - Offset: 0x00000000000001D0
389 Type: R_ARM_PRIVATE_4
390 - Offset: 0x00000000000001D4
391 Type: R_ARM_PRIVATE_5
392 - Offset: 0x00000000000001D8
393 Type: R_ARM_PRIVATE_6
394 - Offset: 0x00000000000001DC
395 Type: R_ARM_PRIVATE_7
396 - Offset: 0x00000000000001E0
397 Type: R_ARM_PRIVATE_8
398 - Offset: 0x00000000000001E4
399 Type: R_ARM_PRIVATE_9
400 - Offset: 0x00000000000001E8
401 Type: R_ARM_PRIVATE_10
402 - Offset: 0x00000000000001EC
403 Type: R_ARM_PRIVATE_11
404 - Offset: 0x00000000000001F0
405 Type: R_ARM_PRIVATE_12
406 - Offset: 0x00000000000001F4
407 Type: R_ARM_PRIVATE_13
408 - Offset: 0x00000000000001F8
409 Type: R_ARM_PRIVATE_14
410 - Offset: 0x00000000000001FC
411 Type: R_ARM_PRIVATE_15
412 - Offset: 0x0000000000000200
413 Type: R_ARM_ME_TOO
414 - Offset: 0x0000000000000204
415 Type: R_ARM_THM_TLS_DESCSEQ16
416 - Offset: 0x0000000000000208
417 Type: R_ARM_THM_TLS_DESCSEQ32
418 - Offset: 0x000000000000020C
419 Type: R_ARM_IRELATIVE
0 ## Test that llvm-readobj/llvm-readelf shows proper relocation type
1 ## names and values for i386 target.
2
3 # RUN: yaml2obj %s -o %t-i386.o
4 # RUN: llvm-readobj -r --expand-relocs %t-i386.o | FileCheck %s
5
6 # CHECK: Type: R_386_NONE (0)
7 # CHECK: Type: R_386_32 (1)
8 # CHECK: Type: R_386_PC32 (2)
9 # CHECK: Type: R_386_GOT32 (3)
10 # CHECK: Type: R_386_PLT32 (4)
11 # CHECK: Type: R_386_COPY (5)
12 # CHECK: Type: R_386_GLOB_DAT (6)
13 # CHECK: Type: R_386_JUMP_SLOT (7)
14 # CHECK: Type: R_386_RELATIVE (8)
15 # CHECK: Type: R_386_GOTOFF (9)
16 # CHECK: Type: R_386_GOTPC (10)
17 # CHECK: Type: R_386_32PLT (11)
18 # CHECK: Type: R_386_TLS_TPOFF (14)
19 # CHECK: Type: R_386_TLS_IE (15)
20 # CHECK: Type: R_386_TLS_GOTIE (16)
21 # CHECK: Type: R_386_TLS_LE (17)
22 # CHECK: Type: R_386_TLS_GD (18)
23 # CHECK: Type: R_386_TLS_LDM (19)
24 # CHECK: Type: R_386_16 (20)
25 # CHECK: Type: R_386_PC16 (21)
26 # CHECK: Type: R_386_8 (22)
27 # CHECK: Type: R_386_PC8 (23)
28 # CHECK: Type: R_386_TLS_GD_32 (24)
29 # CHECK: Type: R_386_TLS_GD_PUSH (25)
30 # CHECK: Type: R_386_TLS_GD_CALL (26)
31 # CHECK: Type: R_386_TLS_GD_POP (27)
32 # CHECK: Type: R_386_TLS_LDM_32 (28)
33 # CHECK: Type: R_386_TLS_LDM_PUSH (29)
34 # CHECK: Type: R_386_TLS_LDM_CALL (30)
35 # CHECK: Type: R_386_TLS_LDM_POP (31)
36 # CHECK: Type: R_386_TLS_LDO_32 (32)
37 # CHECK: Type: R_386_TLS_IE_32 (33)
38 # CHECK: Type: R_386_TLS_LE_32 (34)
39 # CHECK: Type: R_386_TLS_DTPMOD32 (35)
40 # CHECK: Type: R_386_TLS_DTPOFF32 (36)
41 # CHECK: Type: R_386_TLS_TPOFF32 (37)
42 # CHECK: Type: R_386_TLS_GOTDESC (39)
43 # CHECK: Type: R_386_TLS_DESC_CALL (40)
44 # CHECK: Type: R_386_TLS_DESC (41)
45 # CHECK: Type: R_386_IRELATIVE (42)
46 # CHECK: Type: R_386_GOT32X (43)
47
48 --- !ELF
49 FileHeader:
50 Class: ELFCLASS32
51 Data: ELFDATA2LSB
52 OSABI: ELFOSABI_GNU
53 Type: ET_REL
54 Machine: EM_386
55 Sections:
56 - Name: .text
57 Type: SHT_PROGBITS
58 Content: 00
59 - Name: .rel.text
60 Type: SHT_REL
61 Link: .symtab
62 AddressAlign: 0x0000000000000004
63 EntSize: 0x0000000000000008
64 Info: .text
65 Relocations:
66 - Offset: 0x0000000000000002
67 Type: R_386_NONE
68 - Offset: 0x0000000000000008
69 Type: R_386_32
70 - Offset: 0x000000000000000E
71 Type: R_386_PC32
72 - Offset: 0x0000000000000014
73 Type: R_386_GOT32
74 - Offset: 0x000000000000001A
75 Type: R_386_PLT32
76 - Offset: 0x0000000000000020
77 Type: R_386_COPY
78 - Offset: 0x0000000000000026
79 Type: R_386_GLOB_DAT
80 - Offset: 0x000000000000002C
81 Type: R_386_JUMP_SLOT
82 - Offset: 0x0000000000000032
83 Type: R_386_RELATIVE
84 - Offset: 0x0000000000000038
85 Type: R_386_GOTOFF
86 - Offset: 0x000000000000003E
87 Type: R_386_GOTPC
88 - Offset: 0x0000000000000044
89 Type: R_386_32PLT
90 - Offset: 0x000000000000004A
91 Type: R_386_TLS_TPOFF
92 - Offset: 0x0000000000000050
93 Type: R_386_TLS_IE
94 - Offset: 0x0000000000000056
95 Type: R_386_TLS_GOTIE
96 - Offset: 0x000000000000005C
97 Type: R_386_TLS_LE
98 - Offset: 0x0000000000000062
99 Type: R_386_TLS_GD
100 - Offset: 0x0000000000000068
101 Type: R_386_TLS_LDM
102 - Offset: 0x000000000000006E
103 Type: R_386_16
104 - Offset: 0x0000000000000074
105 Type: R_386_PC16
106 - Offset: 0x000000000000007A
107 Type: R_386_8
108 - Offset: 0x0000000000000080
109 Type: R_386_PC8
110 - Offset: 0x0000000000000086
111 Type: R_386_TLS_GD_32
112 - Offset: 0x000000000000008C
113 Type: R_386_TLS_GD_PUSH
114 - Offset: 0x0000000000000092
115 Type: R_386_TLS_GD_CALL
116 - Offset: 0x0000000000000098
117 Type: R_386_TLS_GD_POP
118 - Offset: 0x000000000000009E
119 Type: R_386_TLS_LDM_32
120 - Offset: 0x00000000000000A4
121 Type: R_386_TLS_LDM_PUSH
122 - Offset: 0x00000000000000AA
123 Type: R_386_TLS_LDM_CALL
124 - Offset: 0x00000000000000B0
125 Type: R_386_TLS_LDM_POP
126 - Offset: 0x00000000000000B6
127 Type: R_386_TLS_LDO_32
128 - Offset: 0x00000000000000BC
129 Type: R_386_TLS_IE_32
130 - Offset: 0x00000000000000C2
131 Type: R_386_TLS_LE_32
132 - Offset: 0x00000000000000C8
133 Type: R_386_TLS_DTPMOD32
134 - Offset: 0x00000000000000CE
135 Type: R_386_TLS_DTPOFF32
136 - Offset: 0x00000000000000D4
137 Type: R_386_TLS_TPOFF32
138 - Offset: 0x00000000000000DA
139 Type: R_386_TLS_GOTDESC
140 - Offset: 0x00000000000000E0
141 Type: R_386_TLS_DESC_CALL
142 - Offset: 0x00000000000000E6
143 Type: R_386_TLS_DESC
144 - Offset: 0x00000000000000EC
145 Type: R_386_IRELATIVE
146 - Offset: 0x00000000000000F2
147 Type: R_386_GOT32X
0 ## Test that llvm-readobj/llvm-readelf shows proper relocation type
1 ## names and values for lanai target.
2
3 # RUN: yaml2obj %s -o %t-lanai.o
4 # RUN: llvm-readobj -r --expand-relocs %t-lanai.o | FileCheck %s
5
6 # CHECK: Type: R_LANAI_NONE (0)
7 # CHECK: Type: R_LANAI_21 (1)
8 # CHECK: Type: R_LANAI_21_F (2)
9 # CHECK: Type: R_LANAI_25 (3)
10 # CHECK: Type: R_LANAI_32 (4)
11 # CHECK: Type: R_LANAI_HI16 (5)
12 # CHECK: Type: R_LANAI_LO16 (6)
13
14 --- !ELF
15 FileHeader:
16 Class: ELFCLASS32
17 Data: ELFDATA2MSB
18 Type: ET_REL
19 Machine: EM_LANAI
20 Sections:
21 - Name: .text
22 Type: SHT_PROGBITS
23 Flags: [ SHF_ALLOC, SHF_EXECINSTR ]
24 AddressAlign: 0x0000000000000004
25 Content: 00
26 - Name: .rela.text
27 Type: SHT_RELA
28 Link: .symtab
29 AddressAlign: 0x0000000000000004
30 EntSize: 0x000000000000000C
31 Info: .text
32 Relocations:
33 - Offset: 0x0000000000000000
34 Type: R_LANAI_NONE
35 - Offset: 0x0000000000000004
36 Type: R_LANAI_21
37 - Offset: 0x0000000000000008
38 Type: R_LANAI_21_F
39 - Offset: 0x000000000000000C
40 Type: R_LANAI_25
41 - Offset: 0x0000000000000010
42 Type: R_LANAI_32
43 - Offset: 0x0000000000000014
44 Type: R_LANAI_HI16
45 - Offset: 0x0000000000000018
46 Type: R_LANAI_LO16
0 ## Test that llvm-readobj/llvm-readelf shows proper relocation type
1 ## names and values for mips target.
2
3 # RUN: yaml2obj %s -o %t-mips.o
4 # RUN: llvm-readobj -r --expand-relocs %t-mips.o | FileCheck %s
5
6 # CHECK: Type: R_MIPS_NONE (0)
7 # CHECK: Type: R_MIPS_16 (1)
8 # CHECK: Type: R_MIPS_32 (2)
9 # CHECK: Type: R_MIPS_REL32 (3)
10 # CHECK: Type: R_MIPS_26 (4)
11 # CHECK: Type: R_MIPS_HI16 (5)
12 # CHECK: Type: R_MIPS_LO16 (6)
13 # CHECK: Type: R_MIPS_GPREL16 (7)
14 # CHECK: Type: R_MIPS_LITERAL (8)
15 # CHECK: Type: R_MIPS_GOT16 (9)
16 # CHECK: Type: R_MIPS_PC16 (10)
17 # CHECK: Type: R_MIPS_CALL16 (11)
18 # CHECK: Type: R_MIPS_GPREL32 (12)
19 # CHECK: Type: R_MIPS_SHIFT5 (16)
20 # CHECK: Type: R_MIPS_SHIFT6 (17)
21 # CHECK: Type: R_MIPS_64 (18)
22 # CHECK: Type: R_MIPS_GOT_DISP (19)
23 # CHECK: Type: R_MIPS_GOT_PAGE (20)
24 # CHECK: Type: R_MIPS_GOT_OFST (21)
25 # CHECK: Type: R_MIPS_GOT_HI16 (22)
26 # CHECK: Type: R_MIPS_GOT_LO16 (23)
27 # CHECK: Type: R_MIPS_SUB (24)
28 # CHECK: Type: R_MIPS_INSERT_A (25)
29 # CHECK: Type: R_MIPS_INSERT_B (26)
30 # CHECK: Type: R_MIPS_DELETE (27)
31 # CHECK: Type: R_MIPS_HIGHER (28)
32 # CHECK: Type: R_MIPS_HIGHEST (29)
33 # CHECK: Type: R_MIPS_CALL_HI16 (30)
34 # CHECK: Type: R_MIPS_CALL_LO16 (31)
35 # CHECK: Type: R_MIPS_SCN_DISP (32)
36 # CHECK: Type: R_MIPS_REL16 (33)
37 # CHECK: Type: R_MIPS_ADD_IMMEDIATE (34)
38 # CHECK: Type: R_MIPS_PJUMP (35)
39 # CHECK: Type: R_MIPS_RELGOT (36)
40 # CHECK: Type: R_MIPS_JALR (37)
41 # CHECK: Type: R_MIPS_TLS_DTPMOD32 (38)
42 # CHECK: Type: R_MIPS_TLS_DTPREL32 (39)
43 # CHECK: Type: R_MIPS_TLS_DTPMOD64 (40)
44 # CHECK: Type: R_MIPS_TLS_DTPREL64 (41)
45 # CHECK: Type: R_MIPS_TLS_GD (42)
46 # CHECK: Type: R_MIPS_TLS_LDM (43)
47 # CHECK: Type: R_MIPS_TLS_DTPREL_HI16 (44)
48 # CHECK: Type: R_MIPS_TLS_DTPREL_LO16 (45)
49 # CHECK: Type: R_MIPS_TLS_GOTTPREL (46)
50 # CHECK: Type: R_MIPS_TLS_TPREL32 (47)
51 # CHECK: Type: R_MIPS_TLS_TPREL64 (48)
52 # CHECK: Type: R_MIPS_TLS_TPREL_HI16 (49)
53 # CHECK: Type: R_MIPS_TLS_TPREL_LO16 (50)
54 # CHECK: Type: R_MIPS_GLOB_DAT (51)
55 # CHECK: Type: R_MIPS_COPY (126)
56 # CHECK: Type: R_MIPS_JUMP_SLOT (127)
57 # CHECK: Type: R_MIPS_NUM (218)
58
59 --- !ELF
60 FileHeader:
61 Class: ELFCLASS32
62 Data: ELFDATA2MSB
63 OSABI: ELFOSABI_GNU
64 Type: ET_REL
65 Machine: EM_MIPS
66 Sections:
67 - Name: .text
68 Type: SHT_PROGBITS
69 Content: 00
70 - Name: .rel.text
71 Type: SHT_REL
72 Link: .symtab
73 AddressAlign: 0x0000000000000004
74 EntSize: 0x0000000000000008
75 Info: .text
76 Relocations:
77 - Offset: 0x0000000000000000
78 Type: R_MIPS_NONE
79 - Offset: 0x0000000000000004
80 Type: R_MIPS_16
81 - Offset: 0x0000000000000008
82 Type: R_MIPS_32
83 - Offset: 0x000000000000000C
84 Type: R_MIPS_REL32
85 - Offset: 0x0000000000000010
86 Type: R_MIPS_26
87 - Offset: 0x0000000000000014
88 Type: R_MIPS_HI16
89 - Offset: 0x0000000000000018
90 Type: R_MIPS_LO16
91 - Offset: 0x000000000000001C
92 Type: R_MIPS_GPREL16
93 - Offset: 0x0000000000000020
94 Type: R_MIPS_LITERAL
95 - Offset: 0x0000000000000024
96 Type: R_MIPS_GOT16
97 - Offset: 0x0000000000000028
98 Type: R_MIPS_PC16
99 - Offset: 0x000000000000002C
100 Type: R_MIPS_CALL16
101 - Offset: 0x0000000000000030
102 Type: R_MIPS_GPREL32
103 - Offset: 0x0000000000000034
104 Type: R_MIPS_SHIFT5
105 - Offset: 0x0000000000000038
106 Type: R_MIPS_SHIFT6
107 - Offset: 0x000000000000003C
108 Type: R_MIPS_64
109 - Offset: 0x0000000000000040
110 Type: R_MIPS_GOT_DISP
111 - Offset: 0x0000000000000044
112 Type: R_MIPS_GOT_PAGE
113 - Offset: 0x0000000000000048
114 Type: R_MIPS_GOT_OFST
115 - Offset: 0x000000000000004C
116 Type: R_MIPS_GOT_HI16
117 - Offset: 0x0000000000000050
118 Type: R_MIPS_GOT_LO16
119 - Offset: 0x0000000000000054
120 Type: R_MIPS_SUB
121 - Offset: 0x0000000000000058
122 Type: R_MIPS_INSERT_A
123 - Offset: 0x000000000000005C
124 Type: R_MIPS_INSERT_B
125 - Offset: 0x0000000000000060
126 Type: R_MIPS_DELETE
127 - Offset: 0x0000000000000064
128 Type: R_MIPS_HIGHER
129 - Offset: 0x0000000000000068
130 Type: R_MIPS_HIGHEST
131 - Offset: 0x000000000000006C
132 Type: R_MIPS_CALL_HI16
133 - Offset: 0x0000000000000070
134 Type: R_MIPS_CALL_LO16
135 - Offset: 0x0000000000000074
136 Type: R_MIPS_SCN_DISP
137 - Offset: 0x0000000000000078
138 Type: R_MIPS_REL16
139 - Offset: 0x000000000000007C
140 Type: R_MIPS_ADD_IMMEDIATE
141 - Offset: 0x0000000000000080
142 Type: R_MIPS_PJUMP
143 - Offset: 0x0000000000000084
144 Type: R_MIPS_RELGOT
145 - Offset: 0x0000000000000088
146 Type: R_MIPS_JALR
147 - Offset: 0x000000000000008C
148 Type: R_MIPS_TLS_DTPMOD32
149 - Offset: 0x0000000000000090
150 Type: R_MIPS_TLS_DTPREL32
151 - Offset: 0x0000000000000094
152 Type: R_MIPS_TLS_DTPMOD64
153 - Offset: 0x0000000000000098
154 Type: R_MIPS_TLS_DTPREL64
155 - Offset: 0x000000000000009C
156 Type: R_MIPS_TLS_GD
157 - Offset: 0x00000000000000A0
158 Type: R_MIPS_TLS_LDM
159 - Offset: 0x00000000000000A4
160 Type: R_MIPS_TLS_DTPREL_HI16
161 - Offset: 0x00000000000000A8
162 Type: R_MIPS_TLS_DTPREL_LO16
163 - Offset: 0x00000000000000AC
164 Type: R_MIPS_TLS_GOTTPREL
165 - Offset: 0x00000000000000B0
166 Type: R_MIPS_TLS_TPREL32
167 - Offset: 0x00000000000000B4
168 Type: R_MIPS_TLS_TPREL64
169 - Offset: 0x00000000000000B8
170 Type: R_MIPS_TLS_TPREL_HI16
171 - Offset: 0x00000000000000BC
172 Type: R_MIPS_TLS_TPREL_LO16
173 - Offset: 0x00000000000000C0
174 Type: R_MIPS_GLOB_DAT
175 - Offset: 0x00000000000000C4
176 Type: R_MIPS_COPY
177 - Offset: 0x00000000000000C8
178 Type: R_MIPS_JUMP_SLOT
179 - Offset: 0x00000000000000CC
180 Type: R_MIPS_NUM
0 ## Test that llvm-readobj/llvm-readelf shows proper relocation type
1 ## names and values for mips64 target.
2
3 # RUN: yaml2obj %s -o %t-mips64.o
4 # RUN: llvm-readobj -r --expand-relocs %t-mips64.o | FileCheck %s
5
6 # CHECK: Type: R_MIPS_NONE/R_MIPS_NONE/R_MIPS_NONE (0)
7 # CHECK: Type: R_MIPS_16/R_MIPS_16/R_MIPS_16 (65793)
8 # CHECK: Type: R_MIPS_32/R_MIPS_32/R_MIPS_32 (131586)
9 # CHECK: Type: R_MIPS_REL32/R_MIPS_REL32/R_MIPS_REL32 (197379)
10 # CHECK: Type: R_MIPS_26/R_MIPS_26/R_MIPS_26 (263172)
11 # CHECK: Type: R_MIPS_HI16/R_MIPS_HI16/R_MIPS_HI16 (328965)
12 # CHECK: Type: R_MIPS_LO16/R_MIPS_LO16/R_MIPS_LO16 (394758)
13 # CHECK: Type: R_MIPS_GPREL16/R_MIPS_GPREL16/R_MIPS_GPREL16 (460551)
14 # CHECK: Type: R_MIPS_LITERAL/R_MIPS_LITERAL/R_MIPS_LITERAL (526344)
15 # CHECK: Type: R_MIPS_GOT16/R_MIPS_GOT16/R_MIPS_GOT16 (592137)
16 # CHECK: Type: R_MIPS_PC16/R_MIPS_PC16/R_MIPS_PC16 (657930)
17 # CHECK: Type: R_MIPS_CALL16/R_MIPS_CALL16/R_MIPS_CALL16 (723723)
18 # CHECK: Type: R_MIPS_GPREL32/R_MIPS_GPREL32/R_MIPS_GPREL32 (789516)
19 # CHECK: Type: R_MIPS_SHIFT5/R_MIPS_SHIFT5/R_MIPS_SHIFT5 (1052688)
20 # CHECK: Type: R_MIPS_SHIFT6/R_MIPS_SHIFT6/R_MIPS_SHIFT6 (1118481)
21 # CHECK: Type: R_MIPS_64/R_MIPS_64/R_MIPS_64 (1184274)
22 # CHECK: Type: R_MIPS_GOT_DISP/R_MIPS_GOT_DISP/R_MIPS_GOT_DISP (1250067)
23 # CHECK: Type: R_MIPS_GOT_PAGE/R_MIPS_GOT_PAGE/R_MIPS_GOT_PAGE (1315860)
24 # CHECK: Type: R_MIPS_GOT_OFST/R_MIPS_GOT_OFST/R_MIPS_GOT_OFST (1381653)
25 # CHECK: Type: R_MIPS_GOT_HI16/R_MIPS_GOT_HI16/R_MIPS_GOT_HI16 (1447446)
26 # CHECK: Type: R_MIPS_GOT_LO16/R_MIPS_GOT_LO16/R_MIPS_GOT_LO16 (1513239)
27 # CHECK: Type: R_MIPS_SUB/R_MIPS_SUB/R_MIPS_SUB (1579032)
28 # CHECK: Type: R_MIPS_INSERT_A/R_MIPS_INSERT_A/R_MIPS_INSERT_A (1644825)
29 # CHECK: Type: R_MIPS_INSERT_B/R_MIPS_INSERT_B/R_MIPS_INSERT_B (1710618)
30 # CHECK: Type: R_MIPS_DELETE/R_MIPS_DELETE/R_MIPS_DELETE (1776411)
31 # CHECK: Type: R_MIPS_HIGHER/R_MIPS_HIGHER/R_MIPS_HIGHER (1842204)
32 # CHECK: Type: R_MIPS_HIGHEST/R_MIPS_HIGHEST/R_MIPS_HIGHEST (1907997)
33 # CHECK: Type: R_MIPS_CALL_HI16/R_MIPS_CALL_HI16/R_MIPS_CALL_HI16 (1973790)
34 # CHECK: Type: R_MIPS_CALL_LO16/R_MIPS_CALL_LO16/R_MIPS_CALL_LO16 (2039583)
35 # CHECK: Type: R_MIPS_SCN_DISP/R_MIPS_SCN_DISP/R_MIPS_SCN_DISP (2105376)
36 # CHECK: Type: R_MIPS_REL16/R_MIPS_REL16/R_MIPS_REL16 (2171169)
37 # CHECK: Type: R_MIPS_ADD_IMMEDIATE/R_MIPS_ADD_IMMEDIATE/R_MIPS_ADD_IMMEDIATE (2236962)
38 # CHECK: Type: R_MIPS_PJUMP/R_MIPS_PJUMP/R_MIPS_PJUMP (2302755)
39 # CHECK: Type: R_MIPS_RELGOT/R_MIPS_RELGOT/R_MIPS_RELGOT (2368548)
40 # CHECK: Type: R_MIPS_JALR/R_MIPS_JALR/R_MIPS_JALR (2434341)
41 # CHECK: Type: R_MIPS_TLS_DTPMOD32/R_MIPS_TLS_DTPMOD32/R_MIPS_TLS_DTPMOD32 (2500134)
42 # CHECK: Type: R_MIPS_TLS_DTPREL32/R_MIPS_TLS_DTPREL32/R_MIPS_TLS_DTPREL32 (2565927)
43 # CHECK: Type: R_MIPS_TLS_DTPMOD64/R_MIPS_TLS_DTPMOD64/R_MIPS_TLS_DTPMOD64 (2631720)
44 # CHECK: Type: R_MIPS_TLS_DTPREL64/R_MIPS_TLS_DTPREL64/R_MIPS_TLS_DTPREL64 (2697513)
45 # CHECK: Type: R_MIPS_TLS_GD/R_MIPS_TLS_GD/R_MIPS_TLS_GD (2763306)
46 # CHECK: Type: R_MIPS_TLS_LDM/R_MIPS_TLS_LDM/R_MIPS_TLS_LDM (2829099)
47 # CHECK: Type: R_MIPS_TLS_DTPREL_HI16/R_MIPS_TLS_DTPREL_HI16/R_MIPS_TLS_DTPREL_HI16 (2894892)
48 # CHECK: Type: R_MIPS_TLS_DTPREL_LO16/R_MIPS_TLS_DTPREL_LO16/R_MIPS_TLS_DTPREL_LO16 (2960685)
49 # CHECK: Type: R_MIPS_TLS_GOTTPREL/R_MIPS_TLS_GOTTPREL/R_MIPS_TLS_GOTTPREL (3026478)
50 # CHECK: Type: R_MIPS_TLS_TPREL32/R_MIPS_TLS_TPREL32/R_MIPS_TLS_TPREL32 (3092271)
51 # CHECK: Type: R_MIPS_TLS_TPREL64/R_MIPS_TLS_TPREL64/R_MIPS_TLS_TPREL64 (3158064)
52 # CHECK: Type: R_MIPS_TLS_TPREL_HI16/R_MIPS_TLS_TPREL_HI16/R_MIPS_TLS_TPREL_HI16 (3223857)
53 # CHECK: Type: R_MIPS_TLS_TPREL_LO16/R_MIPS_TLS_TPREL_LO16/R_MIPS_TLS_TPREL_LO16 (3289650)
54 # CHECK: Type: R_MIPS_GLOB_DAT/R_MIPS_GLOB_DAT/R_MIPS_GLOB_DAT (3355443)
55 # CHECK: Type: R_MIPS_COPY/R_MIPS_COPY/R_MIPS_COPY (8289918)
56 # CHECK: Type: R_MIPS_JUMP_SLOT/R_MIPS_JUMP_SLOT/R_MIPS_JUMP_SLOT (8355711)
57 # CHECK: Type: R_MIPS_NUM/R_MIPS_NUM/R_MIPS_NUM (14342874)
58
59 --- !ELF
60 FileHeader:
61 Class: ELFCLASS64
62 Data: ELFDATA2LSB
63 OSABI: ELFOSABI_GNU
64 Type: ET_REL
65 Machine: EM_MIPS
66 Sections:
67 - Name: .text
68 Type: SHT_PROGBITS
69 Content: 00
70 - Name: .rela.text
71 Type: SHT_RELA
72 Link: .symtab
73 AddressAlign: 0x0000000000000008
74 EntSize: 0x0000000000000018
75 Info: .text
76 Relocations:
77 - Offset: 0x0000000000000000
78 Type: R_MIPS_NONE
79 - Offset: 0x0000000000000004
80 Type: R_MIPS_16
81 Type2: R_MIPS_16
82 Type3: R_MIPS_16
83 - Offset: 0x0000000000000008
84 Type: R_MIPS_32
85 Type2: R_MIPS_32
86 Type3: R_MIPS_32
87 - Offset: 0x000000000000000C
88 Type: R_MIPS_REL32
89 Type2: R_MIPS_REL32
90 Type3: R_MIPS_REL32
91 - Offset: 0x0000000000000010
92 Type: R_MIPS_26
93 Type2: R_MIPS_26
94 Type3: R_MIPS_26
95 - Offset: 0x0000000000000014
96 Type: R_MIPS_HI16
97 Type2: R_MIPS_HI16
98 Type3: R_MIPS_HI16
99 - Offset: 0x0000000000000018
100 Type: R_MIPS_LO16
101 Type2: R_MIPS_LO16
102 Type3: R_MIPS_LO16
103 - Offset: 0x000000000000001C
104 Type: R_MIPS_GPREL16
105 Type2: R_MIPS_GPREL16
106 Type3: R_MIPS_GPREL16
107 - Offset: 0x0000000000000020
108 Type: R_MIPS_LITERAL
109 Type2: R_MIPS_LITERAL
110 Type3: R_MIPS_LITERAL
111 - Offset: 0x0000000000000024
112 Type: R_MIPS_GOT16
113 Type2: R_MIPS_GOT16
114 Type3: R_MIPS_GOT16
115 - Offset: 0x0000000000000028
116 Type: R_MIPS_PC16
117 Type2: R_MIPS_PC16
118 Type3: R_MIPS_PC16
119 - Offset: 0x000000000000002C
120 Type: R_MIPS_CALL16
121 Type2: R_MIPS_CALL16
122 Type3: R_MIPS_CALL16
123 - Offset: 0x0000000000000030
124 Type: R_MIPS_GPREL32
125 Type2: R_MIPS_GPREL32
126 Type3: R_MIPS_GPREL32
127 - Offset: 0x0000000000000034
128 Type: R_MIPS_SHIFT5
129 Type2: R_MIPS_SHIFT5
130 Type3: R_MIPS_SHIFT5
131 - Offset: 0x0000000000000038
132 Type: R_MIPS_SHIFT6
133 Type2: R_MIPS_SHIFT6
134 Type3: R_MIPS_SHIFT6
135 - Offset: 0x000000000000003C
136 Type: R_MIPS_64
137 Type2: R_MIPS_64
138 Type3: R_MIPS_64
139 - Offset: 0x0000000000000040
140 Type: R_MIPS_GOT_DISP
141 Type2: R_MIPS_GOT_DISP
142 Type3: R_MIPS_GOT_DISP
143 - Offset: 0x0000000000000044
144 Type: R_MIPS_GOT_PAGE
145 Type2: R_MIPS_GOT_PAGE
146 Type3: R_MIPS_GOT_PAGE
147 - Offset: 0x0000000000000048
148 Type: R_MIPS_GOT_OFST
149 Type2: R_MIPS_GOT_OFST
150 Type3: R_MIPS_GOT_OFST
151 - Offset: 0x000000000000004C
152 Type: R_MIPS_GOT_HI16
153 Type2: R_MIPS_GOT_HI16
154 Type3: R_MIPS_GOT_HI16
155 - Offset: 0x0000000000000050
156 Type: R_MIPS_GOT_LO16
157 Type2: R_MIPS_GOT_LO16
158 Type3: R_MIPS_GOT_LO16
159 - Offset: 0x0000000000000054
160 Type: R_MIPS_SUB
161 Type2: R_MIPS_SUB
162 Type3: R_MIPS_SUB
163 - Offset: 0x0000000000000058
164 Type: R_MIPS_INSERT_A
165 Type2: R_MIPS_INSERT_A
166 Type3: R_MIPS_INSERT_A
167 - Offset: 0x000000000000005C
168 Type: R_MIPS_INSERT_B
169 Type2: R_MIPS_INSERT_B
170 Type3: R_MIPS_INSERT_B
171 - Offset: 0x0000000000000060
172 Type: R_MIPS_DELETE
173 Type2: R_MIPS_DELETE
174 Type3: R_MIPS_DELETE
175 - Offset: 0x0000000000000064
176 Type: R_MIPS_HIGHER
177 Type2: R_MIPS_HIGHER
178 Type3: R_MIPS_HIGHER
179 - Offset: 0x0000000000000068
180 Type: R_MIPS_HIGHEST
181 Type2: R_MIPS_HIGHEST
182 Type3: R_MIPS_HIGHEST
183 - Offset: 0x000000000000006C
184 Type: R_MIPS_CALL_HI16
185 Type2: R_MIPS_CALL_HI16
186 Type3: R_MIPS_CALL_HI16
187 - Offset: 0x0000000000000070
188 Type: R_MIPS_CALL_LO16
189 Type2: R_MIPS_CALL_LO16
190 Type3: R_MIPS_CALL_LO16
191 - Offset: 0x0000000000000074
192 Type: R_MIPS_SCN_DISP
193 Type2: R_MIPS_SCN_DISP
194 Type3: R_MIPS_SCN_DISP
195 - Offset: 0x0000000000000078
196 Type: R_MIPS_REL16
197 Type2: R_MIPS_REL16
198 Type3: R_MIPS_REL16
199 - Offset: 0x000000000000007C
200 Type: R_MIPS_ADD_IMMEDIATE
201 Type2: R_MIPS_ADD_IMMEDIATE
202 Type3: R_MIPS_ADD_IMMEDIATE
203 - Offset: 0x0000000000000080
204 Type: R_MIPS_PJUMP
205 Type2: R_MIPS_PJUMP
206 Type3: R_MIPS_PJUMP
207 - Offset: 0x0000000000000084
208 Type: R_MIPS_RELGOT
209 Type2: R_MIPS_RELGOT
210 Type3: R_MIPS_RELGOT
211 - Offset: 0x0000000000000088
212 Type: R_MIPS_JALR
213 Type2: R_MIPS_JALR
214 Type3: R_MIPS_JALR
215 - Offset: 0x000000000000008C
216 Type: R_MIPS_TLS_DTPMOD32
217 Type2: R_MIPS_TLS_DTPMOD32
218 Type3: R_MIPS_TLS_DTPMOD32
219 - Offset: 0x0000000000000090
220 Type: R_MIPS_TLS_DTPREL32
221 Type2: R_MIPS_TLS_DTPREL32
222 Type3: R_MIPS_TLS_DTPREL32
223 - Offset: 0x0000000000000094
224 Type: R_MIPS_TLS_DTPMOD64
225 Type2: R_MIPS_TLS_DTPMOD64
226 Type3: R_MIPS_TLS_DTPMOD64
227 - Offset: 0x0000000000000098
228 Type: R_MIPS_TLS_DTPREL64
229 Type2: R_MIPS_TLS_DTPREL64
230 Type3: R_MIPS_TLS_DTPREL64
231 - Offset: 0x000000000000009C
232 Type: R_MIPS_TLS_GD
233 Type2: R_MIPS_TLS_GD
234 Type3: R_MIPS_TLS_GD
235 - Offset: 0x00000000000000A0
236 Type: R_MIPS_TLS_LDM
237 Type2: R_MIPS_TLS_LDM
238 Type3: R_MIPS_TLS_LDM
239 - Offset: 0x00000000000000A4
240 Type: R_MIPS_TLS_DTPREL_HI16
241 Type2: R_MIPS_TLS_DTPREL_HI16
242 Type3: R_MIPS_TLS_DTPREL_HI16
243 - Offset: 0x00000000000000A8
244 Type: R_MIPS_TLS_DTPREL_LO16
245 Type2: R_MIPS_TLS_DTPREL_LO16
246 Type3: R_MIPS_TLS_DTPREL_LO16
247 - Offset: 0x00000000000000AC
248 Type: R_MIPS_TLS_GOTTPREL
249 Type2: R_MIPS_TLS_GOTTPREL
250 Type3: R_MIPS_TLS_GOTTPREL
251 - Offset: 0x00000000000000B0
252 Type: R_MIPS_TLS_TPREL32
253 Type2: R_MIPS_TLS_TPREL32
254 Type3: R_MIPS_TLS_TPREL32
255 - Offset: 0x00000000000000B4
256 Type: R_MIPS_TLS_TPREL64
257 Type2: R_MIPS_TLS_TPREL64
258 Type3: R_MIPS_TLS_TPREL64
259 - Offset: 0x00000000000000B8
260 Type: R_MIPS_TLS_TPREL_HI16
261 Type2: R_MIPS_TLS_TPREL_HI16
262 Type3: R_MIPS_TLS_TPREL_HI16
263 - Offset: 0x00000000000000BC
264 Type: R_MIPS_TLS_TPREL_LO16
265 Type2: R_MIPS_TLS_TPREL_LO16
266 Type3: R_MIPS_TLS_TPREL_LO16
267 - Offset: 0x00000000000000C0
268 Type: R_MIPS_GLOB_DAT
269 Type2: R_MIPS_GLOB_DAT
270 Type3: R_MIPS_GLOB_DAT
271 - Offset: 0x00000000000000C4
272 Type: R_MIPS_COPY
273 Type2: R_MIPS_COPY
274 Type3: R_MIPS_COPY
275 - Offset: 0x00000000000000C8
276 Type: R_MIPS_JUMP_SLOT
277 Type2: R_MIPS_JUMP_SLOT
278 Type3: R_MIPS_JUMP_SLOT
279 - Offset: 0x00000000000000CC
280 Type: R_MIPS_NUM
281 Type2: R_MIPS_NUM
282 Type3: R_MIPS_NUM
0 ## Test that llvm-readobj/llvm-readelf shows proper relocation type
1 ## names and values for ppc64 target.
2
3 ## TODO: Use yaml2obj. obj2yaml now hangs on dumping relocs.obj.elf-ppc64
4 # RUN: llvm-readobj -r --expand-relocs %p/Inputs/relocs.obj.elf-ppc64 | FileCheck %s
5
6 # CHECK: Type: R_PPC64_NONE (0)
7 # CHECK: Type: R_PPC64_ADDR32 (1)
8 # CHECK: Type: R_PPC64_ADDR16_LO (4)
9 # CHECK: Type: R_PPC64_ADDR16_HI (5)
10 # CHECK: Type: R_PPC64_ADDR14 (7)
11 # CHECK: Type: R_PPC64_REL24 (10)
12 # CHECK: Type: R_PPC64_REL32 (26)
13 # CHECK: Type: R_PPC64_ADDR64 (38)
14 # CHECK: Type: R_PPC64_ADDR16_HIGHER (39)
15 # CHECK: Type: R_PPC64_ADDR16_HIGHEST (41)
16 # CHECK: Type: R_PPC64_REL64 (44)
17 # CHECK: Type: R_PPC64_TOC16 (47)
18 # CHECK: Type: R_PPC64_TOC16_LO (48)
19 # CHECK: Type: R_PPC64_TOC16_HA (50)
20 # CHECK: Type: R_PPC64_TOC (51)
21 # CHECK: Type: R_PPC64_ADDR16_DS (56)
22 # CHECK: Type: R_PPC64_ADDR16_LO_DS (57)
23 # CHECK: Type: R_PPC64_TOC16_DS (63)
24 # CHECK: Type: R_PPC64_TOC16_LO_DS (64)
25 # CHECK: Type: R_PPC64_TLS (67)
26 # CHECK: Type: R_PPC64_TPREL16_LO (70)
27 # CHECK: Type: R_PPC64_TPREL16_HA (72)
28 # CHECK: Type: R_PPC64_DTPREL16_LO (75)
29 # CHECK: Type: R_PPC64_DTPREL16_HA (77)
30 # CHECK: Type: R_PPC64_GOT_TLSGD16_LO (80)
31 # CHECK: Type: R_PPC64_GOT_TLSGD16_HA (82)
32 # CHECK: Type: R_PPC64_GOT_TLSLD16_LO (84)
33 # CHECK: Type: R_PPC64_GOT_TLSLD16_HA (86)
34 # CHECK: Type: R_PPC64_GOT_TPREL16_LO_DS (88)
35 # CHECK: Type: R_PPC64_GOT_TPREL16_HA (90)
36 # CHECK: Type: R_PPC64_TLSGD (107)
37 # CHECK: Type: R_PPC64_TLSLD (108)
0 ## Test that llvm-readobj/llvm-readelf shows proper relocation type
1 ## names and values for x86_64 target.
2
3 # RUN: yaml2obj %s -o %t-x86_64.o
4 # RUN: llvm-readobj -r --expand-relocs %t-x86_64.o | FileCheck %s
5
6 # CHECK: Type: R_X86_64_NONE (0)
7 # CHECK: Type: R_X86_64_64 (1)
8 # CHECK: Type: R_X86_64_PC32 (2)
9 # CHECK: Type: R_X86_64_GOT32 (3)
10 # CHECK: Type: R_X86_64_PLT32 (4)
11 # CHECK: Type: R_X86_64_COPY (5)
12 # CHECK: Type: R_X86_64_GLOB_DAT (6)
13 # CHECK: Type: R_X86_64_JUMP_SLOT (7)
14 # CHECK: Type: R_X86_64_RELATIVE (8)
15 # CHECK: Type: R_X86_64_GOTPCREL (9)
16 # CHECK: Type: R_X86_64_32 (10)
17 # CHECK: Type: R_X86_64_32S (11)
18 # CHECK: Type: R_X86_64_16 (12)
19 # CHECK: Type: R_X86_64_PC16 (13)
20 # CHECK: Type: R_X86_64_8 (14)
21 # CHECK: Type: R_X86_64_PC8 (15)
22 # CHECK: Type: R_X86_64_DTPMOD64 (16)
23 # CHECK: Type: R_X86_64_DTPOFF64 (17)
24 # CHECK: Type: R_X86_64_TPOFF64 (18)
25 # CHECK: Type: R_X86_64_TLSGD (19)
26 # CHECK: Type: R_X86_64_TLSLD (20)
27 # CHECK: Type: R_X86_64_DTPOFF32 (21)
28 # CHECK: Type: R_X86_64_GOTTPOFF (22)
29 # CHECK: Type: R_X86_64_TPOFF32 (23)
30 # CHECK: Type: R_X86_64_PC64 (24)
31 # CHECK: Type: R_X86_64_GOTOFF64 (25)
32 # CHECK: Type: R_X86_64_GOTPC32 (26)
33 # CHECK: Type: R_X86_64_GOT64 (27)
34 # CHECK: Type: R_X86_64_GOTPCREL64 (28)
35 # CHECK: Type: R_X86_64_GOTPC64 (29)
36 # CHECK: Type: R_X86_64_GOTPLT64 (30)
37 # CHECK: Type: R_X86_64_PLTOFF64 (31)
38 # CHECK: Type: R_X86_64_SIZE32 (32)
39 # CHECK: Type: R_X86_64_SIZE64 (33)
40 # CHECK: Type: R_X86_64_GOTPC32_TLSDESC (34)
41 # CHECK: Type: R_X86_64_TLSDESC_CALL (35)
42 # CHECK: Type: R_X86_64_TLSDESC (36)
43 # CHECK: Type: R_X86_64_IRELATIVE (37)
44 # CHECK: Type: R_X86_64_GOTPCRELX (41)
45 # CHECK: Type: R_X86_64_REX_GOTPCRELX (42)
46
47 --- !ELF
48 FileHeader:
49 Class: ELFCLASS64
50 Data: ELFDATA2LSB
51 OSABI: ELFOSABI_GNU
52 Type: ET_REL
53 Machine: EM_X86_64
54 Sections:
55 - Name: .text
56 Type: SHT_PROGBITS
57 Content: 00
58 - Name: .rela.text
59 Type: SHT_RELA
60 Link: .symtab
61 AddressAlign: 0x0000000000000008
62 EntSize: 0x0000000000000018
63 Info: .text
64 Relocations:
65 - Offset: 0x0000000000000003
66 Type: R_X86_64_NONE
67 - Offset: 0x000000000000000A
68 Type: R_X86_64_64
69 - Offset: 0x0000000000000011
70 Type: R_X86_64_PC32
71 - Offset: 0x0000000000000018
72 Type: R_X86_64_GOT32
73 - Offset: 0x000000000000001F
74 Type: R_X86_64_PLT32
75 - Offset: 0x0000000000000026
76 Type: R_X86_64_COPY
77 - Offset: 0x000000000000002D
78 Type: R_X86_64_GLOB_DAT
79 - Offset: 0x0000000000000034
80 Type: R_X86_64_JUMP_SLOT
81 - Offset: 0x000000000000003B
82 Type: R_X86_64_RELATIVE
83 - Offset: 0x0000000000000042
84 Type: R_X86_64_GOTPCREL
85 - Offset: 0x0000000000000049
86 Type: R_X86_64_32
87 - Offset: 0x0000000000000050
88 Type: R_X86_64_32S
89 - Offset: 0x0000000000000057
90 Type: R_X86_64_16
91 - Offset: 0x000000000000005E
92 Type: R_X86_64_PC16
93 - Offset: 0x0000000000000065
94 Type: R_X86_64_8
95 - Offset: 0x000000000000006C
96 Type: R_X86_64_PC8
97 - Offset: 0x0000000000000073
98 Type: R_X86_64_DTPMOD64
99 - Offset: 0x000000000000007A
100 Type: R_X86_64_DTPOFF64
101 - Offset: 0x0000000000000081
102 Type: R_X86_64_TPOFF64
103 - Offset: 0x0000000000000088
104 Type: R_X86_64_TLSGD
105 - Offset: 0x000000000000008F
106 Type: R_X86_64_TLSLD
107 - Offset: 0x0000000000000096
108 Type: R_X86_64_DTPOFF32
109 - Offset: 0x000000000000009D
110 Type: R_X86_64_GOTTPOFF
111 - Offset: 0x00000000000000A4
112 Type: R_X86_64_TPOFF32
113 - Offset: 0x00000000000000AB
114 Type: R_X86_64_PC64
115 - Offset: 0x00000000000000B2
116 Type: R_X86_64_GOTOFF64
117 - Offset: 0x00000000000000B9
118 Type: R_X86_64_GOTPC32
119 - Offset: 0x00000000000000C0
120 Type: R_X86_64_GOT64
121 - Offset: 0x00000000000000C7
122 Type: R_X86_64_GOTPCREL64
123 - Offset: 0x00000000000000CE
124 Type: R_X86_64_GOTPC64
125 - Offset: 0x00000000000000D5
126 Type: R_X86_64_GOTPLT64
127 - Offset: 0x00000000000000DC
128 Type: R_X86_64_PLTOFF64
129 - Offset: 0x00000000000000E3
130 Type: R_X86_64_SIZE32
131 - Offset: 0x00000000000000EA
132 Type: R_X86_64_SIZE64
133 - Offset: 0x00000000000000F1
134 Type: R_X86_64_GOTPC32_TLSDESC
135 - Offset: 0x00000000000000F8
136 Type: R_X86_64_TLSDESC_CALL
137 - Offset: 0x00000000000000FF
138 Type: R_X86_64_TLSDESC
139 - Offset: 0x0000000000000106
140 Type: R_X86_64_IRELATIVE
141 - Offset: 0x000000000000010A
142 Type: R_X86_64_GOTPCRELX
143 - Offset: 0x000000000000010E
144 Type: R_X86_64_REX_GOTPCRELX
0 ## Test that llvm-readobj/llvm-readelf shows proper relocation type
1 ## names and values for macho-arm target.
2
3 ## TODO: use yaml2obj.
4 # RUN: llvm-readobj -r --expand-relocs %p/Inputs/relocs.obj.macho-arm | FileCheck %s
5
6 # CHECK: Type: ARM_RELOC_VANILLA (0)
7 # CHECK: Type: ARM_RELOC_PAIR (1)
8 # CHECK: Type: ARM_RELOC_SECTDIFF (2)
9 # CHECK: Type: ARM_RELOC_LOCAL_SECTDIFF (3)
10 # CHECK: Type: ARM_RELOC_PB_LA_PTR (4)
11 # CHECK: Type: ARM_RELOC_BR24 (5)
12 # CHECK: Type: ARM_THUMB_RELOC_BR22 (6)
13 # CHECK: Type: ARM_THUMB_32BIT_BRANCH (7)
14 # CHECK: Type: ARM_RELOC_HALF (8)
15 # CHECK: Type: ARM_RELOC_HALF_SECTDIFF (9)
0 ## Test that llvm-readobj/llvm-readelf shows proper relocation type
1 ## names and values for macho-i386 target.
2
3 ## TODO: use yaml2obj.
4 # RUN: llvm-readobj -r --expand-relocs %p/Inputs/relocs.obj.macho-i386 | FileCheck %s
5
6 # CHECK: Type: GENERIC_RELOC_VANILLA (0)
7 # CHECK: Type: GENERIC_RELOC_PAIR (1)
8 # CHECK: Type: GENERIC_RELOC_SECTDIFF (2)
9 # CHECK: Type: GENERIC_RELOC_PB_LA_PTR (3)
10 # CHECK: Type: GENERIC_RELOC_LOCAL_SECTDIFF (4)
11 # CHECK: Type: GENERIC_RELOC_TLV (5)
0 ## Test that llvm-readobj/llvm-readelf shows proper relocation type
1 ## names and values for macho-x64 target.
2
3 ## TODO: use yaml2obj.
4 # RUN: llvm-readobj -r --expand-relocs %p/Inputs/relocs.obj.macho-x86_64 | FileCheck %s
5
6 # CHECK: Type: X86_64_RELOC_UNSIGNED (0)
7 # CHECK: Type: X86_64_RELOC_SIGNED (1)
8 # CHECK: Type: X86_64_RELOC_BRANCH (2)
9 # CHECK: Type: X86_64_RELOC_GOT_LOAD (3)
10 # CHECK: Type: X86_64_RELOC_GOT (4)
11 # CHECK: Type: X86_64_RELOC_SUBTRACTOR (5)
12 # CHECK: Type: X86_64_RELOC_SIGNED_1 (6)
13 # CHECK: Type: X86_64_RELOC_SIGNED_2 (7)
14 # CHECK: Type: X86_64_RELOC_SIGNED_4 (8)
15 # CHECK: Type: X86_64_RELOC_TLV (9)
+0
-699
test/tools/llvm-readobj/reloc-types.test less more
None // Test that libObject and subsequently llvm-readobj shows proper relocation type
1 // names and values.
2
3 // Todo: ELF-PPC, ELF-HEXAGON
4
5 RUN: llvm-readobj -r --expand-relocs %p/Inputs/relocs.obj.elf-i386 | FileCheck %s -check-prefix ELF-32
6 RUN: llvm-readobj -r --expand-relocs %p/Inputs/relocs.obj.elf-x86_64 | FileCheck %s -check-prefix ELF-64
7 RUN: llvm-readobj -r --expand-relocs %p/Inputs/relocs.obj.elf-aarch64 | FileCheck %s -check-prefix ELF-AARCH64
8 RUN: llvm-readobj -r --expand-relocs %p/Inputs/relocs.obj.elf-arm | FileCheck %s -check-prefix ELF-ARM
9 RUN: llvm-readobj -r --expand-relocs %p/Inputs/relocs.obj.elf-lanai | FileCheck %s -check-prefix ELF-LANAI
10 RUN: llvm-readobj -r --expand-relocs %p/Inputs/relocs.obj.elf-mips | FileCheck %s -check-prefix ELF-MIPS
11 RUN: llvm-readobj -r --expand-relocs %p/Inputs/relocs.obj.elf-mips64el | FileCheck %s -check-prefix ELF-MIPS64EL
12 RUN: llvm-readobj -r --expand-relocs %p/Inputs/relocs.obj.elf-ppc64 | FileCheck %s -check-prefix ELF-PPC64
13 RUN: llvm-readobj -r --expand-relocs %p/Inputs/relocs.obj.coff-i386 | FileCheck %s -check-prefix COFF-32
14 RUN: llvm-readobj -r --expand-relocs %p/Inputs/relocs.obj.coff-x86_64 | FileCheck %s -check-prefix COFF-64
15 RUN: llvm-readobj -r --expand-relocs %p/Inputs/relocs.obj.macho-arm | FileCheck %s -check-prefix MACHO-ARM
16 RUN: llvm-readobj -r --expand-relocs %p/Inputs/relocs.obj.macho-i386 | FileCheck %s -check-prefix MACHO-32
17 RUN: llvm-readobj -r --expand-relocs %p/Inputs/relocs.obj.macho-x86_64 | FileCheck %s -check-prefix MACHO-64
18
19
20 ELF-32: Type: R_386_NONE (0)
21 ELF-32: Type: R_386_32 (1)
22 ELF-32: Type: R_386_PC32 (2)
23 ELF-32: Type: R_386_GOT32 (3)
24 ELF-32: Type: R_386_PLT32 (4)
25 ELF-32: Type: R_386_COPY (5)
26 ELF-32: Type: R_386_GLOB_DAT (6)
27 ELF-32: Type: R_386_JUMP_SLOT (7)
28 ELF-32: Type: R_386_RELATIVE (8)
29 ELF-32: Type: R_386_GOTOFF (9)
30 ELF-32: Type: R_386_GOTPC (10)
31 ELF-32: Type: R_386_32PLT (11)
32 ELF-32: Type: R_386_TLS_TPOFF (14)
33 ELF-32: Type: R_386_TLS_IE (15)
34 ELF-32: Type: R_386_TLS_GOTIE (16)
35 ELF-32: Type: R_386_TLS_LE (17)
36 ELF-32: Type: R_386_TLS_GD (18)
37 ELF-32: Type: R_386_TLS_LDM (19)
38 ELF-32: Type: R_386_16 (20)
39 ELF-32: Type: R_386_PC16 (21)
40 ELF-32: Type: R_386_8 (22)
41 ELF-32: Type: R_386_PC8 (23)
42 ELF-32: Type: R_386_TLS_GD_32 (24)
43 ELF-32: Type: R_386_TLS_GD_PUSH (25)
44 ELF-32: Type: R_386_TLS_GD_CALL (26)
45 ELF-32: Type: R_386_TLS_GD_POP (27)
46 ELF-32: Type: R_386_TLS_LDM_32 (28)
47 ELF-32: Type: R_386_TLS_LDM_PUSH (29)
48 ELF-32: Type: R_386_TLS_LDM_CALL (30)
49 ELF-32: Type: R_386_TLS_LDM_POP (31)
50 ELF-32: Type: R_386_TLS_LDO_32 (32)
51 ELF-32: Type: R_386_TLS_IE_32 (33)
52 ELF-32: Type: R_386_TLS_LE_32 (34)
53 ELF-32: Type: R_386_TLS_DTPMOD32 (35)
54 ELF-32: Type: R_386_TLS_DTPOFF32 (36)
55 ELF-32: Type: R_386_TLS_TPOFF32 (37)
56 ELF-32: Type: R_386_TLS_GOTDESC (39)
57 ELF-32: Type: R_386_TLS_DESC_CALL (40)
58 ELF-32: Type: R_386_TLS_DESC (41)
59 ELF-32: Type: R_386_IRELATIVE (42)
60 _LF-32: Type: R_386_NUM (43)
61
62 ELF-64: Type: R_X86_64_NONE (0)
63 ELF-64: Type: R_X86_64_64 (1)
64 ELF-64: Type: R_X86_64_PC32 (2)
65 ELF-64: Type: R_X86_64_GOT32 (3)
66 ELF-64: Type: R_X86_64_PLT32 (4)
67 ELF-64: Type: R_X86_64_COPY (5)
68 ELF-64: Type: R_X86_64_GLOB_DAT (6)
69 ELF-64: Type: R_X86_64_JUMP_SLOT (7)
70 ELF-64: Type: R_X86_64_RELATIVE (8)
71 ELF-64: Type: R_X86_64_GOTPCREL (9)
72 ELF-64: Type: R_X86_64_32 (10)
73 ELF-64: Type: R_X86_64_32S (11)
74 ELF-64: Type: R_X86_64_16 (12)
75 ELF-64: Type: R_X86_64_PC16 (13)
76 ELF-64: Type: R_X86_64_8 (14)
77 ELF-64: Type: R_X86_64_PC8 (15)
78 ELF-64: Type: R_X86_64_DTPMOD64 (16)
79 ELF-64: Type: R_X86_64_DTPOFF64 (17)
80 ELF-64: Type: R_X86_64_TPOFF64 (18)
81 ELF-64: Type: R_X86_64_TLSGD (19)
82 ELF-64: Type: R_X86_64_TLSLD (20)
83 ELF-64: Type: R_X86_64_DTPOFF32 (21)
84 ELF-64: Type: R_X86_64_GOTTPOFF (22)
85 ELF-64: Type: R_X86_64_TPOFF32 (23)
86 ELF-64: Type: R_X86_64_PC64 (24)
87 ELF-64: Type: R_X86_64_GOTOFF64 (25)
88 ELF-64: Type: R_X86_64_GOTPC32 (26)
89 ELF-64: Type: R_X86_64_GOT64 (27)
90 ELF-64: Type: R_X86_64_GOTPCREL64 (28)
91 ELF-64: Type: R_X86_64_GOTPC64 (29)
92 ELF-64: Type: R_X86_64_GOTPLT64 (30)
93 ELF-64: Type: R_X86_64_PLTOFF64 (31)
94 ELF-64: Type: R_X86_64_SIZE32 (32)
95 ELF-64: Type: R_X86_64_SIZE64 (33)
96 ELF-64: Type: R_X86_64_GOTPC32_TLSDESC (34)
97 ELF-64: Type: R_X86_64_TLSDESC_CALL (35)
98 ELF-64: Type: R_X86_64_TLSDESC (36)
99 ELF-64: Type: R_X86_64_IRELATIVE (37)
100
101 ELF-PPC: Type: R_PPC_NONE (0)
102 ELF-PPC: Type: R_PPC_ADDR32 (1)
103 ELF-PPC: Type: R_PPC_ADDR24 (2)
104 ELF-PPC: Type: R_PPC_ADDR16 (3)
105 ELF-PPC: Type: R_PPC_ADDR16_LO (4)
106 ELF-PPC: Type: R_PPC_ADDR16_HI (5)
107 ELF-PPC: Type: R_PPC_ADDR16_HA (6)
108 ELF-PPC: Type: R_PPC_ADDR14 (7)
109 ELF-PPC: Type: R_PPC_ADDR14_BRTAKEN (8)
110 ELF-PPC: Type: R_PPC_ADDR14_BRNTAKEN (9)
111 ELF-PPC: Type: R_PPC_REL24 (10)
112 ELF-PPC: Type: R_PPC_REL14 (11)
113 ELF-PPC: Type: R_PPC_REL14_BRTAKEN (12)
114 ELF-PPC: Type: R_PPC_REL14_BRNTAKEN (13)
115 ELF-PPC: Type: R_PPC_REL32 (26)
116 ELF-PPC: Type: R_PPC_TPREL16_LO (70)
117 ELF-PPC: Type: R_PPC_TPREL16_HA (72)
118
119 ELF-PPC64: Type: R_PPC64_NONE (0)
120 ELF-PPC64: Type: R_PPC64_ADDR32 (1)
121 ELF-PPC64: Type: R_PPC64_ADDR16_LO (4)
122 ELF-PPC64: Type: R_PPC64_ADDR16_HI (5)
123 ELF-PPC64: Type: R_PPC64_ADDR14 (7)
124 ELF-PPC64: Type: R_PPC64_REL24 (10)
125 ELF-PPC64: Type: R_PPC64_REL32 (26)
126 ELF-PPC64: Type: R_PPC64_ADDR64 (38)
127 ELF-PPC64: Type: R_PPC64_ADDR16_HIGHER (39)
128 ELF-PPC64: Type: R_PPC64_ADDR16_HIGHEST (41)
129 ELF-PPC64: Type: R_PPC64_REL64 (44)
130 ELF-PPC64: Type: R_PPC64_TOC16 (47)
131 ELF-PPC64: Type: R_PPC64_TOC16_LO (48)
132 ELF-PPC64: Type: R_PPC64_TOC16_HA (50)
133 ELF-PPC64: Type: R_PPC64_TOC (51)
134 ELF-PPC64: Type: R_PPC64_ADDR16_DS (56)
135 ELF-PPC64: Type: R_PPC64_ADDR16_LO_DS (57)
136 ELF-PPC64: Type: R_PPC64_TOC16_DS (63)
137 ELF-PPC64: Type: R_PPC64_TOC16_LO_DS (64)
138 ELF-PPC64: Type: R_PPC64_TLS (67)
139 ELF-PPC64: Type: R_PPC64_TPREL16_LO (70)
140 ELF-PPC64: Type: R_PPC64_TPREL16_HA (72)
141 ELF-PPC64: Type: R_PPC64_DTPREL16_LO (75)
142 ELF-PPC64: Type: R_PPC64_DTPREL16_HA (77)
143 ELF-PPC64: Type: R_PPC64_GOT_TLSGD16_LO (80)
144 ELF-PPC64: Type: R_PPC64_GOT_TLSGD16_HA (82)
145 ELF-PPC64: Type: R_PPC64_GOT_TLSLD16_LO (84)
146 ELF-PPC64: Type: R_PPC64_GOT_TLSLD16_HA (86)
147 ELF-PPC64: Type: R_PPC64_GOT_TPREL16_LO_DS (88)
148 ELF-PPC64: Type: R_PPC64_GOT_TPREL16_HA (90)
149 ELF-PPC64: Type: R_PPC64_TLSGD (107)
150 ELF-PPC64: Type: R_PPC64_TLSLD (108)
151
152 ELF-AARCH64: Type: R_AARCH64_NONE (0)
153 ELF-AARCH64: Type: R_AARCH64_ABS64 (257)
154 ELF-AARCH64: Type: R_AARCH64_ABS32 (258)
155 ELF-AARCH64: Type: R_AARCH64_ABS16 (259)
156 ELF-AARCH64: Type: R_AARCH64_PREL64 (260)
157 ELF-AARCH64: Type: R_AARCH64_PREL32 (261)
158 ELF-AARCH64: Type: R_AARCH64_PREL16 (262)
159 ELF-AARCH64: Type: R_AARCH64_MOVW_UABS_G0 (263)
160 ELF-AARCH64: Type: R_AARCH64_MOVW_UABS_G0_NC (264)
161 ELF-AARCH64: Type: R_AARCH64_MOVW_UABS_G1 (265)
162 ELF-AARCH64: Type: R_AARCH64_MOVW_UABS_G1_NC (266)
163 ELF-AARCH64: Type: R_AARCH64_MOVW_UABS_G2 (267)
164 ELF-AARCH64: Type: R_AARCH64_MOVW_UABS_G2_NC (268)
165 ELF-AARCH64: Type: R_AARCH64_MOVW_UABS_G3 (269)
166 ELF-AARCH64: Type: R_AARCH64_MOVW_SABS_G0 (270)
167 ELF-AARCH64: Type: R_AARCH64_MOVW_SABS_G1 (271)
168 ELF-AARCH64: Type: R_AARCH64_MOVW_SABS_G2 (272)
169 ELF-AARCH64: Type: R_AARCH64_LD_PREL_LO19 (273)
170 ELF-AARCH64: Type: R_AARCH64_ADR_PREL_LO21 (274)
171 ELF-AARCH64: Type: R_AARCH64_ADR_PREL_PG_HI21 (275)
172 ELF-AARCH64: Type: R_AARCH64_ADR_PREL_PG_HI21_NC (276)
173 ELF-AARCH64: Type: R_AARCH64_ADD_ABS_LO12_NC (277)
174 ELF-AARCH64: Type: R_AARCH64_LDST8_ABS_LO12_NC (278)
175 ELF-AARCH64: Type: R_AARCH64_TSTBR14 (279)
176 ELF-AARCH64: Type: R_AARCH64_CONDBR19 (280)
177 ELF-AARCH64: Type: R_AARCH64_JUMP26 (282)
178 ELF-AARCH64: Type: R_AARCH64_CALL26 (283)
179 ELF-AARCH64: Type: R_AARCH64_LDST16_ABS_LO12_NC (284)
180 ELF-AARCH64: Type: R_AARCH64_LDST32_ABS_LO12_NC (285)
181 ELF-AARCH64: Type: R_AARCH64_LDST64_ABS_LO12_NC (286)
182 ELF-AARCH64: Type: R_AARCH64_MOVW_PREL_G0 (287)
183 ELF-AARCH64: Type: R_AARCH64_MOVW_PREL_G0_NC (288)
184 ELF-AARCH64: Type: R_AARCH64_MOVW_PREL_G1 (289)
185 ELF-AARCH64: Type: R_AARCH64_MOVW_PREL_G1_NC (290)
186 ELF-AARCH64: Type: R_AARCH64_MOVW_PREL_G2 (291)
187 ELF-AARCH64: Type: R_AARCH64_MOVW_PREL_G2_NC (292)
188 ELF-AARCH64: Type: R_AARCH64_MOVW_PREL_G3 (293)
189 ELF-AARCH64: Type: R_AARCH64_LDST128_ABS_LO12_NC (299)
190 ELF-AARCH64: Type: R_AARCH64_MOVW_GOTOFF_G0 (300)
191 ELF-AARCH64: Type: R_AARCH64_MOVW_GOTOFF_G0_NC (301)
192 ELF-AARCH64: Type: R_AARCH64_MOVW_GOTOFF_G1 (302)
193 ELF-AARCH64: Type: R_AARCH64_MOVW_GOTOFF_G1_NC (303)
194 ELF-AARCH64: Type: R_AARCH64_MOVW_GOTOFF_G2 (304)
195 ELF-AARCH64: Type: R_AARCH64_MOVW_GOTOFF_G2_NC (305)
196 ELF-AARCH64: Type: R_AARCH64_MOVW_GOTOFF_G3 (306)
197 ELF-AARCH64: Type: R_AARCH64_GOTREL64 (307)
198 ELF-AARCH64: Type: R_AARCH64_GOTREL32 (308)
199 ELF-AARCH64: Type: R_AARCH64_GOT_LD_PREL19 (309)
200 ELF-AARCH64: Type: R_AARCH64_LD64_GOTOFF_LO15 (310)
201 ELF-AARCH64: Type: R_AARCH64_ADR_GOT_PAGE (311)
202 ELF-AARCH64: Type: R_AARCH64_LD64_GOT_LO12_NC (312)
203 ELF-AARCH64: Type: R_AARCH64_LD64_GOTPAGE_LO15 (313)
204 ELF-AARCH64: Type: R_AARCH64_TLSGD_ADR_PREL21 (512)
205 ELF-AARCH64: Type: R_AARCH64_TLSGD_ADR_PAGE21 (513)
206 ELF-AARCH64: Type: R_AARCH64_TLSGD_ADD_LO12_NC (514)
207 ELF-AARCH64: Type: R_AARCH64_TLSGD_MOVW_G1 (515)
208 ELF-AARCH64: Type: R_AARCH64_TLSGD_MOVW_G0_NC (516)
209 ELF-AARCH64: Type: R_AARCH64_TLSLD_ADR_PREL21 (517)
210 ELF-AARCH64: Type: R_AARCH64_TLSLD_ADR_PAGE21 (518)
211 ELF-AARCH64: Type: R_AARCH64_TLSLD_ADD_LO12_NC (519)
212 ELF-AARCH64: Type: R_AARCH64_TLSLD_MOVW_G1 (520)
213 ELF-AARCH64: Type: R_AARCH64_TLSLD_MOVW_G0_NC (521)
214 ELF-AARCH64: Type: R_AARCH64_TLSLD_LD_PREL19 (522)
215 ELF-AARCH64: Type: R_AARCH64_TLSLD_MOVW_DTPREL_G2 (523)
216 ELF-AARCH64: Type: R_AARCH64_TLSLD_MOVW_DTPREL_G1 (524)
217 ELF-AARCH64: Type: R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC (525)
218 ELF-AARCH64: Type: R_AARCH64_TLSLD_MOVW_DTPREL_G0 (526)
219 ELF-AARCH64: Type: R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC (527)
220 ELF-AARCH64: Type: R_AARCH64_TLSLD_ADD_DTPREL_HI12 (528)
221 ELF-AARCH64: Type: R_AARCH64_TLSLD_ADD_DTPREL_LO12 (529)
222 ELF-AARCH64: Type: R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC (530)
223 ELF-AARCH64: Type: R_AARCH64_TLSLD_LDST8_DTPREL_LO12 (531)
224 ELF-AARCH64: Type: R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC (532)
225 ELF-AARCH64: Type: R_AARCH64_TLSLD_LDST16_DTPREL_LO12 (533)
226 ELF-AARCH64: Type: R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC (534)
227 ELF-AARCH64: Type: R_AARCH64_TLSLD_LDST32_DTPREL_LO12 (535)
228 ELF-AARCH64: Type: R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC (536)
229 ELF-AARCH64: Type: R_AARCH64_TLSLD_LDST64_DTPREL_LO12 (537)
230 ELF-AARCH64: Type: R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC (538)
231 ELF-AARCH64: Type: R_AARCH64_TLSIE_MOVW_GOTTPREL_G1 (539)
232 ELF-AARCH64: Type: R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC (540)
233 ELF-AARCH64: Type: R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21 (541)
234 ELF-AARCH64: Type: R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC (542)
235 ELF-AARCH64: Type: R_AARCH64_TLSIE_LD_GOTTPREL_PREL19 (543)
236 ELF-AARCH64: Type: R_AARCH64_TLSLE_MOVW_TPREL_G2 (544)
237 ELF-AARCH64: Type: R_AARCH64_TLSLE_MOVW_TPREL_G1 (545)
238 ELF-AARCH64: Type: R_AARCH64_TLSLE_MOVW_TPREL_G1_NC (546)
239 ELF-AARCH64: Type: R_AARCH64_TLSLE_MOVW_TPREL_G0 (547)
240 ELF-AARCH64: Type: R_AARCH64_TLSLE_MOVW_TPREL_G0_NC (548)
241 ELF-AARCH64: Type: R_AARCH64_TLSLE_ADD_TPREL_HI12 (549)
242 ELF-AARCH64: Type: R_AARCH64_TLSLE_ADD_TPREL_LO12 (550)
243 ELF-AARCH64: Type: R_AARCH64_TLSLE_ADD_TPREL_LO12_NC (551)
244 ELF-AARCH64: Type: R_AARCH64_TLSLE_LDST8_TPREL_LO12 (552)
245 ELF-AARCH64: Type: R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC (553)
246 ELF-AARCH64: Type: R_AARCH64_TLSLE_LDST16_TPREL_LO12 (554)
247 ELF-AARCH64: Type: R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC (555)
248 ELF-AARCH64: Type: R_AARCH64_TLSLE_LDST32_TPREL_LO12 (556)
249 ELF-AARCH64: Type: R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC (557)
250 ELF-AARCH64: Type: R_AARCH64_TLSLE_LDST64_TPREL_LO12 (558)
251 ELF-AARCH64: Type: R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC (559)
252 ELF-AARCH64: Type: R_AARCH64_TLSDESC_LD_PREL19 (560)
253 ELF-AARCH64: Type: R_AARCH64_TLSDESC_ADR_PREL21 (561)
254 ELF-AARCH64: Type: R_AARCH64_TLSDESC_ADR_PAGE21 (562)
255 ELF-AARCH64: Type: R_AARCH64_TLSDESC_LD64_LO12 (563)
256 ELF-AARCH64: Type: R_AARCH64_TLSDESC_ADD_LO12 (564)
257 ELF-AARCH64: Type: R_AARCH64_TLSDESC_OFF_G1 (565)
258 ELF-AARCH64: Type: R_AARCH64_TLSDESC_OFF_G0_NC (566)
259 ELF-AARCH64: Type: R_AARCH64_TLSDESC_LDR (567)
260 ELF-AARCH64: Type: R_AARCH64_TLSDESC_ADD (568)
261 ELF-AARCH64: Type: R_AARCH64_TLSDESC_CALL (569)
262 ELF-AARCH64: Type: R_AARCH64_TLSLE_LDST128_TPREL_LO12 (570)
263 ELF-AARCH64: Type: R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC (571)
264 ELF-AARCH64: Type: R_AARCH64_TLSLD_LDST128_DTPREL_LO12 (572)
265 ELF-AARCH64: Type: R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC (573)
266 ELF-AARCH64: Type: R_AARCH64_COPY (1024)
267 ELF-AARCH64: Type: R_AARCH64_GLOB_DAT (1025)
268 ELF-AARCH64: Type: R_AARCH64_JUMP_SLOT (1026)
269 ELF-AARCH64: Type: R_AARCH64_RELATIVE (1027)
270 ELF-AARCH64: Type: R_AARCH64_TLS_DTPREL64 (1028)
271 ELF-AARCH64: Type: R_AARCH64_TLS_DTPMOD64 (1029)
272 ELF-AARCH64: Type: R_AARCH64_TLS_TPREL64 (1030)
273 ELF-AARCH64: Type: R_AARCH64_TLSDESC (1031)
274 ELF-AARCH64: Type: R_AARCH64_IRELATIVE (1032)
275
276 ELF-ARM: Type: R_ARM_NONE (0)
277 ELF-ARM: Type: R_ARM_PC24 (1)
278 ELF-ARM: Type: R_ARM_ABS32 (2)
279 ELF-ARM: Type: R_ARM_REL32 (3)
280 ELF-ARM: Type: R_ARM_LDR_PC_G0 (4)
281 ELF-ARM: Type: R_ARM_ABS16 (5)
282 ELF-ARM: Type: R_ARM_ABS12 (6)
283 ELF-ARM: Type: R_ARM_THM_ABS5 (7)
284 ELF-ARM: Type: R_ARM_ABS8 (8)
285 ELF-ARM: Type: R_ARM_SBREL32 (9)
286 ELF-ARM: Type: R_ARM_THM_CALL (10)
287 ELF-ARM: Type: R_ARM_THM_PC8 (11)
288 ELF-ARM: Type: R_ARM_BREL_ADJ (12)
289 ELF-ARM: Type: R_ARM_TLS_DESC (13)
290 ELF-ARM: Type: R_ARM_THM_SWI8 (14)
291 ELF-ARM: Type: R_ARM_XPC25 (15)
292 ELF-ARM: Type: R_ARM_THM_XPC22 (16)
293 ELF-ARM: Type: R_ARM_TLS_DTPMOD32 (17)
294 ELF-ARM: Type: R_ARM_TLS_DTPOFF32 (18)
295 ELF-ARM: Type: R_ARM_TLS_TPOFF32 (19)
296 ELF-ARM: Type: R_ARM_COPY (20)
297 ELF-ARM: Type: R_ARM_GLOB_DAT (21)
298 ELF-ARM: Type: R_ARM_JUMP_SLOT (22)
299 ELF-ARM: Type: R_ARM_RELATIVE (23)
300 ELF-ARM: Type: R_ARM_GOTOFF32 (24)
301 ELF-ARM: Type: R_ARM_BASE_PREL (25)
302 ELF-ARM: Type: R_ARM_GOT_BREL (26)
303 ELF-ARM: Type: R_ARM_CALL (28)
304 ELF-ARM: Type: R_ARM_JUMP24 (29)
305 ELF-ARM: Type: R_ARM_THM_JUMP24 (30)
306 ELF-ARM: Type: R_ARM_BASE_ABS (31)
307 ELF-ARM: Type: R_ARM_ALU_PCREL_7_0 (32)
308 ELF-ARM: Type: R_ARM_ALU_PCREL_15_8 (33)
309 ELF-ARM: Type: R_ARM_ALU_PCREL_23_15 (34)
310 ELF-ARM: Type: R_ARM_LDR_SBREL_11_0_NC (35)
311 ELF-ARM: Type: R_ARM_ALU_SBREL_19_12_NC (36)
312 ELF-ARM: Type: R_ARM_ALU_SBREL_27_20_CK (37)
313 ELF-ARM: Type: R_ARM_TARGET1 (38)
314 ELF-ARM: Type: R_ARM_SBREL31 (39)
315 ELF-ARM: Type: R_ARM_V4BX (40)
316 ELF-ARM: Type: R_ARM_TARGET2 (41)
317 ELF-ARM: Type: R_ARM_PREL31 (42)
318 ELF-ARM: Type: R_ARM_MOVW_ABS_NC (43)
319 ELF-ARM: Type: R_ARM_MOVT_ABS (44)
320 ELF-ARM: Type: R_ARM_MOVW_PREL_NC (45)
321 ELF-ARM: Type: R_ARM_MOVT_PREL (46)
322 ELF-ARM: Type: R_ARM_THM_MOVW_ABS_NC (47)
323 ELF-ARM: Type: R_ARM_THM_MOVT_ABS (48)
324 ELF-ARM: Type: R_ARM_THM_MOVW_PREL_NC (49)
325 ELF-ARM: Type: R_ARM_THM_MOVT_PREL (50)
326 ELF-ARM: Type: R_ARM_THM_JUMP19 (51)
327 ELF-ARM: Type: R_ARM_THM_JUMP6 (52)
328 ELF-ARM: Type: R_ARM_THM_ALU_PREL_11_0 (53)
329 ELF-ARM: Type: R_ARM_THM_PC12 (54)
330 ELF-ARM: Type: R_ARM_ABS32_NOI (55)
331 ELF-ARM: Type: R_ARM_REL32_NOI (56)
332 ELF-ARM: Type: R_ARM_ALU_PC_G0_NC (57)
333 ELF-ARM: Type: R_ARM_ALU_PC_G0 (58)
334 ELF-ARM: Type: R_ARM_ALU_PC_G1_NC (59)
335 ELF-ARM: Type: R_ARM_ALU_PC_G1 (60)
336 ELF-ARM: Type: R_ARM_ALU_PC_G2 (61)
337 ELF-ARM: Type: R_ARM_LDR_PC_G1 (62)
338 ELF-ARM: Type: R_ARM_LDR_PC_G2 (63)
339 ELF-ARM: Type: R_ARM_LDRS_PC_G0 (64)
340 ELF-ARM: Type: R_ARM_LDRS_PC_G1 (65)
341 ELF-ARM: Type: R_ARM_LDRS_PC_G2 (66)
342 ELF-ARM: Type: R_ARM_LDC_PC_G0 (67)
343 ELF-ARM: Type: R_ARM_LDC_PC_G1 (68)
344 ELF-ARM: Type: R_ARM_LDC_PC_G2 (69)
345 ELF-ARM: Type: R_ARM_ALU_SB_G0_NC (70)
346 ELF-ARM: Type: R_ARM_ALU_SB_G0 (71)
347 ELF-ARM: Type: R_ARM_ALU_SB_G1_NC (72)
348 ELF-ARM: Type: R_ARM_ALU_SB_G1 (73)
349 ELF-ARM: Type: R_ARM_ALU_SB_G2 (74)
350 ELF-ARM: Type: R_ARM_LDR_SB_G0 (75)
351 ELF-ARM: Type: R_ARM_LDR_SB_G1 (76)
352 ELF-ARM: Type: R_ARM_LDR_SB_G2 (77)
353 ELF-ARM: Type: R_ARM_LDRS_SB_G0 (78)
354 ELF-ARM: Type: R_ARM_LDRS_SB_G1 (79)
355 ELF-ARM: Type: R_ARM_LDRS_SB_G2 (80)
356 ELF-ARM: Type: R_ARM_LDC_SB_G0 (81)
357 ELF-ARM: Type: R_ARM_LDC_SB_G1 (82)
358 ELF-ARM: Type: R_ARM_LDC_SB_G2 (83)
359 ELF-ARM: Type: R_ARM_MOVW_BREL_NC (84)
360 ELF-ARM: Type: R_ARM_MOVT_BREL (85)
361 ELF-ARM: Type: R_ARM_MOVW_BREL (86)
362 ELF-ARM: Type: R_ARM_THM_MOVW_BREL_NC (87)
363 ELF-ARM: Type: R_ARM_THM_MOVT_BREL (88)
364 ELF-ARM: Type: R_ARM_THM_MOVW_BREL (89)
365 ELF-ARM: Type: R_ARM_TLS_GOTDESC (90)
366 ELF-ARM: Type: R_ARM_TLS_CALL (91)
367 ELF-ARM: Type: R_ARM_TLS_DESCSEQ (92)
368 ELF-ARM: Type: R_ARM_THM_TLS_CALL (93)
369 ELF-ARM: Type: R_ARM_PLT32_ABS (94)
370 ELF-ARM: Type: R_ARM_GOT_ABS (95)
371 ELF-ARM: Type: R_ARM_GOT_PREL (96)
372 ELF-ARM: Type: R_ARM_GOT_BREL12 (97)
373 ELF-ARM: Type: R_ARM_GOTOFF12 (98)
374 ELF-ARM: Type: R_ARM_GOTRELAX (99)
375 ELF-ARM: Type: R_ARM_GNU_VTENTRY (100)
376 ELF-ARM: Type: R_ARM_GNU_VTINHERIT (101)
377 ELF-ARM: Type: R_ARM_THM_JUMP11 (102)
378 ELF-ARM: Type: R_ARM_THM_JUMP8 (103)
379 ELF-ARM: Type: R_ARM_TLS_GD32 (104)
380 ELF-ARM: Type: R_ARM_TLS_LDM32 (105)
381 ELF-ARM: Type: R_ARM_TLS_LDO32 (106)
382 ELF-ARM: Type: R_ARM_TLS_IE32 (107)
383 ELF-ARM: Type: R_ARM_TLS_LE32 (108)
384 ELF-ARM: Type: R_ARM_TLS_LDO12 (109)
385 ELF-ARM: Type: R_ARM_TLS_LE12 (110)
386 ELF-ARM: Type: R_ARM_TLS_IE12GP (111)
387 ELF-ARM: Type: R_ARM_PRIVATE_0 (112)
388 ELF-ARM: Type: R_ARM_PRIVATE_1 (113)
389 ELF-ARM: Type: R_ARM_PRIVATE_2 (114)
390 ELF-ARM: Type: R_ARM_PRIVATE_3 (115)
391 ELF-ARM: Type: R_ARM_PRIVATE_4 (116)
392 ELF-ARM: Type: R_ARM_PRIVATE_5 (117)
393 ELF-ARM: Type: R_ARM_PRIVATE_6 (118)
394 ELF-ARM: Type: R_ARM_PRIVATE_7 (119)
395 ELF-ARM: Type: R_ARM_PRIVATE_8 (120)
396 ELF-ARM: Type: R_ARM_PRIVATE_9 (121)
397 ELF-ARM: Type: R_ARM_PRIVATE_10 (122)
398 ELF-ARM: Type: R_ARM_PRIVATE_11 (123)
399 ELF-ARM: Type: R_ARM_PRIVATE_12 (124)
400 ELF-ARM: Type: R_ARM_PRIVATE_13 (125)
401 ELF-ARM: Type: R_ARM_PRIVATE_14 (126)
402 ELF-ARM: Type: R_ARM_PRIVATE_15 (127)
403 ELF-ARM: Type: R_ARM_ME_TOO (128)
404 ELF-ARM: Type: R_ARM_THM_TLS_DESCSEQ16 (129)
405 ELF-ARM: Type: R_ARM_THM_TLS_DESCSEQ32 (130)
406 ELF-ARM: Type: R_ARM_IRELATIVE (160)
407
408 ELF-LANAI: Type: R_LANAI_NONE (0)
409 ELF-LANAI: Type: R_LANAI_21 (1)
410 ELF-LANAI: Type: R_LANAI_21_F (2)
411 ELF-LANAI: Type: R_LANAI_25 (3)
412 ELF-LANAI: Type: R_LANAI_32 (4)
413 ELF-LANAI: Type: R_LANAI_HI16 (5)
414 ELF-LANAI: Type: R_LANAI_LO16 (6)
415
416 ELF-MIPS: Type: R_MIPS_NONE (0)
417 ELF-MIPS: Type: R_MIPS_16 (1)
418 ELF-MIPS: Type: R_MIPS_32 (2)
419 ELF-MIPS: Type: R_MIPS_REL32 (3)
420 ELF-MIPS: Type: R_MIPS_26 (4)
421 ELF-MIPS: Type: R_MIPS_HI16 (5)
422 ELF-MIPS: Type: R_MIPS_LO16 (6)
423 ELF-MIPS: Type: R_MIPS_GPREL16 (7)
424 ELF-MIPS: Type: R_MIPS_LITERAL (8)
425 ELF-MIPS: Type: R_MIPS_GOT16 (9)
426 ELF-MIPS: Type: R_MIPS_PC16 (10)
427 ELF-MIPS: Type: R_MIPS_CALL16 (11)
428 ELF-MIPS: Type: R_MIPS_GPREL32 (12)
429 ELF-MIPS: Type: R_MIPS_SHIFT5 (16)
430 ELF-MIPS: Type: R_MIPS_SHIFT6 (17)
431 ELF-MIPS: Type: R_MIPS_64 (18)
432 ELF-MIPS: Type: R_MIPS_GOT_DISP (19)
433 ELF-MIPS: Type: R_MIPS_GOT_PAGE (20)
434 ELF-MIPS: Type: R_MIPS_GOT_OFST (21)
435 ELF-MIPS: Type: R_MIPS_GOT_HI16 (22)
436 ELF-MIPS: Type: R_MIPS_GOT_LO16 (23)
437 ELF-MIPS: Type: R_MIPS_SUB (24)
438 ELF-MIPS: Type: R_MIPS_INSERT_A (25)
439 ELF-MIPS: Type: R_MIPS_INSERT_B (26)
440 ELF-MIPS: Type: R_MIPS_DELETE (27)
441 ELF-MIPS: Type: R_MIPS_HIGHER (28)
442 ELF-MIPS: Type: R_MIPS_HIGHEST (29)
443 ELF-MIPS: Type: R_MIPS_CALL_HI16 (30)
444 ELF-MIPS: Type: R_MIPS_CALL_LO16 (31)
445 ELF-MIPS: Type: R_MIPS_SCN_DISP (32)
446 ELF-MIPS: Type: R_MIPS_REL16 (33)
447 ELF-MIPS: Type: R_MIPS_ADD_IMMEDIATE (34)
448 ELF-MIPS: Type: R_MIPS_PJUMP (35)
449 ELF-MIPS: Type: R_MIPS_RELGOT (36)
450 ELF-MIPS: Type: R_MIPS_JALR (37)
451 ELF-MIPS: Type: R_MIPS_TLS_DTPMOD32 (38)
452 ELF-MIPS: Type: R_MIPS_TLS_DTPREL32 (39)
453 ELF-MIPS: Type: R_MIPS_TLS_DTPMOD64 (40)
454 ELF-MIPS: Type: R_MIPS_TLS_DTPREL64 (41)
455 ELF-MIPS: Type: R_MIPS_TLS_GD (42)
456 ELF-MIPS: Type: R_MIPS_TLS_LDM (43)
457 ELF-MIPS: Type: R_MIPS_TLS_DTPREL_HI16 (44)
458 ELF-MIPS: Type: R_MIPS_TLS_DTPREL_LO16 (45)
459 ELF-MIPS: Type: R_MIPS_TLS_GOTTPREL (46)
460 ELF-MIPS: Type: R_MIPS_TLS_TPREL32 (47)
461 ELF-MIPS: Type: R_MIPS_TLS_TPREL64 (48)
462 ELF-MIPS: Type: R_MIPS_TLS_TPREL_HI16 (49)
463 ELF-MIPS: Type: R_MIPS_TLS_TPREL_LO16 (50)
464 ELF-MIPS: Type: R_MIPS_GLOB_DAT (51)
465 ELF-MIPS: Type: R_MIPS_COPY (126)
466 ELF-MIPS: Type: R_MIPS_JUMP_SLOT (127)
467 ELF-MIPS: Type: R_MIPS_NUM (218)
468 ELF-MIPS64EL: Type: R_MIPS_NONE/R_MIPS_NONE/R_MIPS_NONE (0)
469 ELF-MIPS64EL: Type: R_MIPS_16/R_MIPS_16/R_MIPS_16 (65793)
470 ELF-MIPS64EL: Type: R_MIPS_32/R_MIPS_32/R_MIPS_32 (131586)
471 ELF-MIPS64EL: Type: R_MIPS_REL32/R_MIPS_REL32/R_MIPS_REL32 (197379)
472 ELF-MIPS64EL: Type: R_MIPS_26/R_MIPS_26/R_MIPS_26 (263172)
473 ELF-MIPS64EL: Type: R_MIPS_HI16/R_MIPS_HI16/R_MIPS_HI16 (328965)
474 ELF-MIPS64EL: Type: R_MIPS_LO16/R_MIPS_LO16/R_MIPS_LO16 (394758)
475 ELF-MIPS64EL: Type: R_MIPS_GPREL16/R_MIPS_GPREL16/R_MIPS_GPREL16 (460551)
476 ELF-MIPS64EL: Type: R_MIPS_LITERAL/R_MIPS_LITERAL/R_MIPS_LITERAL (526344)
477 ELF-MIPS64EL: Type: R_MIPS_GOT16/R_MIPS_GOT16/R_MIPS_GOT16 (592137)
478 ELF-MIPS64EL: Type: R_MIPS_PC16/R_MIPS_PC16/R_MIPS_PC16 (657930)
479 ELF-MIPS64EL: Type: R_MIPS_CALL16/R_MIPS_CALL16/R_MIPS_CALL16 (723723)
480 ELF-MIPS64EL: Type: R_MIPS_GPREL32/R_MIPS_GPREL32/R_MIPS_GPREL32 (789516)
481 ELF-MIPS64EL: Type: R_MIPS_SHIFT5/R_MIPS_SHIFT5/R_MIPS_SHIFT5 (1052688)
482 ELF-MIPS64EL: Type: R_MIPS_SHIFT6/R_MIPS_SHIFT6/R_MIPS_SHIFT6 (1118481)
483 ELF-MIPS64EL: Type: R_MIPS_64/R_MIPS_64/R_MIPS_64 (1184274)
484 ELF-MIPS64EL: Type: R_MIPS_GOT_DISP/R_MIPS_GOT_DISP/R_MIPS_GOT_DISP (1250067)
485 ELF-MIPS64EL: Type: R_MIPS_GOT_PAGE/R_MIPS_GOT_PAGE/R_MIPS_GOT_PAGE (1315860)
486 ELF-MIPS64EL: Type: R_MIPS_GOT_OFST/R_MIPS_GOT_OFST/R_MIPS_GOT_OFST (1381653)
487 ELF-MIPS64EL: Type: R_MIPS_GOT_HI16/R_MIPS_GOT_HI16/R_MIPS_GOT_HI16 (1447446)
488 ELF-MIPS64EL: Type: R_MIPS_GOT_LO16/R_MIPS_GOT_LO16/R_MIPS_GOT_LO16 (1513239)
489 ELF-MIPS64EL: Type: R_MIPS_SUB/R_MIPS_SUB/R_MIPS_SUB (1579032)
490 ELF-MIPS64EL: Type: R_MIPS_INSERT_A/R_MIPS_INSERT_A/R_MIPS_INSERT_A (1644825)
491 ELF-MIPS64EL: Type: R_MIPS_INSERT_B/R_MIPS_INSERT_B/R_MIPS_INSERT_B (1710618)
492 ELF-MIPS64EL: Type: R_MIPS_DELETE/R_MIPS_DELETE/R_MIPS_DELETE (1776411)
493 ELF-MIPS64EL: Type: R_MIPS_HIGHER/R_MIPS_HIGHER/R_MIPS_HIGHER (1842204)
494 ELF-MIPS64EL: Type: R_MIPS_HIGHEST/R_MIPS_HIGHEST/R_MIPS_HIGHEST (1907997)
495 ELF-MIPS64EL: Type: R_MIPS_CALL_HI16/R_MIPS_CALL_HI16/R_MIPS_CALL_HI16 (1973790)
496 ELF-MIPS64EL: Type: R_MIPS_CALL_LO16/R_MIPS_CALL_LO16/R_MIPS_CALL_LO16 (2039583)
497 ELF-MIPS64EL: Type: R_MIPS_SCN_DISP/R_MIPS_SCN_DISP/R_MIPS_SCN_DISP (2105376)
498 ELF-MIPS64EL: Type: R_MIPS_REL16/R_MIPS_REL16/R_MIPS_REL16 (2171169)
499 ELF-MIPS64EL: Type: R_MIPS_ADD_IMMEDIATE/R_MIPS_ADD_IMMEDIATE/R_MIPS_ADD_IMMEDIATE (2236962)
500 ELF-MIPS64EL: Type: R_MIPS_PJUMP/R_MIPS_PJUMP/R_MIPS_PJUMP (2302755)
501 ELF-MIPS64EL: Type: R_MIPS_RELGOT/R_MIPS_RELGOT/R_MIPS_RELGOT (2368548)
502 ELF-MIPS64EL: Type: R_MIPS_JALR/R_MIPS_JALR/R_MIPS_JALR (2434341)
503 ELF-MIPS64EL: Type: R_MIPS_TLS_DTPMOD32/R_MIPS_TLS_DTPMOD32/R_MIPS_TLS_DTPMOD32 (2500134)
504 ELF-MIPS64EL: Type: R_MIPS_TLS_DTPREL32/R_MIPS_TLS_DTPREL32/R_MIPS_TLS_DTPREL32 (2565927)
505 ELF-MIPS64EL: Type: R_MIPS_TLS_DTPMOD64/R_MIPS_TLS_DTPMOD64/R_MIPS_TLS_DTPMOD64 (2631720)
506 ELF-MIPS64EL: Type: R_MIPS_TLS_DTPREL64/R_MIPS_TLS_DTPREL64/R_MIPS_TLS_DTPREL64 (2697513)
507 ELF-MIPS64EL: Type: R_MIPS_TLS_GD/R_MIPS_TLS_GD/R_MIPS_TLS_GD (2763306)
508 ELF-MIPS64EL: Type: R_MIPS_TLS_LDM/R_MIPS_TLS_LDM/R_MIPS_TLS_LDM (2829099)
509 ELF-MIPS64EL: Type: R_MIPS_TLS_DTPREL_HI16/R_MIPS_TLS_DTPREL_HI16/R_MIPS_TLS_DTPREL_HI16 (2894892)
510 ELF-MIPS64EL: Type: R_MIPS_TLS_DTPREL_LO16/R_MIPS_TLS_DTPREL_LO16/R_MIPS_TLS_DTPREL_LO16 (2960685)
511 ELF-MIPS64EL: Type: R_MIPS_TLS_GOTTPREL/R_MIPS_TLS_GOTTPREL/R_MIPS_TLS_GOTTPREL (3026478)
512 ELF-MIPS64EL: Type: R_MIPS_TLS_TPREL32/R_MIPS_TLS_TPREL32/R_MIPS_TLS_TPREL32 (3092271)
513 ELF-MIPS64EL: Type: R_MIPS_TLS_TPREL64/R_MIPS_TLS_TPREL64/R_MIPS_TLS_TPREL64 (3158064)
514 ELF-MIPS64EL: Type: R_MIPS_TLS_TPREL_HI16/R_MIPS_TLS_TPREL_HI16/R_MIPS_TLS_TPREL_HI16 (3223857)
515 ELF-MIPS64EL: Type: R_MIPS_TLS_TPREL_LO16/R_MIPS_TLS_TPREL_LO16/R_MIPS_TLS_TPREL_LO16 (3289650)
516 ELF-MIPS64EL: Type: R_MIPS_GLOB_DAT/R_MIPS_GLOB_DAT/R_MIPS_GLOB_DAT (3355443)
517 ELF-MIPS64EL: Type: R_MIPS_COPY/R_MIPS_COPY/R_MIPS_COPY (8289918)
518 ELF-MIPS64EL: Type: R_MIPS_JUMP_SLOT/R_MIPS_JUMP_SLOT/R_MIPS_JUMP_SLOT (8355711)
519 ELF-MIPS64EL: Type: R_MIPS_NUM/R_MIPS_NUM/R_MIPS_NUM (14342874)
520
521 ELF-HEXAGON: Type: R_HEX_NONE (0)
522 ELF-HEXAGON: Type: R_HEX_B22_PCREL (1)
523 ELF-HEXAGON: Type: R_HEX_B15_PCREL (2)
524 ELF-HEXAGON: Type: R_HEX_B7_PCREL (3)
525 ELF-HEXAGON: Type: R_HEX_LO16 (4)
526 ELF-HEXAGON: Type: R_HEX_HI16 (5)
527 ELF-HEXAGON: Type: R_HEX_32 (6)
528 ELF-HEXAGON: Type: R_HEX_16 (7)
529 ELF-HEXAGON: Type: R_HEX_8 (8)
530 ELF-HEXAGON: Type: R_HEX_GPREL16_0 (9)
531 ELF-HEXAGON: Type: R_HEX_GPREL16_1 (10)
532 ELF-HEXAGON: Type: R_HEX_GPREL16_2 (11)
533 ELF-HEXAGON: Type: R_HEX_GPREL16_3 (12)
534 ELF-HEXAGON: Type: R_HEX_HL16 (13)
535 ELF-HEXAGON: Type: R_HEX_B13_PCREL (14)
536 ELF-HEXAGON: Type: R_HEX_B9_PCREL (15)
537 ELF-HEXAGON: Type: R_HEX_B32_PCREL_X (16)
538 ELF-HEXAGON: Type: R_HEX_32_6_X (17)
539 ELF-HEXAGON: Type: R_HEX_B22_PCREL_X (18)
540 ELF-HEXAGON: Type: R_HEX_B15_PCREL_X (19)
541 ELF-HEXAGON: Type: R_HEX_B13_PCREL_X (20)
542 ELF-HEXAGON: Type: R_HEX_B9_PCREL_X (21)
543 ELF-HEXAGON: Type: R_HEX_B7_PCREL_X (22)
544 ELF-HEXAGON: Type: R_HEX_16_X (23)
545 ELF-HEXAGON: Type: R_HEX_12_X (24)
546 ELF-HEXAGON: Type: R_HEX_11_X (25)
547 ELF-HEXAGON: Type: R_HEX_10_X (26)
548 ELF-HEXAGON: Type: R_HEX_9_X (27)
549 ELF-HEXAGON: Type: R_HEX_8_X (28)
550 ELF-HEXAGON: Type: R_HEX_7_X (29)
551 ELF-HEXAGON: Type: R_HEX_6_X (30)
552 ELF-HEXAGON: Type: R_HEX_32_PCREL (31)
553 ELF-HEXAGON: Type: R_HEX_COPY (32)
554 ELF-HEXAGON: Type: R_HEX_GLOB_DAT (33)
555 ELF-HEXAGON: Type: R_HEX_JMP_SLOT (34)
556 ELF-HEXAGON: Type: R_HEX_RELATIVE (35)
557 ELF-HEXAGON: Type: R_HEX_PLT_B22_PCREL (36)
558 ELF-HEXAGON: Type: R_HEX_GOTREL_LO16 (37)
559 ELF-HEXAGON: Type: R_HEX_GOTREL_HI16 (38)
560 ELF-HEXAGON: Type: R_HEX_GOTREL_32 (39)
561 ELF-HEXAGON: Type: R_HEX_GOT_LO16 (40)
562 ELF-HEXAGON: Type: R_HEX_GOT_HI16 (41)
563 ELF-HEXAGON: Type: R_HEX_GOT_32 (42)
564 ELF-HEXAGON: Type: R_HEX_GOT_16 (43)
565 ELF-HEXAGON: Type: R_HEX_DTPMOD_32 (44)
566 ELF-HEXAGON: Type: R_HEX_DTPREL_LO16 (45)
567 ELF-HEXAGON: Type: R_HEX_DTPREL_HI16 (46)
568 ELF-HEXAGON: Type: R_HEX_DTPREL_32 (47)
569 ELF-HEXAGON: Type: R_HEX_DTPREL_16 (48)
570 ELF-HEXAGON: Type: R_HEX_GD_PLT_B22_PCREL (49)
571 ELF-HEXAGON: Type: R_HEX_GD_GOT_LO16 (50)
572 ELF-HEXAGON: Type: R_HEX_GD_GOT_HI16 (51)
573 ELF-HEXAGON: Type: R_HEX_GD_GOT_32 (52)
574 ELF-HEXAGON: Type: R_HEX_GD_GOT_16 (53)
575 ELF-HEXAGON: Type: R_HEX_IE_LO16 (54)
576 ELF-HEXAGON: Type: R_HEX_IE_HI16 (55)
577 ELF-HEXAGON: Type: R_HEX_IE_32 (56)
578 ELF-HEXAGON: Type: R_HEX_IE_GOT_LO16 (57)
579 ELF-HEXAGON: Type: R_HEX_IE_GOT_HI16 (58)
580 ELF-HEXAGON: Type: R_HEX_IE_GOT_32 (59)
581 ELF-HEXAGON: Type: R_HEX_IE_GOT_16 (60)
582 ELF-HEXAGON: Type: R_HEX_TPREL_LO16 (61)
583 ELF-HEXAGON: Type: R_HEX_TPREL_HI16 (62)
584 ELF-HEXAGON: Type: R_HEX_TPREL_32 (63)
585 ELF-HEXAGON: Type: R_HEX_TPREL_16 (64)
586 ELF-HEXAGON: Type: R_HEX_6_PCREL_X (65)
587 ELF-HEXAGON: Type: R_HEX_GOTREL_32_6_X (66)
588 ELF-HEXAGON: Type: R_HEX_GOTREL_16_X (67)
589 ELF-HEXAGON: Type: R_HEX_GOTREL_11_X (68)
590 ELF-HEXAGON: Type: R_HEX_GOT_32_6_X (69)
591 ELF-HEXAGON: Type: R_HEX_GOT_16_X (70)
592 ELF-HEXAGON: Type: R_HEX_GOT_11_X (71)
593 ELF-HEXAGON: Type: R_HEX_DTPREL_32_6_X (72)
594 ELF-HEXAGON: Type: R_HEX_DTPREL_16_X (73)
595 ELF-HEXAGON: Type: R_HEX_DTPREL_11_X (74)
596 ELF-HEXAGON: Type: R_HEX_GD_GOT_32_6_X (75)
597 ELF-HEXAGON: Type: R_HEX_GD_GOT_16_X (76)
598 ELF-HEXAGON: Type: R_HEX_GD_GOT_11_X (77)
599 ELF-HEXAGON: Type: R_HEX_IE_32_6_X (78)
600 ELF-HEXAGON: Type: R_HEX_IE_16_X (79)
601 ELF-HEXAGON: Type: R_HEX_IE_GOT_32_6_X (80)
602 ELF-HEXAGON: Type: R_HEX_IE_GOT_16_X (81)
603 ELF-HEXAGON: Type: R_HEX_IE_GOT_11_X (82)
604 ELF-HEXAGON: Type: R_HEX_TPREL_32_6_X (83)
605 ELF-HEXAGON: Type: R_HEX_TPREL_16_X (84)
606 ELF-HEXAGON: Type: R_HEX_TPREL_11_X (85)
607
608 COFF-32: Type: IMAGE_REL_I386_ABSOLUTE (0)
609 COFF-32: Type: IMAGE_REL_I386_DIR16 (1)
610 COFF-32: Type: IMAGE_REL_I386_REL16 (2)
611 COFF-32: Type: IMAGE_REL_I386_DIR32 (6)
612 COFF-32: Type: IMAGE_REL_I386_DIR32NB (7)
613 COFF-32: Type: IMAGE_REL_I386_SEG12 (9)
614 COFF-32: Type: IMAGE_REL_I386_SECTION (10)
615 COFF-32: Type: IMAGE_REL_I386_SECREL (11)
616 COFF-32: Type: IMAGE_REL_I386_TOKEN (12)
617 COFF-32: Type: IMAGE_REL_I386_SECREL7 (13)
618 COFF-32: Type: IMAGE_REL_I386_REL32 (20)
619
620 COFF-64: Type: IMAGE_REL_AMD64_ABSOLUTE (0)
621 COFF-64: Type: IMAGE_REL_AMD64_ADDR64 (1)
622 COFF-64: Type: IMAGE_REL_AMD64_ADDR32 (2)
623 COFF-64: Type: IMAGE_REL_AMD64_ADDR32NB (3)
624 COFF-64: Type: IMAGE_REL_AMD64_REL32 (4)
625 COFF-64: Type: IMAGE_REL_AMD64_REL32_1 (5)
626 COFF-64: Type: IMAGE_REL_AMD64_REL32_2 (6)
627 COFF-64: Type: IMAGE_REL_AMD64_REL32_3 (7)
628 COFF-64: Type: IMAGE_REL_AMD64_REL32_4 (8)
629 COFF-64: Type: IMAGE_REL_AMD64_REL32_5 (9)
630 COFF-64: Type: IMAGE_REL_AMD64_SECTION (10)
631 COFF-64: Type: IMAGE_REL_AMD64_SECREL (11)
632 COFF-64: Type: IMAGE_REL_AMD64_SECREL7 (12)
633 COFF-64: Type: IMAGE_REL_AMD64_TOKEN (13)
634 COFF-64: Type: IMAGE_REL_AMD64_SREL32 (14)
635 COFF-64: Type: IMAGE_REL_AMD64_PAIR (15)
636 COFF-64: Type: IMAGE_REL_AMD64_SSPAN32 (16)
637
638 COFF-ARM: Type: IMAGE_REL_ARM_ABSOLUTE (0x0000)
639 COFF-ARM: Type: IMAGE_REL_ARM_ADDR32 (0x0001)
640 COFF-ARM: Type: IMAGE_REL_ARM_ADDR32NB (0x0002)
641 COFF-ARM: Type: IMAGE_REL_ARM_BRANCH24 (0x0003)
642 COFF-ARM: Type: IMAGE_REL_ARM_BRANCH11 (0x0004)
643 COFF-ARM: Type: IMAGE_REL_ARM_TOKEN (0x0005)
644 COFF-ARM: Type: IMAGE_REL_ARM_BLX24 (0x0008)
645 COFF-ARM: Type: IMAGE_REL_ARM_BLX11 (0x0009)
646 COFF-ARM: Type: IMAGE_REL_ARM_SECTION (0x000E)
647 COFF-ARM: Type: IMAGE_REL_ARM_SECREL (0x000F)
648 COFF-ARM: Type: IMAGE_REL_ARM_MOV32A (0x0010)
649 COFF-ARM: Type: IMAGE_REL_ARM_MOV32T (0x0011)
650 COFF-ARM: Type: IMAGE_REL_ARM_BRANCH20T (0x0012)
651 COFF-ARM: Type: IMAGE_REL_ARM_BRANCH24T (0x0014)
652 COFF-ARM: Type: IMAGE_REL_ARM_BLX23T (0x0015)
653
654 MACHO-32: Type: GENERIC_RELOC_VANILLA (0)
655 MACHO-32: Type: GENERIC_RELOC_PAIR (1)
656 MACHO-32: Type: GENERIC_RELOC_SECTDIFF (2)
657 MACHO-32: Type: GENERIC_RELOC_PB_LA_PTR (3)
658 MACHO-32: Type: GENERIC_RELOC_LOCAL_SECTDIFF (4)
659 MACHO-32: Type: GENERIC_RELOC_TLV (5)
660
661 MACHO-64: Type: X86_64_RELOC_UNSIGNED (0)
662 MACHO-64: Type: X86_64_RELOC_SIGNED (1)
663 MACHO-64: Type: X86_64_RELOC_BRANCH (2)
664 MACHO-64: Type: X86_64_RELOC_GOT_LOAD (3)
665 MACHO-64: Type: X86_64_RELOC_GOT (4)
666 MACHO-64: Type: X86_64_RELOC_SUBTRACTOR (5)
667 MACHO-64: Type: X86_64_RELOC_SIGNED_1 (6)
668 MACHO-64: Type: X86_64_RELOC_SIGNED_2 (7)
669 MACHO-64: Type: X86_64_RELOC_SIGNED_4 (8)
670 MACHO-64: Type: X86_64_RELOC_TLV (9)
671
672 MACHO-ARM: Type: ARM_RELOC_VANILLA (0)
673 MACHO-ARM: Type: ARM_RELOC_PAIR (1)
674 MACHO-ARM: Type: ARM_RELOC_SECTDIFF (2)
675 MACHO-ARM: Type: ARM_RELOC_LOCAL_SECTDIFF (3)
676 MACHO-ARM: Type: ARM_RELOC_PB_LA_PTR (4)
677 MACHO-ARM: Type: ARM_RELOC_BR24 (5)
678 MACHO-ARM: Type: ARM_THUMB_RELOC_BR22 (6)
679 MACHO-ARM: Type: ARM_THUMB_32BIT_BRANCH (7)
680 MACHO-ARM: Type: ARM_RELOC_HALF (8)
681 MACHO-ARM: Type: ARM_RELOC_HALF_SECTDIFF (9)
682
683 MACHO-PPC: PPC_RELOC_VANILLA (0)
684 MACHO-PPC: PPC_RELOC_PAIR (1)
685 MACHO-PPC: PPC_RELOC_BR14 (2)
686 MACHO-PPC: PPC_RELOC_BR24 (3)
687 MACHO-PPC: PPC_RELOC_HI16 (4)
688 MACHO-PPC: PPC_RELOC_LO16 (5)
689 MACHO-PPC: PPC_RELOC_HA16 (6)
690 MACHO-PPC: PPC_RELOC_LO14 (7)
691 MACHO-PPC: PPC_RELOC_SECTDIFF (8)
692 MACHO-PPC: PPC_RELOC_PB_LA_PTR (9)
693 MACHO-PPC: PPC_RELOC_HI16_SECTDIFF (10)
694 MACHO-PPC: PPC_RELOC_LO16_SECTDIFF (11)
695 MACHO-PPC: PPC_RELOC_HA16_SECTDIFF (12)
696 MACHO-PPC: PPC_RELOC_JBSR (13)
697 MACHO-PPC: PPC_RELOC_LO14_SECTDIFF (14)
698 MACHO-PPC: PPC_RELOC_LOCAL_SECTDIFF (15)