1# RUN: yaml2obj -docnum=1 %s > %t.o.1
2# RUN: llvm-readobj -s -file-headers %t.o.1 | FileCheck --check-prefixes=ELF-ALL,ELF-R600 %s
3# RUN: obj2yaml %t.o.1 | FileCheck --check-prefixes=YAML-R600 %s
4# RUN: yaml2obj -docnum=2 %s > %t.o.2
5# RUN: llvm-readobj -s -file-headers %t.o.2 | FileCheck --check-prefixes=ELF-ALL,ELF-R630 %s
6# RUN: obj2yaml %t.o.2 | FileCheck --check-prefixes=YAML-R630 %s
7# RUN: yaml2obj -docnum=3 %s > %t.o.3
8# RUN: llvm-readobj -s -file-headers %t.o.3 | FileCheck --check-prefixes=ELF-ALL,ELF-RS880 %s
9# RUN: obj2yaml %t.o.3 | FileCheck --check-prefixes=YAML-RS880 %s
10# RUN: yaml2obj -docnum=4 %s > %t.o.4
11# RUN: llvm-readobj -s -file-headers %t.o.4 | FileCheck --check-prefixes=ELF-ALL,ELF-RV670 %s
12# RUN: obj2yaml %t.o.4 | FileCheck --check-prefixes=YAML-RV670 %s
13# RUN: yaml2obj -docnum=5 %s > %t.o.5
14# RUN: llvm-readobj -s -file-headers %t.o.5 | FileCheck --check-prefixes=ELF-ALL,ELF-RV710 %s
15# RUN: obj2yaml %t.o.5 | FileCheck --check-prefixes=YAML-RV710 %s
16# RUN: yaml2obj -docnum=6 %s > %t.o.6
17# RUN: llvm-readobj -s -file-headers %t.o.6 | FileCheck --check-prefixes=ELF-ALL,ELF-RV730 %s
18# RUN: obj2yaml %t.o.6 | FileCheck --check-prefixes=YAML-RV730 %s
19# RUN: yaml2obj -docnum=7 %s > %t.o.7
20# RUN: llvm-readobj -s -file-headers %t.o.7 | FileCheck --check-prefixes=ELF-ALL,ELF-RV770 %s
21# RUN: obj2yaml %t.o.7 | FileCheck --check-prefixes=YAML-RV770 %s
22# RUN: yaml2obj -docnum=8 %s > %t.o.8
23# RUN: llvm-readobj -s -file-headers %t.o.8 | FileCheck --check-prefixes=ELF-ALL,ELF-CEDAR %s
24# RUN: obj2yaml %t.o.8 | FileCheck --check-prefixes=YAML-CEDAR %s
25# RUN: yaml2obj -docnum=9 %s > %t.o.9
26# RUN: llvm-readobj -s -file-headers %t.o.9 | FileCheck --check-prefixes=ELF-ALL,ELF-CYPRESS %s
27# RUN: obj2yaml %t.o.9 | FileCheck --check-prefixes=YAML-CYPRESS %s
28# RUN: yaml2obj -docnum=10 %s > %t.o.10
29# RUN: llvm-readobj -s -file-headers %t.o.10 | FileCheck --check-prefixes=ELF-ALL,ELF-JUNIPER %s
30# RUN: obj2yaml %t.o.10 | FileCheck --check-prefixes=YAML-JUNIPER %s
31# RUN: yaml2obj -docnum=11 %s > %t.o.11
32# RUN: llvm-readobj -s -file-headers %t.o.11 | FileCheck --check-prefixes=ELF-ALL,ELF-REDWOOD %s
33# RUN: obj2yaml %t.o.11 | FileCheck --check-prefixes=YAML-REDWOOD %s
34# RUN: yaml2obj -docnum=12 %s > %t.o.12
35# RUN: llvm-readobj -s -file-headers %t.o.12 | FileCheck --check-prefixes=ELF-ALL,ELF-SUMO %s
36# RUN: obj2yaml %t.o.12 | FileCheck --check-prefixes=YAML-SUMO %s
37# RUN: yaml2obj -docnum=13 %s > %t.o.13
38# RUN: llvm-readobj -s -file-headers %t.o.13 | FileCheck --check-prefixes=ELF-ALL,ELF-BARTS %s
39# RUN: obj2yaml %t.o.13 | FileCheck --check-prefixes=YAML-BARTS %s
40# RUN: yaml2obj -docnum=14 %s > %t.o.14
41# RUN: llvm-readobj -s -file-headers %t.o.14 | FileCheck --check-prefixes=ELF-ALL,ELF-CAICOS %s
42# RUN: obj2yaml %t.o.14 | FileCheck --check-prefixes=YAML-CAICOS %s
43# RUN: yaml2obj -docnum=15 %s > %t.o.15
44# RUN: llvm-readobj -s -file-headers %t.o.15 | FileCheck --check-prefixes=ELF-ALL,ELF-CAYMAN %s
45# RUN: obj2yaml %t.o.15 | FileCheck --check-prefixes=YAML-CAYMAN %s
46# RUN: yaml2obj -docnum=16 %s > %t.o.16
47# RUN: llvm-readobj -s -file-headers %t.o.16 | FileCheck --check-prefixes=ELF-ALL,ELF-TURKS %s
48# RUN: obj2yaml %t.o.16 | FileCheck --check-prefixes=YAML-TURKS %s
49# RUN: yaml2obj -docnum=17 %s > %t.o.17
50# RUN: llvm-readobj -s -file-headers %t.o.17 | FileCheck --check-prefixes=ELF-ALL,ELF-GFX600 %s
51# RUN: obj2yaml %t.o.17 | FileCheck --check-prefixes=YAML-GFX600 %s
52# RUN: yaml2obj -docnum=18 %s > %t.o.18
53# RUN: llvm-readobj -s -file-headers %t.o.18 | FileCheck --check-prefixes=ELF-ALL,ELF-GFX601 %s
54# RUN: obj2yaml %t.o.18 | FileCheck --check-prefixes=YAML-GFX601 %s
55# RUN: yaml2obj -docnum=19 %s > %t.o.19
56# RUN: llvm-readobj -s -file-headers %t.o.19 | FileCheck --check-prefixes=ELF-ALL,ELF-GFX700 %s
57# RUN: obj2yaml %t.o.19 | FileCheck --check-prefixes=YAML-GFX700 %s
58# RUN: yaml2obj -docnum=20 %s > %t.o.20
59# RUN: llvm-readobj -s -file-headers %t.o.20 | FileCheck --check-prefixes=ELF-ALL,ELF-GFX701 %s
60# RUN: obj2yaml %t.o.20 | FileCheck --check-prefixes=YAML-GFX701 %s
61# RUN: yaml2obj -docnum=21 %s > %t.o.21
62# RUN: llvm-readobj -s -file-headers %t.o.21 | FileCheck --check-prefixes=ELF-ALL,ELF-GFX702 %s
63# RUN: obj2yaml %t.o.21 | FileCheck --check-prefixes=YAML-GFX702 %s
64# RUN: yaml2obj -docnum=22 %s > %t.o.22
65# RUN: llvm-readobj -s -file-headers %t.o.22 | FileCheck --check-prefixes=ELF-ALL,ELF-GFX703 %s
66# RUN: obj2yaml %t.o.22 | FileCheck --check-prefixes=YAML-GFX703 %s
67# RUN: yaml2obj -docnum=23 %s > %t.o.23
68# RUN: llvm-readobj -s -file-headers %t.o.23 | FileCheck --check-prefixes=ELF-ALL,ELF-GFX704 %s
69# RUN: obj2yaml %t.o.23 | FileCheck --check-prefixes=YAML-GFX704 %s
70# RUN: yaml2obj -docnum=24 %s > %t.o.24
71# RUN: llvm-readobj -s -file-headers %t.o.24 | FileCheck --check-prefixes=ELF-ALL,ELF-GFX801 %s
72# RUN: obj2yaml %t.o.24 | FileCheck --check-prefixes=YAML-GFX801 %s
73# RUN: yaml2obj -docnum=25 %s > %t.o.25
74# RUN: llvm-readobj -s -file-headers %t.o.25 | FileCheck --check-prefixes=ELF-ALL,ELF-GFX802 %s
75# RUN: obj2yaml %t.o.25 | FileCheck --check-prefixes=YAML-GFX802 %s
76# RUN: yaml2obj -docnum=26 %s > %t.o.26
77# RUN: llvm-readobj -s -file-headers %t.o.26 | FileCheck --check-prefixes=ELF-ALL,ELF-GFX803 %s
78# RUN: obj2yaml %t.o.26 | FileCheck --check-prefixes=YAML-GFX803 %s
79# RUN: yaml2obj -docnum=27 %s > %t.o.27
80# RUN: llvm-readobj -s -file-headers %t.o.27 | FileCheck --check-prefixes=ELF-ALL,ELF-GFX810 %s
81# RUN: obj2yaml %t.o.27 | FileCheck --check-prefixes=YAML-GFX810 %s
82# RUN: yaml2obj -docnum=28 %s > %t.o.28
83# RUN: llvm-readobj -s -file-headers %t.o.28 | FileCheck --check-prefixes=ELF-ALL,ELF-GFX900 %s
84# RUN: obj2yaml %t.o.28 | FileCheck --check-prefixes=YAML-GFX900 %s
85# RUN: yaml2obj -docnum=29 %s > %t.o.29
86# RUN: llvm-readobj -s -file-headers %t.o.29 | FileCheck --check-prefixes=ELF-ALL,ELF-GFX902 %s
87# RUN: obj2yaml %t.o.29 | FileCheck --check-prefixes=YAML-GFX902 %s
88# RUN: yaml2obj -docnum=30 %s > %t.o.30
89# RUN: llvm-readobj -s -file-headers %t.o.30 | FileCheck --check-prefixes=ELF-ALL,ELF-GFX904 %s
90# RUN: obj2yaml %t.o.30 | FileCheck --check-prefixes=YAML-GFX904 %s
91# RUN: yaml2obj -docnum=31 %s > %t.o.31
92# RUN: llvm-readobj -s -file-headers %t.o.31 | FileCheck --check-prefixes=ELF-ALL,ELF-GFX906 %s
93# RUN: obj2yaml %t.o.31 | FileCheck --check-prefixes=YAML-GFX906 %s
94
95
96# ELF-ALL:     Flags [
97# ELF-R600:      EF_AMDGPU_MACH_R600_R600     (0x1)
98# ELF-R630:      EF_AMDGPU_MACH_R600_R630     (0x2)
99# ELF-RS880:     EF_AMDGPU_MACH_R600_RS880    (0x3)
100# ELF-RV670:     EF_AMDGPU_MACH_R600_RV670    (0x4)
101# ELF-RV710:     EF_AMDGPU_MACH_R600_RV710    (0x5)
102# ELF-RV730:     EF_AMDGPU_MACH_R600_RV730    (0x6)
103# ELF-RV770:     EF_AMDGPU_MACH_R600_RV770    (0x7)
104# ELF-CEDAR:     EF_AMDGPU_MACH_R600_CEDAR    (0x8)
105# ELF-CYPRESS:   EF_AMDGPU_MACH_R600_CYPRESS  (0x9)
106# ELF-JUNIPER:   EF_AMDGPU_MACH_R600_JUNIPER  (0xA)
107# ELF-REDWOOD:   EF_AMDGPU_MACH_R600_REDWOOD  (0xB)
108# ELF-SUMO:      EF_AMDGPU_MACH_R600_SUMO     (0xC)
109# ELF-BARTS:     EF_AMDGPU_MACH_R600_BARTS    (0xD)
110# ELF-CAICOS:    EF_AMDGPU_MACH_R600_CAICOS   (0xE)
111# ELF-CAYMAN:    EF_AMDGPU_MACH_R600_CAYMAN   (0xF)
112# ELF-TURKS:     EF_AMDGPU_MACH_R600_TURKS    (0x10)
113# ELF-GFX600:    EF_AMDGPU_MACH_AMDGCN_GFX600 (0x20)
114# ELF-GFX601:    EF_AMDGPU_MACH_AMDGCN_GFX601 (0x21)
115# ELF-GFX700:    EF_AMDGPU_MACH_AMDGCN_GFX700 (0x22)
116# ELF-GFX701:    EF_AMDGPU_MACH_AMDGCN_GFX701 (0x23)
117# ELF-GFX702:    EF_AMDGPU_MACH_AMDGCN_GFX702 (0x24)
118# ELF-GFX703:    EF_AMDGPU_MACH_AMDGCN_GFX703 (0x25)
119# ELF-GFX704:    EF_AMDGPU_MACH_AMDGCN_GFX704 (0x26)
120# ELF-GFX801:    EF_AMDGPU_MACH_AMDGCN_GFX801 (0x28)
121# ELF-GFX802:    EF_AMDGPU_MACH_AMDGCN_GFX802 (0x29)
122# ELF-GFX803:    EF_AMDGPU_MACH_AMDGCN_GFX803 (0x2A)
123# ELF-GFX810:    EF_AMDGPU_MACH_AMDGCN_GFX810 (0x2B)
124# ELF-GFX900:    EF_AMDGPU_MACH_AMDGCN_GFX900 (0x2C)
125# ELF-GFX902:    EF_AMDGPU_MACH_AMDGCN_GFX902 (0x2D)
126# ELF-GFX904:    EF_AMDGPU_MACH_AMDGCN_GFX904 (0x2E)
127# ELF-GFX906:    EF_AMDGPU_MACH_AMDGCN_GFX906 (0x2F)
128# ELF-ALL:     ]
129
130# YAML-R600:    Flags: [ EF_AMDGPU_MACH_R600_R600 ]
131# YAML-R630:    Flags: [ EF_AMDGPU_MACH_R600_R630 ]
132# YAML-RS880:   Flags: [ EF_AMDGPU_MACH_R600_RS880 ]
133# YAML-RV670:   Flags: [ EF_AMDGPU_MACH_R600_RV670 ]
134# YAML-RV710:   Flags: [ EF_AMDGPU_MACH_R600_RV710 ]
135# YAML-RV730:   Flags: [ EF_AMDGPU_MACH_R600_RV730 ]
136# YAML-RV770:   Flags: [ EF_AMDGPU_MACH_R600_RV770 ]
137# YAML-CEDAR:   Flags: [ EF_AMDGPU_MACH_R600_CEDAR ]
138# YAML-CYPRESS: Flags: [ EF_AMDGPU_MACH_R600_CYPRESS ]
139# YAML-JUNIPER: Flags: [ EF_AMDGPU_MACH_R600_JUNIPER ]
140# YAML-REDWOOD: Flags: [ EF_AMDGPU_MACH_R600_REDWOOD ]
141# YAML-SUMO:    Flags: [ EF_AMDGPU_MACH_R600_SUMO ]
142# YAML-BARTS:   Flags: [ EF_AMDGPU_MACH_R600_BARTS ]
143# YAML-CAICOS:  Flags: [ EF_AMDGPU_MACH_R600_CAICOS ]
144# YAML-CAYMAN:  Flags: [ EF_AMDGPU_MACH_R600_CAYMAN ]
145# YAML-TURKS:   Flags: [ EF_AMDGPU_MACH_R600_TURKS ]
146# YAML-GFX600:  Flags: [ EF_AMDGPU_MACH_AMDGCN_GFX600 ]
147# YAML-GFX601:  Flags: [ EF_AMDGPU_MACH_AMDGCN_GFX601 ]
148# YAML-GFX700:  Flags: [ EF_AMDGPU_MACH_AMDGCN_GFX700 ]
149# YAML-GFX701:  Flags: [ EF_AMDGPU_MACH_AMDGCN_GFX701 ]
150# YAML-GFX702:  Flags: [ EF_AMDGPU_MACH_AMDGCN_GFX702 ]
151# YAML-GFX703:  Flags: [ EF_AMDGPU_MACH_AMDGCN_GFX703 ]
152# YAML-GFX704:  Flags: [ EF_AMDGPU_MACH_AMDGCN_GFX704 ]
153# YAML-GFX801:  Flags: [ EF_AMDGPU_MACH_AMDGCN_GFX801 ]
154# YAML-GFX802:  Flags: [ EF_AMDGPU_MACH_AMDGCN_GFX802 ]
155# YAML-GFX803:  Flags: [ EF_AMDGPU_MACH_AMDGCN_GFX803 ]
156# YAML-GFX810:  Flags: [ EF_AMDGPU_MACH_AMDGCN_GFX810 ]
157# YAML-GFX900:  Flags: [ EF_AMDGPU_MACH_AMDGCN_GFX900 ]
158# YAML-GFX902:  Flags: [ EF_AMDGPU_MACH_AMDGCN_GFX902 ]
159# YAML-GFX904:  Flags: [ EF_AMDGPU_MACH_AMDGCN_GFX904 ]
160# YAML-GFX906:  Flags: [ EF_AMDGPU_MACH_AMDGCN_GFX906 ]
161
162# Doc1
163--- !ELF
164FileHeader:
165  Class:   ELFCLASS32
166  Data:    ELFDATA2LSB
167  OSABI:   ELFOSABI_NONE
168  Type:    ET_REL
169  Machine: EM_AMDGPU
170  Flags:   [ EF_AMDGPU_MACH_R600_R600 ]
171...
172
173# Doc2
174--- !ELF
175FileHeader:
176  Class:   ELFCLASS32
177  Data:    ELFDATA2LSB
178  OSABI:   ELFOSABI_NONE
179  Type:    ET_REL
180  Machine: EM_AMDGPU
181  Flags:   [ EF_AMDGPU_MACH_R600_R630 ]
182...
183
184# Doc3
185--- !ELF
186FileHeader:
187  Class:   ELFCLASS32
188  Data:    ELFDATA2LSB
189  OSABI:   ELFOSABI_NONE
190  Type:    ET_REL
191  Machine: EM_AMDGPU
192  Flags:   [ EF_AMDGPU_MACH_R600_RS880 ]
193...
194
195# Doc4
196--- !ELF
197FileHeader:
198  Class:   ELFCLASS32
199  Data:    ELFDATA2LSB
200  OSABI:   ELFOSABI_NONE
201  Type:    ET_REL
202  Machine: EM_AMDGPU
203  Flags:   [ EF_AMDGPU_MACH_R600_RV670 ]
204...
205
206# Doc5
207--- !ELF
208FileHeader:
209  Class:   ELFCLASS32
210  Data:    ELFDATA2LSB
211  OSABI:   ELFOSABI_NONE
212  Type:    ET_REL
213  Machine: EM_AMDGPU
214  Flags:   [ EF_AMDGPU_MACH_R600_RV710 ]
215...
216
217# Doc6
218--- !ELF
219FileHeader:
220  Class:   ELFCLASS32
221  Data:    ELFDATA2LSB
222  OSABI:   ELFOSABI_NONE
223  Type:    ET_REL
224  Machine: EM_AMDGPU
225  Flags:   [ EF_AMDGPU_MACH_R600_RV730 ]
226...
227
228# Doc7
229--- !ELF
230FileHeader:
231  Class:   ELFCLASS32
232  Data:    ELFDATA2LSB
233  OSABI:   ELFOSABI_NONE
234  Type:    ET_REL
235  Machine: EM_AMDGPU
236  Flags:   [ EF_AMDGPU_MACH_R600_RV770 ]
237...
238
239# Doc8
240--- !ELF
241FileHeader:
242  Class:   ELFCLASS32
243  Data:    ELFDATA2LSB
244  OSABI:   ELFOSABI_NONE
245  Type:    ET_REL
246  Machine: EM_AMDGPU
247  Flags:   [ EF_AMDGPU_MACH_R600_CEDAR ]
248...
249
250# Doc9
251--- !ELF
252FileHeader:
253  Class:   ELFCLASS32
254  Data:    ELFDATA2LSB
255  OSABI:   ELFOSABI_NONE
256  Type:    ET_REL
257  Machine: EM_AMDGPU
258  Flags:   [ EF_AMDGPU_MACH_R600_CYPRESS ]
259...
260
261# Doc10
262--- !ELF
263FileHeader:
264  Class:   ELFCLASS32
265  Data:    ELFDATA2LSB
266  OSABI:   ELFOSABI_NONE
267  Type:    ET_REL
268  Machine: EM_AMDGPU
269  Flags:   [ EF_AMDGPU_MACH_R600_JUNIPER ]
270...
271
272# Doc11
273--- !ELF
274FileHeader:
275  Class:   ELFCLASS32
276  Data:    ELFDATA2LSB
277  OSABI:   ELFOSABI_NONE
278  Type:    ET_REL
279  Machine: EM_AMDGPU
280  Flags:   [ EF_AMDGPU_MACH_R600_REDWOOD ]
281...
282
283# Doc12
284--- !ELF
285FileHeader:
286  Class:   ELFCLASS32
287  Data:    ELFDATA2LSB
288  OSABI:   ELFOSABI_NONE
289  Type:    ET_REL
290  Machine: EM_AMDGPU
291  Flags:   [ EF_AMDGPU_MACH_R600_SUMO ]
292...
293
294# Doc13
295--- !ELF
296FileHeader:
297  Class:   ELFCLASS32
298  Data:    ELFDATA2LSB
299  OSABI:   ELFOSABI_NONE
300  Type:    ET_REL
301  Machine: EM_AMDGPU
302  Flags:   [ EF_AMDGPU_MACH_R600_BARTS ]
303...
304
305# Doc14
306--- !ELF
307FileHeader:
308  Class:   ELFCLASS32
309  Data:    ELFDATA2LSB
310  OSABI:   ELFOSABI_NONE
311  Type:    ET_REL
312  Machine: EM_AMDGPU
313  Flags:   [ EF_AMDGPU_MACH_R600_CAICOS ]
314...
315
316# Doc15
317--- !ELF
318FileHeader:
319  Class:   ELFCLASS32
320  Data:    ELFDATA2LSB
321  OSABI:   ELFOSABI_NONE
322  Type:    ET_REL
323  Machine: EM_AMDGPU
324  Flags:   [ EF_AMDGPU_MACH_R600_CAYMAN ]
325...
326
327# Doc16
328--- !ELF
329FileHeader:
330  Class:   ELFCLASS32
331  Data:    ELFDATA2LSB
332  OSABI:   ELFOSABI_NONE
333  Type:    ET_REL
334  Machine: EM_AMDGPU
335  Flags:   [ EF_AMDGPU_MACH_R600_TURKS ]
336...
337
338# Doc17
339--- !ELF
340FileHeader:
341  Class:   ELFCLASS64
342  Data:    ELFDATA2LSB
343  OSABI:   ELFOSABI_NONE
344  Type:    ET_REL
345  Machine: EM_AMDGPU
346  Flags:   [ EF_AMDGPU_MACH_AMDGCN_GFX600 ]
347...
348
349# Doc18
350--- !ELF
351FileHeader:
352  Class:   ELFCLASS64
353  Data:    ELFDATA2LSB
354  OSABI:   ELFOSABI_NONE
355  Type:    ET_REL
356  Machine: EM_AMDGPU
357  Flags:   [ EF_AMDGPU_MACH_AMDGCN_GFX601 ]
358...
359
360# Doc19
361--- !ELF
362FileHeader:
363  Class:   ELFCLASS64
364  Data:    ELFDATA2LSB
365  OSABI:   ELFOSABI_NONE
366  Type:    ET_REL
367  Machine: EM_AMDGPU
368  Flags:   [ EF_AMDGPU_MACH_AMDGCN_GFX700 ]
369...
370
371# Doc20
372--- !ELF
373FileHeader:
374  Class:   ELFCLASS64
375  Data:    ELFDATA2LSB
376  OSABI:   ELFOSABI_NONE
377  Type:    ET_REL
378  Machine: EM_AMDGPU
379  Flags:   [ EF_AMDGPU_MACH_AMDGCN_GFX701 ]
380...
381
382# Doc21
383--- !ELF
384FileHeader:
385  Class:   ELFCLASS64
386  Data:    ELFDATA2LSB
387  OSABI:   ELFOSABI_NONE
388  Type:    ET_REL
389  Machine: EM_AMDGPU
390  Flags:   [ EF_AMDGPU_MACH_AMDGCN_GFX702 ]
391...
392
393# Doc22
394--- !ELF
395FileHeader:
396  Class:   ELFCLASS64
397  Data:    ELFDATA2LSB
398  OSABI:   ELFOSABI_NONE
399  Type:    ET_REL
400  Machine: EM_AMDGPU
401  Flags:   [ EF_AMDGPU_MACH_AMDGCN_GFX703 ]
402...
403
404# Doc23
405--- !ELF
406FileHeader:
407  Class:   ELFCLASS64
408  Data:    ELFDATA2LSB
409  OSABI:   ELFOSABI_NONE
410  Type:    ET_REL
411  Machine: EM_AMDGPU
412  Flags:   [ EF_AMDGPU_MACH_AMDGCN_GFX704 ]
413...
414
415# Doc24
416--- !ELF
417FileHeader:
418  Class:   ELFCLASS64
419  Data:    ELFDATA2LSB
420  OSABI:   ELFOSABI_NONE
421  Type:    ET_REL
422  Machine: EM_AMDGPU
423  Flags:   [ EF_AMDGPU_MACH_AMDGCN_GFX801 ]
424...
425
426# Doc25
427--- !ELF
428FileHeader:
429  Class:   ELFCLASS64
430  Data:    ELFDATA2LSB
431  OSABI:   ELFOSABI_NONE
432  Type:    ET_REL
433  Machine: EM_AMDGPU
434  Flags:   [ EF_AMDGPU_MACH_AMDGCN_GFX802 ]
435...
436
437# Doc26
438--- !ELF
439FileHeader:
440  Class:   ELFCLASS64
441  Data:    ELFDATA2LSB
442  OSABI:   ELFOSABI_NONE
443  Type:    ET_REL
444  Machine: EM_AMDGPU
445  Flags:   [ EF_AMDGPU_MACH_AMDGCN_GFX803 ]
446...
447
448# Doc27
449--- !ELF
450FileHeader:
451  Class:   ELFCLASS64
452  Data:    ELFDATA2LSB
453  OSABI:   ELFOSABI_NONE
454  Type:    ET_REL
455  Machine: EM_AMDGPU
456  Flags:   [ EF_AMDGPU_MACH_AMDGCN_GFX810 ]
457...
458
459# Doc28
460--- !ELF
461FileHeader:
462  Class:   ELFCLASS64
463  Data:    ELFDATA2LSB
464  OSABI:   ELFOSABI_NONE
465  Type:    ET_REL
466  Machine: EM_AMDGPU
467  Flags:   [ EF_AMDGPU_MACH_AMDGCN_GFX900 ]
468...
469
470# Doc29
471--- !ELF
472FileHeader:
473  Class:   ELFCLASS64
474  Data:    ELFDATA2LSB
475  OSABI:   ELFOSABI_NONE
476  Type:    ET_REL
477  Machine: EM_AMDGPU
478  Flags:   [ EF_AMDGPU_MACH_AMDGCN_GFX902 ]
479...
480
481# Doc30
482--- !ELF
483FileHeader:
484  Class:   ELFCLASS64
485  Data:    ELFDATA2LSB
486  OSABI:   ELFOSABI_NONE
487  Type:    ET_REL
488  Machine: EM_AMDGPU
489  Flags:   [ EF_AMDGPU_MACH_AMDGCN_GFX904 ]
490...
491
492# Doc31
493--- !ELF
494FileHeader:
495  Class:   ELFCLASS64
496  Data:    ELFDATA2LSB
497  OSABI:   ELFOSABI_NONE
498  Type:    ET_REL
499  Machine: EM_AMDGPU
500  Flags:   [ EF_AMDGPU_MACH_AMDGCN_GFX906 ]
501...
502