Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / bolt / test / AArch64 / Inputs / rels-exe.yaml
blob58f538d62db6ccacfd041b63182bf47a9fae7582
1 --- !ELF
2 FileHeader:
3   Class:           ELFCLASS64
4   Data:            ELFDATA2LSB
5   Type:            ET_EXEC
6   Machine:         EM_AARCH64
7   Entry:           0x210710
8 ProgramHeaders:
9   - Type:            PT_PHDR
10     Flags:           [ PF_R ]
11     VAddr:           0x200040
12     Align:           0x8
13   - Type:            PT_INTERP
14     Flags:           [ PF_R ]
15     FirstSec:        .interp
16     LastSec:         .interp
17     VAddr:           0x2002A8
18   - Type:            PT_LOAD
19     Flags:           [ PF_R ]
20     FirstSec:        .interp
21     LastSec:         .rodata
22     VAddr:           0x200000
23     Align:           0x10000
24   - Type:            PT_LOAD
25     Flags:           [ PF_X, PF_R ]
26     FirstSec:        .text
27     LastSec:         .iplt
28     VAddr:           0x210710
29     Align:           0x10000
30   - Type:            PT_LOAD
31     Flags:           [ PF_W, PF_R ]
32     FirstSec:        .iplt
33     LastSec:         .got
34     VAddr:           0x220990
35     Align:           0x10000
36   - Type:            PT_LOAD
37     Flags:           [ PF_W, PF_R ]
38     FirstSec:        .data
39     LastSec:         .bss
40     VAddr:           0x230B40
41     Align:           0x10000
42   - Type:            PT_DYNAMIC
43     Flags:           [ PF_W, PF_R ]
44     FirstSec:        .dynamic
45     LastSec:         .dynamic
46     VAddr:           0x2209A0
47     Align:           0x8
48 Sections:
49   - Name:            .interp
50     Type:            SHT_PROGBITS
51     Flags:           [ SHF_ALLOC ]
52     Address:         0x2002A8
53     AddressAlign:    0x1
54     Content:         2F6C69622F6C642D6C696E75782D616172636836342E736F2E3100
55   - Name:            .dynsym
56     Type:            SHT_DYNSYM
57     Flags:           [ SHF_ALLOC ]
58     Address:         0x2002E8
59     Link:            .dynstr
60     AddressAlign:    0x8
61   - Name:            .dynstr
62     Type:            SHT_STRTAB
63     Flags:           [ SHF_ALLOC ]
64     Address:         0x200418
65     AddressAlign:    0x1
66   - Name:            .rela.dyn
67     Type:            SHT_RELA
68     Flags:           [ SHF_ALLOC, SHF_INFO_LINK ]
69     Address:         0x2004A0
70     Link:            .dynsym
71     AddressAlign:    0x8
72     Info:            .got.plt
73     Relocations:
74       - Offset:          0x220B38
75         Symbol:          t1
76         Type:            R_AARCH64_TLS_TPREL64
77       - Offset:          0x230B98
78         Symbol:          a
79         Type:            R_AARCH64_COPY
80       - Offset:          0x230B88
81         Type:            R_AARCH64_IRELATIVE
82         Addend:          2164764
83   - Name:            .rela.plt
84     Type:            SHT_RELA
85     Flags:           [ SHF_ALLOC, SHF_INFO_LINK ]
86     Address:         0x200500
87     Link:            .dynsym
88     AddressAlign:    0x8
89     Info:            .got.plt
90     Relocations:
91       - Offset:          0x230B68
92         Symbol:          abort
93         Type:            R_AARCH64_JUMP_SLOT
94       - Offset:          0x230B70
95         Symbol:          __libc_start_main
96         Type:            R_AARCH64_JUMP_SLOT
97       - Offset:          0x230B80
98         Symbol:          inc
99         Type:            R_AARCH64_JUMP_SLOT
100   - Name:            .rodata
101     Type:            SHT_PROGBITS
102     Flags:           [ SHF_ALLOC, SHF_MERGE ]
103     Address:         0x200560
104     AddressAlign:    0x8
105     Content:         '010002000000000000000000000000000000000000000000'
106   - Name:            .text
107     Type:            SHT_PROGBITS
108     Flags:           [ SHF_ALLOC, SHF_EXECINSTR ]
109     Address:         0x210710
110     AddressAlign:    0x8
111     Content:         1D0080D21E0080D2E50300AAE10340F9E2230091E60300910000009000201D911F2003D5230A00101F2003D5E40D0010840000947F0000943800001480000090009845F9400000B482000014C0035FD61F2003D5601F10101F2003D5211F10103F0000EBC000005481FFFF9021B442F9610000B4F00301AA00021FD6C0035FD61F2003D5E01D10101F2003D5A11D1010210000CB22FC7FD3410C818BFF0781EB21FC4193C000005482FFFF9042B842F9620000B4F00302AA00021FD6C0035FD6FD7BBEA9FD030091F30B00F91301009060426E3980000035DEFFFF972000805260422E39F30B40F9FD7BC2A8C0035FD6E4FFFF17FF4300D1E00F00B9E80F40B900050071FF430091C0035FD61F2003D520FFFF10C0035FD6FF8300D1FD7B01A9FD4300918A0000904A9D45F949D03BD528696AB80805001128692AB808010090E80700F900994BB94A000094E80740F900994BB943000094E0031F2AFD7B41A9FF830091C0035FD6FD7BBCA9FD030091F35301A91F2003D5D4080810F55B02A91F2003D535080810940215CBF603002AF76303A9F70301AAF80302AA14000094FF0F94EB6001005494FE4393130080D2A37A73F8E20318AA73060091E10317AAE003162A60003FD69F0213EB21FFFF54F35341A9F55B42A9F76343A9FD7BC4A8C0035FD61F2003D5C0035FD6
112   - Name:            .plt
113     Type:            SHT_PROGBITS
114     Flags:           [ SHF_ALLOC, SHF_EXECINSTR ]
115     Address:         0x210920
116     AddressAlign:    0x10
117     Content:         F07BBFA91001009011B245F910822D9120021FD61F2003D51F2003D51F2003D51001009011B645F910A22D9120021FD61001009011BA45F910C22D9120021FD61001009011BE45F910E22D9120021FD61001009011C245F910022E9120021FD6
118   - Name:            .iplt
119     Type:            SHT_PROGBITS
120     Flags:           [ SHF_ALLOC, SHF_EXECINSTR ]
121     Address:         0x210980
122     AddressAlign:    0x10
123     Content:         1001009011C645F910222E9120021FD6
124   - Name:            .dynamic
125     Type:            SHT_DYNAMIC
126     Flags:           [ SHF_WRITE, SHF_ALLOC ]
127     Address:         0x2209A0
128     Link:            .dynstr
129     AddressAlign:    0x8
130     Entries:
131       - Tag:             DT_NEEDED
132         Value:           0x7C
133       - Tag:             DT_NEEDED
134         Value:           0x67
135       - Tag:             DT_DEBUG
136         Value:           0x0
137       - Tag:             DT_RELA
138         Value:           0x2004A0
139       - Tag:             DT_RELASZ
140         Value:           0x48
141       - Tag:             DT_RELAENT
142         Value:           0x18
143       - Tag:             DT_JMPREL
144         Value:           0x200500
145       - Tag:             DT_PLTRELSZ
146         Value:           0x48
147       - Tag:             DT_PLTGOT
148         Value:           0x230B50
149       - Tag:             DT_PLTREL
150         Value:           0x7
151       - Tag:             DT_SYMTAB
152         Value:           0x2002E8
153       - Tag:             DT_SYMENT
154         Value:           0x18
155       - Tag:             DT_STRTAB
156         Value:           0x200418
157       - Tag:             DT_STRSZ
158         Value:           0x83
159       - Tag:             DT_NULL
160         Value:           0x0
161   - Name:            .got
162     Type:            SHT_PROGBITS
163     Flags:           [ SHF_WRITE, SHF_ALLOC ]
164     Address:         0x220B30
165     AddressAlign:    0x8
166     Content:         '00000000000000000000000000000000'
167   - Name:            .data
168     Type:            SHT_PROGBITS
169     Flags:           [ SHF_WRITE, SHF_ALLOC ]
170     Address:         0x230B40
171     AddressAlign:    0x8
172     Content:         '00000000000000000000000000000000'
173   - Name:            .got.plt
174     Type:            SHT_PROGBITS
175     Flags:           [ SHF_WRITE, SHF_ALLOC ]
176     Address:         0x230B50
177     AddressAlign:    0x8
178     Content:         '00000000000000000000000000000000000000000000000020092100000000002009210000000000200921000000000020092100000000000000000000000000'
179   - Name:            .bss
180     Type:            SHT_NOBITS
181     Flags:           [ SHF_WRITE, SHF_ALLOC ]
182     Address:         0x230B90
183     AddressAlign:    0x8
184     Size:            0xC
185   - Name:            .rela.text
186     Type:            SHT_RELA
187     Flags:           [ SHF_INFO_LINK ]
188     Link:            .symtab
189     AddressAlign:    0x8
190     Info:            .text
191     Relocations:
192       - Offset:          0x210728
193         Symbol:          .text
194         Type:            R_AARCH64_ADR_PREL_PG_HI21
195         Addend:          56
196       - Offset:          0x21072C
197         Symbol:          .text
198         Type:            R_AARCH64_ADD_ABS_LO12_NC
199         Addend:          56
200       - Offset:          0x210740
201         Symbol:          __libc_start_main
202         Type:            R_AARCH64_CALL26
203       - Offset:          0x210744
204         Symbol:          abort
205         Type:            R_AARCH64_CALL26
206       - Offset:          0x210748
207         Symbol:          main
208         Type:            R_AARCH64_JUMP26
209       - Offset:          0x210778
210         Symbol:          .rodata
211         Type:            R_AARCH64_ADR_PREL_PG_HI21
212         Addend:          8
213       - Offset:          0x21077C
214         Symbol:          .rodata
215         Type:            R_AARCH64_LDST64_ABS_LO12_NC
216         Addend:          8
217       - Offset:          0x2107B8
218         Symbol:          .rodata
219         Type:            R_AARCH64_ADR_PREL_PG_HI21
220         Addend:          16
221       - Offset:          0x2107BC
222         Symbol:          .rodata
223         Type:            R_AARCH64_LDST64_ABS_LO12_NC
224         Addend:          16
225       - Offset:          0x2107DC
226         Symbol:          .bss
227         Type:            R_AARCH64_ADR_PREL_PG_HI21
228       - Offset:          0x2107E0
229         Symbol:          .bss
230         Type:            R_AARCH64_LDST8_ABS_LO12_NC
231       - Offset:          0x2107F0
232         Symbol:          .bss
233         Type:            R_AARCH64_LDST8_ABS_LO12_NC
234       - Offset:          0x21081C
235         Symbol:          dec
236         Type:            R_AARCH64_ADR_PREL_PG_HI21
237       - Offset:          0x210820
238         Symbol:          dec
239         Type:            R_AARCH64_ADD_ABS_LO12_NC
240       - Offset:          0x210834
241         Symbol:          t1
242         Type:            R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21
243       - Offset:          0x210838
244         Symbol:          t1
245         Type:            R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC
246       - Offset:          0x21084C
247         Symbol:          a
248         Type:            R_AARCH64_ADR_PREL_PG_HI21
249       - Offset:          0x210854
250         Symbol:          a
251         Type:            R_AARCH64_LDST32_ABS_LO12_NC
252       - Offset:          0x210858
253         Symbol:          ifuncDec
254         Type:            R_AARCH64_CALL26
255       - Offset:          0x210860
256         Symbol:          a
257         Type:            R_AARCH64_LDST32_ABS_LO12_NC
258       - Offset:          0x210864
259         Symbol:          inc
260         Type:            R_AARCH64_CALL26
261 Symbols:
262   - Name:            .text
263     Type:            STT_SECTION
264     Section:         .text
265     Value:           0x210710
266   - Name:            .data
267     Type:            STT_SECTION
268     Section:         .data
269     Value:           0x230B40
270   - Name:            .bss
271     Type:            STT_SECTION
272     Section:         .bss
273     Value:           0x230B90
274   - Name:            .rodata
275     Type:            STT_SECTION
276     Section:         .rodata
277     Value:           0x200560
278   - Name:            .interp
279     Type:            STT_SECTION
280     Section:         .interp
281     Value:           0x2002A8
282   - Name:            _DYNAMIC
283     Section:         .dynamic
284     Value:           0x2209A0
285     Other:           [ STV_HIDDEN ]
286   - Name:            abort
287     Type:            STT_FUNC
288     Binding:         STB_GLOBAL
289   - Name:            _start
290     Type:            STT_FUNC
291     Section:         .text
292     Binding:         STB_GLOBAL
293     Value:           0x210710
294   - Name:            main
295     Type:            STT_FUNC
296     Section:         .text
297     Binding:         STB_GLOBAL
298     Value:           0x210828
299     Size:            0x50
300   - Name:            __libc_start_main
301     Type:            STT_FUNC
302     Binding:         STB_GLOBAL
303   - Name:            dec
304     Type:            STT_FUNC
305     Section:         .text
306     Binding:         STB_GLOBAL
307     Value:           0x210804
308     Size:            0x18
309   - Name:            resolver
310     Type:            STT_FUNC
311     Section:         .text
312     Binding:         STB_GLOBAL
313     Value:           0x21081C
314     Size:            0xC
315   - Name:            t1
316     Type:            STT_TLS
317     Binding:         STB_GLOBAL
318   - Name:            a
319     Type:            STT_OBJECT
320     Section:         .bss
321     Binding:         STB_GLOBAL
322     Value:           0x230B98
323     Size:            0x4
324   - Name:            ifuncDec
325     Type:            STT_GNU_IFUNC
326     Section:         .text
327     Binding:         STB_GLOBAL
328     Value:           0x21081C
329     Size:            0xC
330   - Name:            inc
331     Type:            STT_FUNC
332     Binding:         STB_GLOBAL
333 DynamicSymbols:
334   - Name:            abort
335     Type:            STT_FUNC
336     Binding:         STB_GLOBAL
337   - Name:            __libc_start_main
338     Type:            STT_FUNC
339     Binding:         STB_GLOBAL
340   - Name:            t1
341     Type:            STT_TLS
342     Binding:         STB_GLOBAL
343   - Name:            inc
344     Type:            STT_FUNC
345     Binding:         STB_GLOBAL
346   - Name:            a
347     Type:            STT_OBJECT
348     Section:         .bss
349     Binding:         STB_GLOBAL
350     Value:           0x230B98
351     Size:            0x4