1 RUN: llvm-readobj --sections %p/Inputs/trivial.obj.coff-i386 \
2 RUN: | FileCheck %s -check-prefix COFF
3 RUN: llvm-readobj --sections %p/Inputs/trivial.obj.elf-i386 \
4 RUN: | FileCheck %s -check-prefix ELF
5 RUN: llvm-readobj --sections %p/Inputs/trivial.obj.elf-mipsel \
6 RUN: | FileCheck %s -check-prefix ELF-MIPSEL
7 RUN: llvm-readobj --sections %p/Inputs/trivial.obj.macho-i386 \
8 RUN: | FileCheck %s -check-prefix MACHO-I386
9 RUN: llvm-readobj --sections %p/Inputs/trivial.obj.macho-x86-64 \
10 RUN: | FileCheck %s -check-prefix MACHO-X86-64
11 RUN: llvm-readobj --sections %p/Inputs/trivial.obj.macho-ppc \
12 RUN: | FileCheck %s -check-prefix MACHO-PPC
13 RUN: llvm-readobj --sections %p/Inputs/trivial.obj.macho-ppc64 \
14 RUN: | FileCheck %s -check-prefix MACHO-PPC64
15 RUN: llvm-readobj --sections %p/Inputs/trivial.obj.macho-arm \
16 RUN: | FileCheck %s -check-prefix MACHO-ARM
17 RUN: llvm-readobj --sections %p/Inputs/trivial.obj.wasm \
18 RUN: | FileCheck %s -check-prefix WASM
20 # Check flag aliases produce identical output.
21 RUN: llvm-readobj --sections %p/Inputs/trivial.obj.elf-i386 > %t.sections
22 RUN: llvm-readobj -S %p/Inputs/trivial.obj.elf-i386 > %t.uppers
23 RUN: cmp %t.sections %t.uppers
24 RUN: llvm-readobj -S %p/Inputs/trivial.obj.elf-i386 > %t.lowers
25 RUN: cmp %t.sections %t.lowers
30 COFF-NEXT: Name: .text (2E 74 65 78 74 00 00 00)
31 COFF-NEXT: VirtualSize: 0x0
32 COFF-NEXT: VirtualAddress: 0x0
33 COFF-NEXT: RawDataSize: 22
34 COFF-NEXT: PointerToRawData: 0x64
35 COFF-NEXT: PointerToRelocations: 0x7A
36 COFF-NEXT: PointerToLineNumbers: 0x0
37 COFF-NEXT: RelocationCount: 3
38 COFF-NEXT: LineNumberCount: 0
39 COFF-NEXT: Characteristics [ (0x60500020)
40 COFF-NEXT: IMAGE_SCN_ALIGN_16BYTES (0x500000)
41 COFF-NEXT: IMAGE_SCN_CNT_CODE (0x20)
42 COFF-NEXT: IMAGE_SCN_MEM_EXECUTE (0x20000000)
43 COFF-NEXT: IMAGE_SCN_MEM_READ (0x40000000)
48 COFF-NEXT: Name: .data (2E 64 61 74 61 00 00 00)
49 COFF-NEXT: VirtualSize: 0x0
50 COFF-NEXT: VirtualAddress: 0x0
51 COFF-NEXT: RawDataSize: 13
52 COFF-NEXT: PointerToRawData: 0x98
53 COFF-NEXT: PointerToRelocations: 0x0
54 COFF-NEXT: PointerToLineNumbers: 0x0
55 COFF-NEXT: RelocationCount: 0
56 COFF-NEXT: LineNumberCount: 0
57 COFF-NEXT: Characteristics [ (0xC0300040)
58 COFF-NEXT: IMAGE_SCN_ALIGN_4BYTES (0x300000)
59 COFF-NEXT: IMAGE_SCN_CNT_INITIALIZED_DATA (0x40)
60 COFF-NEXT: IMAGE_SCN_MEM_READ (0x40000000)
61 COFF-NEXT: IMAGE_SCN_MEM_WRITE (0x80000000)
70 ELF-NEXT: Type: SHT_NULL (0x0)
71 ELF-NEXT: Flags [ (0x0)
73 ELF-NEXT: Address: 0x0
78 ELF-NEXT: AddressAlignment: 0
79 ELF-NEXT: EntrySize: 0
83 ELF-NEXT: Name: .text (5)
84 ELF-NEXT: Type: SHT_PROGBITS (0x1)
85 ELF-NEXT: Flags [ (0x6)
86 ELF-NEXT: SHF_ALLOC (0x2)
87 ELF-NEXT: SHF_EXECINSTR (0x4)
89 ELF-NEXT: Address: 0x0
90 ELF-NEXT: Offset: 0x40
94 ELF-NEXT: AddressAlignment: 16
95 ELF-NEXT: EntrySize: 0
100 ELF-MIPSEL-NEXT: Name: .reginfo (27)
101 ELF-MIPSEL-NEXT: Type: SHT_MIPS_REGINFO (0x70000006)
102 ELF-MIPSEL-NEXT: Flags [ (0x2)
103 ELF-MIPSEL-NEXT: SHF_ALLOC (0x2)
105 ELF-MIPSEL-NEXT: Address: 0x0
106 ELF-MIPSEL-NEXT: Offset: 0x34
107 ELF-MIPSEL-NEXT: Size: 24
108 ELF-MIPSEL-NEXT: Link: 0
109 ELF-MIPSEL-NEXT: Info: 0
110 ELF-MIPSEL-NEXT: AddressAlignment: 1
111 ELF-MIPSEL-NEXT: EntrySize: 0
113 ELF-MIPSEL-NEXT: Section {
114 ELF-MIPSEL-NEXT: Index: 5
115 ELF-MIPSEL-NEXT: Name: .MIPS.abiflags (12)
116 ELF-MIPSEL-NEXT: Type: SHT_MIPS_ABIFLAGS (0x7000002A)
117 ELF-MIPSEL-NEXT: Flags [ (0x2)
118 ELF-MIPSEL-NEXT: SHF_ALLOC (0x2)
120 ELF-MIPSEL-NEXT: Address: 0x0
121 ELF-MIPSEL-NEXT: Offset: 0x50
122 ELF-MIPSEL-NEXT: Size: 24
123 ELF-MIPSEL-NEXT: Link: 0
124 ELF-MIPSEL-NEXT: Info: 0
125 ELF-MIPSEL-NEXT: AddressAlignment: 8
126 ELF-MIPSEL-NEXT: EntrySize: 0
129 MACHO-I386: Sections [
130 MACHO-I386-NEXT: Section {
131 MACHO-I386-NEXT: Index: 0
132 MACHO-I386-NEXT: Name: __text (5F 5F 74 65 78 74 00 00 00 00 00 00 00 00 00 00)
133 MACHO-I386-NEXT: Segment: __TEXT (5F 5F 54 45 58 54 00 00 00 00 00 00 00 00 00 00)
134 MACHO-I386-NEXT: Address: 0x0
135 MACHO-I386-NEXT: Size: 0x22
136 MACHO-I386-NEXT: Offset: 324
137 MACHO-I386-NEXT: Alignment: 4
138 MACHO-I386-NEXT: RelocationOffset: 0x174
139 MACHO-I386-NEXT: RelocationCount: 4
140 MACHO-I386-NEXT: Type: Regular (0x0)
141 MACHO-I386-NEXT: Attributes [ (0x800004)
142 MACHO-I386-NEXT: PureInstructions (0x800000)
143 MACHO-I386-NEXT: SomeInstructions (0x4)
145 MACHO-I386-NEXT: Reserved1: 0x0
146 MACHO-I386-NEXT: Reserved2: 0x0
148 MACHO-I386-NEXT: Section {
149 MACHO-I386-NEXT: Index: 1
150 MACHO-I386-NEXT: Name: __cstring (5F 5F 63 73 74 72 69 6E 67 00 00 00 00 00 00 00)
151 MACHO-I386-NEXT: Segment: __TEXT (5F 5F 54 45 58 54 00 00 00 00 00 00 00 00 00 00)
152 MACHO-I386-NEXT: Address: 0x22
153 MACHO-I386-NEXT: Size: 0xD
154 MACHO-I386-NEXT: Offset: 358
155 MACHO-I386-NEXT: Alignment: 0
156 MACHO-I386-NEXT: RelocationOffset: 0x0
157 MACHO-I386-NEXT: RelocationCount: 0
158 MACHO-I386-NEXT: Type: CStringLiterals (0x2)
159 MACHO-I386-NEXT: Attributes [ (0x0)
161 MACHO-I386-NEXT: Reserved1: 0x0
162 MACHO-I386-NEXT: Reserved2: 0x0
166 MACHO-X86-64: Sections [
167 MACHO-X86-64-NEXT: Section {
168 MACHO-X86-64-NEXT: Index: 0
169 MACHO-X86-64-NEXT: Name: __text (5F 5F 74 65 78 74 00 00 00 00 00 00 00 00 00 00)
170 MACHO-X86-64-NEXT: Segment: __TEXT (5F 5F 54 45 58 54 00 00 00 00 00 00 00 00 00 00)
171 MACHO-X86-64-NEXT: Address: 0x0
172 MACHO-X86-64-NEXT: Size: 0x16
173 MACHO-X86-64-NEXT: Offset: 368
174 MACHO-X86-64-NEXT: Alignment: 4
175 MACHO-X86-64-NEXT: RelocationOffset: 0x194
176 MACHO-X86-64-NEXT: RelocationCount: 3
177 MACHO-X86-64-NEXT: Type: Regular (0x0)
178 MACHO-X86-64-NEXT: Attributes [ (0x800004)
179 MACHO-X86-64-NEXT: PureInstructions (0x800000)
180 MACHO-X86-64-NEXT: SomeInstructions (0x4)
182 MACHO-X86-64-NEXT: Reserved1: 0x0
183 MACHO-X86-64-NEXT: Reserved2: 0x0
184 MACHO-X86-64-NEXT: Reserved3: 0x0
186 MACHO-X86-64-NEXT: Section {
187 MACHO-X86-64-NEXT: Index: 1
188 MACHO-X86-64-NEXT: Name: __cstring (5F 5F 63 73 74 72 69 6E 67 00 00 00 00 00 00 00)
189 MACHO-X86-64-NEXT: Segment: __TEXT (5F 5F 54 45 58 54 00 00 00 00 00 00 00 00 00 00)
190 MACHO-X86-64-NEXT: Address: 0x16
191 MACHO-X86-64-NEXT: Size: 0xD
192 MACHO-X86-64-NEXT: Offset: 390
193 MACHO-X86-64-NEXT: Alignment: 0
194 MACHO-X86-64-NEXT: RelocationOffset: 0x0
195 MACHO-X86-64-NEXT: RelocationCount: 0
196 MACHO-X86-64-NEXT: Type: CStringLiterals (0x2)
197 MACHO-X86-64-NEXT: Attributes [ (0x0)
199 MACHO-X86-64-NEXT: Reserved1: 0x0
200 MACHO-X86-64-NEXT: Reserved2: 0x0
201 MACHO-X86-64-NEXT: Reserved3: 0x0
205 MACHO-PPC: Sections [
206 MACHO-PPC-NEXT: Section {
207 MACHO-PPC-NEXT: Index: 0
208 MACHO-PPC-NEXT: Name: __text (5F 5F 74 65 78 74 00 00 00 00 00 00 00 00 00 00)
209 MACHO-PPC-NEXT: Segment: __TEXT (5F 5F 54 45 58 54 00 00 00 00 00 00 00 00 00 00)
210 MACHO-PPC-NEXT: Address: 0x0
211 MACHO-PPC-NEXT: Size: 0x3C
212 MACHO-PPC-NEXT: Offset: 528
213 MACHO-PPC-NEXT: Alignment: 2
214 MACHO-PPC-NEXT: RelocationOffset: 0x27C
215 MACHO-PPC-NEXT: RelocationCount: 5
216 MACHO-PPC-NEXT: Type: Regular (0x0)
217 MACHO-PPC-NEXT: Attributes [ (0x800004)
218 MACHO-PPC-NEXT: PureInstructions (0x800000)
219 MACHO-PPC-NEXT: SomeInstructions (0x4)
221 MACHO-PPC-NEXT: Reserved1: 0x0
222 MACHO-PPC-NEXT: Reserved2: 0x0
224 MACHO-PPC-NEXT: Section {
225 MACHO-PPC-NEXT: Index: 1
226 MACHO-PPC-NEXT: Name: __picsymbolstub1 (5F 5F 70 69 63 73 79 6D 62 6F 6C 73 74 75 62 31)
227 MACHO-PPC-NEXT: Segment: __TEXT (5F 5F 54 45 58 54 00 00 00 00 00 00 00 00 00 00)
228 MACHO-PPC-NEXT: Address: 0x40
229 MACHO-PPC-NEXT: Size: 0x20
230 MACHO-PPC-NEXT: Offset: 592
231 MACHO-PPC-NEXT: Alignment: 5
232 MACHO-PPC-NEXT: RelocationOffset: 0x2A4
233 MACHO-PPC-NEXT: RelocationCount: 4
234 MACHO-PPC-NEXT: Type: SymbolStubs (0x8)
235 MACHO-PPC-NEXT: Attributes [ (0x800004)
236 MACHO-PPC-NEXT: PureInstructions (0x800000)
237 MACHO-PPC-NEXT: SomeInstructions (0x4)
239 MACHO-PPC-NEXT: Reserved1: 0x0
240 MACHO-PPC-NEXT: Reserved2: 0x20
242 MACHO-PPC-NEXT: Section {
243 MACHO-PPC-NEXT: Index: 2
244 MACHO-PPC-NEXT: Name: __data (5F 5F 64 61 74 61 00 00 00 00 00 00 00 00 00 00)
245 MACHO-PPC-NEXT: Segment: __DATA (5F 5F 44 41 54 41 00 00 00 00 00 00 00 00 00 00)
246 MACHO-PPC-NEXT: Address: 0x60
247 MACHO-PPC-NEXT: Size: 0x4
248 MACHO-PPC-NEXT: Offset: 624
249 MACHO-PPC-NEXT: Alignment: 2
250 MACHO-PPC-NEXT: RelocationOffset: 0x0
251 MACHO-PPC-NEXT: RelocationCount: 0
252 MACHO-PPC-NEXT: Type: Regular (0x0)
253 MACHO-PPC-NEXT: Attributes [ (0x0)
255 MACHO-PPC-NEXT: Reserved1: 0x0
256 MACHO-PPC-NEXT: Reserved2: 0x0
258 MACHO-PPC-NEXT: Section {
259 MACHO-PPC-NEXT: Index: 3
260 MACHO-PPC-NEXT: Name: __nl_symbol_ptr (5F 5F 6E 6C 5F 73 79 6D 62 6F 6C 5F 70 74 72 00)
261 MACHO-PPC-NEXT: Segment: __DATA (5F 5F 44 41 54 41 00 00 00 00 00 00 00 00 00 00)
262 MACHO-PPC-NEXT: Address: 0x64
263 MACHO-PPC-NEXT: Size: 0x4
264 MACHO-PPC-NEXT: Offset: 628
265 MACHO-PPC-NEXT: Alignment: 2
266 MACHO-PPC-NEXT: RelocationOffset: 0x0
267 MACHO-PPC-NEXT: RelocationCount: 0
268 MACHO-PPC-NEXT: Type: NonLazySymbolPointers (0x6)
269 MACHO-PPC-NEXT: Attributes [ (0x0)
271 MACHO-PPC-NEXT: Reserved1: 0x1
272 MACHO-PPC-NEXT: Reserved2: 0x0
274 MACHO-PPC-NEXT: Section {
275 MACHO-PPC-NEXT: Index: 4
276 MACHO-PPC-NEXT: Name: __la_symbol_ptr (5F 5F 6C 61 5F 73 79 6D 62 6F 6C 5F 70 74 72 00)
277 MACHO-PPC-NEXT: Segment: __DATA (5F 5F 44 41 54 41 00 00 00 00 00 00 00 00 00 00)
278 MACHO-PPC-NEXT: Address: 0x68
279 MACHO-PPC-NEXT: Size: 0x4
280 MACHO-PPC-NEXT: Offset: 632
281 MACHO-PPC-NEXT: Alignment: 2
282 MACHO-PPC-NEXT: RelocationOffset: 0x2C4
283 MACHO-PPC-NEXT: RelocationCount: 1
284 MACHO-PPC-NEXT: Type: LazySymbolPointers (0x7)
285 MACHO-PPC-NEXT: Attributes [ (0x0)
287 MACHO-PPC-NEXT: Reserved1: 0x2
288 MACHO-PPC-NEXT: Reserved2: 0x0
292 MACHO-PPC64: Sections [
293 MACHO-PPC64-NEXT: Section {
294 MACHO-PPC64-NEXT: Index: 0
295 MACHO-PPC64-NEXT: Name: __text (5F 5F 74 65 78 74 00 00 00 00 00 00 00 00 00 00)
296 MACHO-PPC64-NEXT: Segment: __TEXT (5F 5F 54 45 58 54 00 00 00 00 00 00 00 00 00 00)
297 MACHO-PPC64-NEXT: Address: 0x0
298 MACHO-PPC64-NEXT: Size: 0x3C
299 MACHO-PPC64-NEXT: Offset: 608
300 MACHO-PPC64-NEXT: Alignment: 2
301 MACHO-PPC64-NEXT: RelocationOffset: 0x2D4
302 MACHO-PPC64-NEXT: RelocationCount: 5
303 MACHO-PPC64-NEXT: Type: Regular (0x0)
304 MACHO-PPC64-NEXT: Attributes [ (0x800004)
305 MACHO-PPC64-NEXT: PureInstructions (0x800000)
306 MACHO-PPC64-NEXT: SomeInstructions (0x4)
308 MACHO-PPC64-NEXT: Reserved1: 0x0
309 MACHO-PPC64-NEXT: Reserved2: 0x0
310 MACHO-PPC64-NEXT: Reserved3: 0x0
312 MACHO-PPC64-NEXT: Section {
313 MACHO-PPC64-NEXT: Index: 1
314 MACHO-PPC64-NEXT: Name: __picsymbolstub1 (5F 5F 70 69 63 73 79 6D 62 6F 6C 73 74 75 62 31)
315 MACHO-PPC64-NEXT: Segment: __TEXT (5F 5F 54 45 58 54 00 00 00 00 00 00 00 00 00 00)
316 MACHO-PPC64-NEXT: Address: 0x40
317 MACHO-PPC64-NEXT: Size: 0x20
318 MACHO-PPC64-NEXT: Offset: 672
319 MACHO-PPC64-NEXT: Alignment: 5
320 MACHO-PPC64-NEXT: RelocationOffset: 0x2FC
321 MACHO-PPC64-NEXT: RelocationCount: 4
322 MACHO-PPC64-NEXT: Type: SymbolStubs (0x8)
323 MACHO-PPC64-NEXT: Attributes [ (0x800004)
324 MACHO-PPC64-NEXT: PureInstructions (0x800000)
325 MACHO-PPC64-NEXT: SomeInstructions (0x4)
327 MACHO-PPC64-NEXT: Reserved1: 0x0
328 MACHO-PPC64-NEXT: Reserved2: 0x20
329 MACHO-PPC64-NEXT: Reserved3: 0x0
331 MACHO-PPC64-NEXT: Section {
332 MACHO-PPC64-NEXT: Index: 2
333 MACHO-PPC64-NEXT: Name: __data (5F 5F 64 61 74 61 00 00 00 00 00 00 00 00 00 00)
334 MACHO-PPC64-NEXT: Segment: __DATA (5F 5F 44 41 54 41 00 00 00 00 00 00 00 00 00 00)
335 MACHO-PPC64-NEXT: Address: 0x60
336 MACHO-PPC64-NEXT: Size: 0x4
337 MACHO-PPC64-NEXT: Offset: 704
338 MACHO-PPC64-NEXT: Alignment: 2
339 MACHO-PPC64-NEXT: RelocationOffset: 0x0
340 MACHO-PPC64-NEXT: RelocationCount: 0
341 MACHO-PPC64-NEXT: Type: Regular (0x0)
342 MACHO-PPC64-NEXT: Attributes [ (0x0)
344 MACHO-PPC64-NEXT: Reserved1: 0x0
345 MACHO-PPC64-NEXT: Reserved2: 0x0
346 MACHO-PPC64-NEXT: Reserved3: 0x0
348 MACHO-PPC64-NEXT: Section {
349 MACHO-PPC64-NEXT: Index: 3
350 MACHO-PPC64-NEXT: Name: __nl_symbol_ptr (5F 5F 6E 6C 5F 73 79 6D 62 6F 6C 5F 70 74 72 00)
351 MACHO-PPC64-NEXT: Segment: __DATA (5F 5F 44 41 54 41 00 00 00 00 00 00 00 00 00 00)
352 MACHO-PPC64-NEXT: Address: 0x64
353 MACHO-PPC64-NEXT: Size: 0x8
354 MACHO-PPC64-NEXT: Offset: 708
355 MACHO-PPC64-NEXT: Alignment: 2
356 MACHO-PPC64-NEXT: RelocationOffset: 0x0
357 MACHO-PPC64-NEXT: RelocationCount: 0
358 MACHO-PPC64-NEXT: Type: NonLazySymbolPointers (0x6)
359 MACHO-PPC64-NEXT: Attributes [ (0x0)
361 MACHO-PPC64-NEXT: Reserved1: 0x1
362 MACHO-PPC64-NEXT: Reserved2: 0x0
363 MACHO-PPC64-NEXT: Reserved3: 0x0
365 MACHO-PPC64-NEXT: Section {
366 MACHO-PPC64-NEXT: Index: 4
367 MACHO-PPC64-NEXT: Name: __la_symbol_ptr (5F 5F 6C 61 5F 73 79 6D 62 6F 6C 5F 70 74 72 00)
368 MACHO-PPC64-NEXT: Segment: __DATA (5F 5F 44 41 54 41 00 00 00 00 00 00 00 00 00 00)
369 MACHO-PPC64-NEXT: Address: 0x6C
370 MACHO-PPC64-NEXT: Size: 0x8
371 MACHO-PPC64-NEXT: Offset: 716
372 MACHO-PPC64-NEXT: Alignment: 2
373 MACHO-PPC64-NEXT: RelocationOffset: 0x31C
374 MACHO-PPC64-NEXT: RelocationCount: 1
375 MACHO-PPC64-NEXT: Type: LazySymbolPointers (0x7)
376 MACHO-PPC64-NEXT: Attributes [ (0x0)
378 MACHO-PPC64-NEXT: Reserved1: 0x2
379 MACHO-PPC64-NEXT: Reserved2: 0x0
380 MACHO-PPC64-NEXT: Reserved3: 0x0
384 MACHO-ARM: Sections [
385 MACHO-ARM-NEXT: Section {
386 MACHO-ARM-NEXT: Index: 0
387 MACHO-ARM-NEXT: Name: __text (5F 5F 74 65 78 74 00 00 00 00 00 00 00 00 00 00)
388 MACHO-ARM-NEXT: Segment: __TEXT (5F 5F 54 45 58 54 00 00 00 00 00 00 00 00 00 00)
389 MACHO-ARM-NEXT: Address: 0x0
390 MACHO-ARM-NEXT: Size: 0x3C
391 MACHO-ARM-NEXT: Offset: 664
392 MACHO-ARM-NEXT: Alignment: 2
393 MACHO-ARM-NEXT: RelocationOffset: 0x2E0
394 MACHO-ARM-NEXT: RelocationCount: 9
395 MACHO-ARM-NEXT: Type: Regular (0x0)
396 MACHO-ARM-NEXT: Attributes [ (0x800004)
397 MACHO-ARM-NEXT: PureInstructions (0x800000)
398 MACHO-ARM-NEXT: SomeInstructions (0x4)
400 MACHO-ARM-NEXT: Reserved1: 0x0
401 MACHO-ARM-NEXT: Reserved2: 0x0
403 MACHO-ARM-NEXT: Section {
404 MACHO-ARM-NEXT: Index: 1
405 MACHO-ARM-NEXT: Name: __textcoal_nt (5F 5F 74 65 78 74 63 6F 61 6C 5F 6E 74 00 00 00)
406 MACHO-ARM-NEXT: Segment: __TEXT (5F 5F 54 45 58 54 00 00 00 00 00 00 00 00 00 00)
407 MACHO-ARM-NEXT: Address: 0x3C
408 MACHO-ARM-NEXT: Size: 0x0
409 MACHO-ARM-NEXT: Offset: 724
410 MACHO-ARM-NEXT: Alignment: 0
411 MACHO-ARM-NEXT: RelocationOffset: 0x0
412 MACHO-ARM-NEXT: RelocationCount: 0
413 MACHO-ARM-NEXT: Type: Coalesced (0xB)
414 MACHO-ARM-NEXT: Attributes [ (0x800000)
415 MACHO-ARM-NEXT: PureInstructions (0x800000)
417 MACHO-ARM-NEXT: Reserved1: 0x0
418 MACHO-ARM-NEXT: Reserved2: 0x0
420 MACHO-ARM-NEXT: Section {
421 MACHO-ARM-NEXT: Index: 2
422 MACHO-ARM-NEXT: Name: __const_coal (5F 5F 63 6F 6E 73 74 5F 63 6F 61 6C 00 00 00 00)
423 MACHO-ARM-NEXT: Segment: __TEXT (5F 5F 54 45 58 54 00 00 00 00 00 00 00 00 00 00)
424 MACHO-ARM-NEXT: Address: 0x3C
425 MACHO-ARM-NEXT: Size: 0x0
426 MACHO-ARM-NEXT: Offset: 724
427 MACHO-ARM-NEXT: Alignment: 0
428 MACHO-ARM-NEXT: RelocationOffset: 0x0
429 MACHO-ARM-NEXT: RelocationCount: 0
430 MACHO-ARM-NEXT: Type: Coalesced (0xB)
431 MACHO-ARM-NEXT: Attributes [ (0x0)
433 MACHO-ARM-NEXT: Reserved1: 0x0
434 MACHO-ARM-NEXT: Reserved2: 0x0
436 MACHO-ARM-NEXT: Section {
437 MACHO-ARM-NEXT: Index: 3
438 MACHO-ARM-NEXT: Name: __picsymbolstub4 (5F 5F 70 69 63 73 79 6D 62 6F 6C 73 74 75 62 34)
439 MACHO-ARM-NEXT: Segment: __TEXT (5F 5F 54 45 58 54 00 00 00 00 00 00 00 00 00 00)
440 MACHO-ARM-NEXT: Address: 0x3C
441 MACHO-ARM-NEXT: Size: 0x0
442 MACHO-ARM-NEXT: Offset: 724
443 MACHO-ARM-NEXT: Alignment: 0
444 MACHO-ARM-NEXT: RelocationOffset: 0x0
445 MACHO-ARM-NEXT: RelocationCount: 0
446 MACHO-ARM-NEXT: Type: SymbolStubs (0x8)
447 MACHO-ARM-NEXT: Attributes [ (0x0)
449 MACHO-ARM-NEXT: Reserved1: 0x0
450 MACHO-ARM-NEXT: Reserved2: 0x10
452 MACHO-ARM-NEXT: Section {
453 MACHO-ARM-NEXT: Index: 4
454 MACHO-ARM-NEXT: Name: __StaticInit (5F 5F 53 74 61 74 69 63 49 6E 69 74 00 00 00 00)
455 MACHO-ARM-NEXT: Segment: __TEXT (5F 5F 54 45 58 54 00 00 00 00 00 00 00 00 00 00)
456 MACHO-ARM-NEXT: Address: 0x3C
457 MACHO-ARM-NEXT: Size: 0x0
458 MACHO-ARM-NEXT: Offset: 724
459 MACHO-ARM-NEXT: Alignment: 0
460 MACHO-ARM-NEXT: RelocationOffset: 0x0
461 MACHO-ARM-NEXT: RelocationCount: 0
462 MACHO-ARM-NEXT: Type: Regular (0x0)
463 MACHO-ARM-NEXT: Attributes [ (0x800000)
464 MACHO-ARM-NEXT: PureInstructions (0x800000)
466 MACHO-ARM-NEXT: Reserved1: 0x0
467 MACHO-ARM-NEXT: Reserved2: 0x0
469 MACHO-ARM-NEXT: Section {
470 MACHO-ARM-NEXT: Index: 5
471 MACHO-ARM-NEXT: Name: __data (5F 5F 64 61 74 61 00 00 00 00 00 00 00 00 00 00)
472 MACHO-ARM-NEXT: Segment: __DATA (5F 5F 44 41 54 41 00 00 00 00 00 00 00 00 00 00)
473 MACHO-ARM-NEXT: Address: 0x3C
474 MACHO-ARM-NEXT: Size: 0x4
475 MACHO-ARM-NEXT: Offset: 724
476 MACHO-ARM-NEXT: Alignment: 2
477 MACHO-ARM-NEXT: RelocationOffset: 0x0
478 MACHO-ARM-NEXT: RelocationCount: 0
479 MACHO-ARM-NEXT: Type: Regular (0x0)
480 MACHO-ARM-NEXT: Attributes [ (0x0)
482 MACHO-ARM-NEXT: Reserved1: 0x0
483 MACHO-ARM-NEXT: Reserved2: 0x0
485 MACHO-ARM-NEXT: Section {
486 MACHO-ARM-NEXT: Index: 6
487 MACHO-ARM-NEXT: Name: __nl_symbol_ptr (5F 5F 6E 6C 5F 73 79 6D 62 6F 6C 5F 70 74 72 00)
488 MACHO-ARM-NEXT: Segment: __DATA (5F 5F 44 41 54 41 00 00 00 00 00 00 00 00 00 00)
489 MACHO-ARM-NEXT: Address: 0x40
490 MACHO-ARM-NEXT: Size: 0x8
491 MACHO-ARM-NEXT: Offset: 728
492 MACHO-ARM-NEXT: Alignment: 2
493 MACHO-ARM-NEXT: RelocationOffset: 0x0
494 MACHO-ARM-NEXT: RelocationCount: 0
495 MACHO-ARM-NEXT: Type: NonLazySymbolPointers (0x6)
496 MACHO-ARM-NEXT: Attributes [ (0x0)
498 MACHO-ARM-NEXT: Reserved1: 0x0
499 MACHO-ARM-NEXT: Reserved2: 0x0
505 WASM-NEXT: Type: TYPE (0x1)
510 WASM-NEXT: Type: IMPORT (0x2)
512 WASM-NEXT: Offset: 31
515 WASM-NEXT: Type: FUNCTION (0x3)
517 WASM-NEXT: Offset: 130
520 WASM-NEXT: Type: CODE (0xA)
522 WASM-NEXT: Offset: 139
525 WASM-NEXT: Type: DATA (0xB)
527 WASM-NEXT: Offset: 181
528 WASM-NEXT: Segments [
530 WASM-NEXT: Name: .rodata..L.str
537 WASM-NEXT: Type: CUSTOM (0x0)
539 WASM-NEXT: Offset: 206
540 WASM-NEXT: Name: linking
543 WASM-NEXT: Type: CUSTOM (0x0)
545 WASM-NEXT: Offset: 309
546 WASM-NEXT: Name: reloc.CODE