Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / bolt / test / AArch64 / Inputs / rels-so.yaml
blob9ff4295db9599938a9ec541fcc99f28a62bb4512
1 --- !ELF
2 FileHeader:
3   Class:           ELFCLASS64
4   Data:            ELFDATA2LSB
5   Type:            ET_DYN
6   Machine:         EM_AARCH64
7 ProgramHeaders:
8   - Type:            PT_PHDR
9     Flags:           [ PF_R ]
10     VAddr:           0x40
11     Align:           0x8
12   - Type:            PT_LOAD
13     Flags:           [ PF_R ]
14     FirstSec:        .dynsym
15     LastSec:         .dynamic
16     Align:           0x10000
17   - Type:            PT_LOAD
18     Flags:           [ PF_X, PF_R ]
19     FirstSec:        .text
20     LastSec:         .tbss
21     VAddr:           0x10658
22     Align:           0x10000
23   - Type:            PT_LOAD
24     Flags:           [ PF_W, PF_R ]
25     FirstSec:        .tbss
26     LastSec:         .got
27     VAddr:           0x207F0
28     Align:           0x10000
29   - Type:            PT_LOAD
30     Flags:           [ PF_W, PF_R ]
31     FirstSec:        .data
32     LastSec:         .bss
33     VAddr:           0x309C8
34     Align:           0x10000
35   - Type:            PT_TLS
36     Flags:           [ PF_R ]
37     FirstSec:        .tbss
38     LastSec:         .tbss
39     VAddr:           0x107F0
40     Align:           0x4
41   - Type:            PT_DYNAMIC
42     Flags:           [ PF_W, PF_R ]
43     FirstSec:        .dynamic
44     LastSec:         .dynamic
45     VAddr:           0x20800
46     Align:           0x8
47   - Type:            PT_GNU_RELRO
48     Flags:           [ PF_R ]
49     FirstSec:        .tbss
50     LastSec:         .got
51     VAddr:           0x207F0
52 Sections:
53   - Name:            .dynsym
54     Type:            SHT_DYNSYM
55     Flags:           [ SHF_ALLOC ]
56     Address:         0x270
57     Link:            .dynstr
58     AddressAlign:    0x8
59   - Name:            .dynstr
60     Type:            SHT_STRTAB
61     Flags:           [ SHF_ALLOC ]
62     Address:         0x3AC
63     AddressAlign:    0x1
64   - Name:            .rela.dyn
65     Type:            SHT_RELA
66     Flags:           [ SHF_ALLOC ]
67     Address:         0x428
68     Link:            .dynsym
69     AddressAlign:    0x8
70     Relocations:
71       - Offset:          0x209B0
72         Symbol:          a
73         Type:            R_AARCH64_GLOB_DAT
74       - Offset:          0x309D8
75         Symbol:          a
76         Type:            R_AARCH64_ABS64
77       - Offset:          0x209B8
78         Symbol:          t1
79         Type:            R_AARCH64_TLSDESC
80   - Name:            .rela.plt
81     Type:            SHT_RELA
82     Flags:           [ SHF_ALLOC, SHF_INFO_LINK ]
83     Address:         0x530
84     Link:            .dynsym
85     AddressAlign:    0x8
86     Info:            .got.plt
87     Relocations:
88       - Offset:          0x30A00
89         Symbol:          __gmon_start__
90         Type:            R_AARCH64_JUMP_SLOT
91       - Offset:          0x30A08
92         Symbol:          __cxa_finalize
93         Type:            R_AARCH64_JUMP_SLOT
94   - Name:            .text
95     Type:            SHT_PROGBITS
96     Flags:           [ SHF_ALLOC, SHF_EXECINSTR ]
97     Address:         0x10658
98     AddressAlign:    0x8
99     Content:         8000009000C844F9400000B45B000014C0035FD6000000001F2003D5A01B10101F2003D5611B10103F0000EBC00000548100009021CC44F9610000B4F00301AA00021FD6C0035FD61F2003D5201A10101F2003D5E1191010210000CB22FC7FD3410C818BFF0781EB21FC4193C00000548200009042D044F9620000B4F00302AA00021FD6C0035FD6FD7BBEA9FD030091F30B00F91301009060426839400100358000009000D444F9800000B40001009000E444F935000094D8FFFF972000805260422839F30B40F9FD7BC2A8C0035FD6DEFFFF17FF8300D1FD7B01A9FD430091A0C31FB88900009029D944F9280140B908050011280100B98000009001DC44F900E0269120003FD649D03BD5286960B808050011286920B8A8C35FB800050011FD7B41A9FF830091C0035FD6
100   - Name:            .plt
101     Type:            SHT_PROGBITS
102     Flags:           [ SHF_ALLOC, SHF_EXECINSTR ]
103     Address:         0x107B0
104     AddressAlign:    0x10
105     Content:         F07BBFA91001009011FE44F910E2279120021FD61F2003D51F2003D51F2003D510010090110245F91002289120021FD610010090110645F91022289120021FD6
106   - Name:            .tbss
107     Type:            SHT_NOBITS
108     Flags:           [ SHF_WRITE, SHF_ALLOC, SHF_TLS ]
109     Address:         0x107F0
110     AddressAlign:    0x4
111     Size:            0x4
112   - Name:            .dynamic
113     Type:            SHT_DYNAMIC
114     Flags:           [ SHF_WRITE, SHF_ALLOC ]
115     Address:         0x20800
116     Link:            .dynstr
117     AddressAlign:    0x8
118     Entries:
119       - Tag:             DT_NEEDED
120         Value:           0x60
121       - Tag:             DT_SONAME
122         Value:           0x75
123       - Tag:             DT_RELA
124         Value:           0x428
125       - Tag:             DT_RELASZ
126         Value:           0x48
127       - Tag:             DT_RELAENT
128         Value:           0x18
129       - Tag:             DT_RELACOUNT
130         Value:           0x4
131       - Tag:             DT_JMPREL
132         Value:           0x530
133       - Tag:             DT_PLTRELSZ
134         Value:           0x30
135       - Tag:             DT_PLTGOT
136         Value:           0x309E8
137       - Tag:             DT_PLTREL
138         Value:           0x7
139       - Tag:             DT_SYMTAB
140         Value:           0x270
141       - Tag:             DT_SYMENT
142         Value:           0x18
143       - Tag:             DT_STRTAB
144         Value:           0x3AC
145       - Tag:             DT_STRSZ
146         Value:           0x7C
147       - Tag:             DT_GNU_HASH
148         Value:           0x380
149       - Tag:             DT_NULL
150         Value:           0x0
151   - Name:            .got
152     Type:            SHT_PROGBITS
153     Flags:           [ SHF_WRITE, SHF_ALLOC ]
154     Address:         0x20990
155     AddressAlign:    0x8
156     Content:         '0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
157   - Name:            .data
158     Type:            SHT_PROGBITS
159     Flags:           [ SHF_WRITE, SHF_ALLOC ]
160     Address:         0x309C8
161     AddressAlign:    0x8
162     Content:         '0000000000000000010000000000000000000000000000000000000000000000'
163   - Name:            .got.plt
164     Type:            SHT_PROGBITS
165     Flags:           [ SHF_WRITE, SHF_ALLOC ]
166     Address:         0x309E8
167     AddressAlign:    0x8
168     Content:         000000000000000000000000000000000000000000000000B007010000000000B007010000000000
169   - Name:            .bss
170     Type:            SHT_NOBITS
171     Flags:           [ SHF_WRITE, SHF_ALLOC ]
172     Address:         0x30A10
173     AddressAlign:    0x4
174     Size:            0x8
175   - Name:            .rela.text
176     Type:            SHT_RELA
177     Flags:           [ SHF_INFO_LINK ]
178     Link:            .symtab
179     AddressAlign:    0x8
180     Info:            .text
181     Relocations:
182       - Offset:          0x1073C
183         Symbol:          a
184         Type:            R_AARCH64_ADR_GOT_PAGE
185       - Offset:          0x10740
186         Symbol:          a
187         Type:            R_AARCH64_LD64_GOT_LO12_NC
188       - Offset:          0x10750
189         Symbol:          t1
190         Type:            R_AARCH64_TLSDESC_ADR_PAGE21
191       - Offset:          0x10754
192         Symbol:          t1
193         Type:            R_AARCH64_TLSDESC_LD64_LO12
194       - Offset:          0x10758
195         Symbol:          t1
196         Type:            R_AARCH64_TLSDESC_ADD_LO12
197       - Offset:          0x1075C
198         Symbol:          t1
199         Type:            R_AARCH64_TLSDESC_CALL
200   - Name:            .rela.data
201     Type:            SHT_RELA
202     Flags:           [ SHF_INFO_LINK ]
203     Link:            .symtab
204     AddressAlign:    0x8
205     Info:            .data
206     Relocations:
207       - Offset:          0x309C8
208         Symbol:          __dso_handle
209         Type:            R_AARCH64_ABS64
210       - Offset:          0x309D8
211         Symbol:          a
212         Type:            R_AARCH64_ABS64
213       - Offset:          0x309E0
214         Symbol:          .bss
215         Type:            R_AARCH64_ABS64
216         Addend:          4
217 Symbols:
218   - Name:            '$x'
219     Section:         .text
220     Value:           0x10658
221   - Name:            call_weak_fn
222     Type:            STT_FUNC
223     Section:         .text
224     Value:           0x10658
225     Size:            0x14
226   - Name:            .text
227     Type:            STT_SECTION
228     Section:         .text
229     Value:           0x10658
230   - Name:            .data
231     Type:            STT_SECTION
232     Section:         .data
233     Value:           0x309C8
234   - Name:            .bss
235     Type:            STT_SECTION
236     Section:         .bss
237     Value:           0x30A10
238   - Name:            frame_dummy
239     Type:            STT_FUNC
240     Section:         .text
241     Value:           0x10728
242   - Name:            __dso_handle
243     Type:            STT_OBJECT
244     Section:         .data
245     Value:           0x309C8
246     Other:           [ STV_HIDDEN ]
247   - Name:            .tbss
248     Type:            STT_SECTION
249     Section:         .tbss
250     Value:           0x107F0
251   - Name:            _DYNAMIC
252     Section:         .dynamic
253     Value:           0x20800
254     Other:           [ STV_HIDDEN ]
255   - Name:            inc
256     Type:            STT_FUNC
257     Section:         .text
258     Binding:         STB_GLOBAL
259     Value:           0x1072C
260     Size:            0x58
261   - Name:            a
262     Type:            STT_OBJECT
263     Section:         .data
264     Binding:         STB_GLOBAL
265     Value:           0x309D0
266     Size:            0x4
267   - Name:            t1
268     Type:            STT_TLS
269     Section:         .tbss
270     Binding:         STB_GLOBAL
271     Size:            0x4
272   - Name:            b
273     Type:            STT_OBJECT
274     Section:         .data
275     Binding:         STB_GLOBAL
276     Value:           0x309D8
277     Size:            0x8
278 DynamicSymbols:
279   - Name:            __gmon_start__
280     Binding:         STB_WEAK
281   - Name:            __cxa_finalize
282     Type:            STT_FUNC
283     Binding:         STB_WEAK
284   - Name:            inc
285     Type:            STT_FUNC
286     Section:         .text
287     Binding:         STB_GLOBAL
288     Value:           0x1072C
289     Size:            0x58
290   - Name:            a
291     Type:            STT_OBJECT
292     Section:         .data
293     Binding:         STB_GLOBAL
294     Value:           0x309D0
295     Size:            0x4
296   - Name:            t1
297     Type:            STT_TLS
298     Section:         .tbss
299     Binding:         STB_GLOBAL
300     Size:            0x4
301   - Name:            b
302     Type:            STT_OBJECT
303     Section:         .data
304     Binding:         STB_GLOBAL
305     Value:           0x309D8
306     Size:            0x8