1 ## Check how we print sections.
3 ## Show that llvm-readobj prints MachO all section types properly.
4 # RUN: yaml2obj --docnum=1 %s -o %t1
5 # RUN: llvm-readobj --sections %t1 | FileCheck %s
7 # CHECK: Type: Regular (0x0)
8 # CHECK: Type: ZeroFill (0x1)
9 # CHECK: Type: CStringLiterals (0x2)
10 # CHECK: Type: 4ByteLiterals (0x3)
11 # CHECK: Type: 8ByteLiterals (0x4)
12 # CHECK: Type: LiteralPointers (0x5)
13 # CHECK: Type: NonLazySymbolPointers (0x6)
14 # CHECK: Type: LazySymbolPointers (0x7)
15 # CHECK: Type: SymbolStubs (0x8)
16 # CHECK: Type: ModInitFuncPointers (0x9)
17 # CHECK: Type: ModTermFuncPointers (0xA)
18 # CHECK: Type: Coalesced (0xB)
19 # CHECK: Type: GBZeroFill (0xC)
20 # CHECK: Type: Interposing (0xD)
21 # CHECK: Type: 16ByteLiterals (0xE)
22 # CHECK: Type: DTraceDOF (0xF)
23 # CHECK: Type: LazyDylibSymbolPointers (0x10)
24 # CHECK: Type: ThreadLocalRegular (0x11)
25 # CHECK: Type: ThreadLocalZerofill (0x12)
26 # CHECK: Type: ThreadLocalVariables (0x13)
27 # CHECK: Type: ThreadLocalVariablePointers (0x14)
28 # CHECK: Type: ThreadLocalInitFunctionPointers (0x15)
34 cpusubtype: 0x80000003
44 vmaddr: 0x0000000000001000
55 addr: 0x000000000000000
67 addr: 0x000000000000000
79 addr: 0x000000000000000
91 addr: 0x000000000000000
100 reserved3: 0x00000000
103 addr: 0x000000000000000
110 reserved1: 0x00000000
111 reserved2: 0x00000000
112 reserved3: 0x00000000
115 addr: 0x000000000000000
122 reserved1: 0x00000000
123 reserved2: 0x00000000
124 reserved3: 0x00000000
127 addr: 0x000000000000000
134 reserved1: 0x00000000
135 reserved2: 0x00000000
136 reserved3: 0x00000000
139 addr: 0x000000000000000
146 reserved1: 0x00000000
147 reserved2: 0x00000000
148 reserved3: 0x00000000
151 addr: 0x000000000000000
158 reserved1: 0x00000000
159 reserved2: 0x00000000
160 reserved3: 0x00000000
163 addr: 0x000000000000000
170 reserved1: 0x00000000
171 reserved2: 0x00000000
172 reserved3: 0x00000000
175 addr: 0x000000000000000
182 reserved1: 0x00000000
183 reserved2: 0x00000000
184 reserved3: 0x00000000
187 addr: 0x000000000000000
194 reserved1: 0x00000000
195 reserved2: 0x00000000
196 reserved3: 0x00000000
199 addr: 0x000000000000000
206 reserved1: 0x00000000
207 reserved2: 0x00000000
208 reserved3: 0x00000000
211 addr: 0x000000000000000
218 reserved1: 0x00000000
219 reserved2: 0x00000000
220 reserved3: 0x00000000
223 addr: 0x000000000000000
230 reserved1: 0x00000000
231 reserved2: 0x00000000
232 reserved3: 0x00000000
235 addr: 0x000000000000000
242 reserved1: 0x00000000
243 reserved2: 0x00000000
244 reserved3: 0x00000000
247 addr: 0x000000000000000
254 reserved1: 0x00000000
255 reserved2: 0x00000000
256 reserved3: 0x00000000
259 addr: 0x000000000000000
266 reserved1: 0x00000000
267 reserved2: 0x00000000
268 reserved3: 0x00000000
271 addr: 0x000000000000000
278 reserved1: 0x00000000
279 reserved2: 0x00000000
280 reserved3: 0x00000000
283 addr: 0x000000000000000
290 reserved1: 0x00000000
291 reserved2: 0x00000000
292 reserved3: 0x00000000
295 addr: 0x000000000000000
302 reserved1: 0x00000000
303 reserved2: 0x00000000
304 reserved3: 0x00000000
307 addr: 0x000000000000000
314 reserved1: 0x00000000
315 reserved2: 0x00000000
316 reserved3: 0x00000000
318 ## Check that we can print sections for other targets.
320 # RUN: llvm-readobj --sections %p/Inputs/trivial.obj.macho-i386 \
321 # RUN: | FileCheck %s --check-prefix MACHO-I386
322 # RUN: llvm-readobj --sections %p/Inputs/trivial.obj.macho-x86-64 \
323 # RUN: | FileCheck %s --check-prefix MACHO-X86-64
324 # RUN: llvm-readobj --sections %p/Inputs/trivial.obj.macho-ppc \
325 # RUN: | FileCheck %s --check-prefix MACHO-PPC
326 # RUN: llvm-readobj --sections %p/Inputs/trivial.obj.macho-ppc64 \
327 # RUN: | FileCheck %s --check-prefix MACHO-PPC64
328 # RUN: llvm-readobj --sections %p/Inputs/trivial.obj.macho-arm \
329 # RUN: | FileCheck %s --check-prefix MACHO-ARM
331 # MACHO-I386: Sections [
332 # MACHO-I386-NEXT: Section {
333 # MACHO-I386-NEXT: Index: 0
334 # MACHO-I386-NEXT: Name: __text (5F 5F 74 65 78 74 00 00 00 00 00 00 00 00 00 00)
335 # MACHO-I386-NEXT: Segment: __TEXT (5F 5F 54 45 58 54 00 00 00 00 00 00 00 00 00 00)
336 # MACHO-I386-NEXT: Address: 0x0
337 # MACHO-I386-NEXT: Size: 0x22
338 # MACHO-I386-NEXT: Offset: 324
339 # MACHO-I386-NEXT: Alignment: 4
340 # MACHO-I386-NEXT: RelocationOffset: 0x174
341 # MACHO-I386-NEXT: RelocationCount: 4
342 # MACHO-I386-NEXT: Type: Regular (0x0)
343 # MACHO-I386-NEXT: Attributes [ (0x800004)
344 # MACHO-I386-NEXT: PureInstructions (0x800000)
345 # MACHO-I386-NEXT: SomeInstructions (0x4)
347 # MACHO-I386-NEXT: Reserved1: 0x0
348 # MACHO-I386-NEXT: Reserved2: 0x0
350 # MACHO-I386-NEXT: Section {
351 # MACHO-I386-NEXT: Index: 1
352 # MACHO-I386-NEXT: Name: __cstring (5F 5F 63 73 74 72 69 6E 67 00 00 00 00 00 00 00)
353 # MACHO-I386-NEXT: Segment: __TEXT (5F 5F 54 45 58 54 00 00 00 00 00 00 00 00 00 00)
354 # MACHO-I386-NEXT: Address: 0x22
355 # MACHO-I386-NEXT: Size: 0xD
356 # MACHO-I386-NEXT: Offset: 358
357 # MACHO-I386-NEXT: Alignment: 0
358 # MACHO-I386-NEXT: RelocationOffset: 0x0
359 # MACHO-I386-NEXT: RelocationCount: 0
360 # MACHO-I386-NEXT: Type: CStringLiterals (0x2)
361 # MACHO-I386-NEXT: Attributes [ (0x0)
363 # MACHO-I386-NEXT: Reserved1: 0x0
364 # MACHO-I386-NEXT: Reserved2: 0x0
367 # MACHO-X86-64: Sections [
368 # MACHO-X86-64-NEXT: Section {
369 # MACHO-X86-64-NEXT: Index: 0
370 # MACHO-X86-64-NEXT: Name: __text (5F 5F 74 65 78 74 00 00 00 00 00 00 00 00 00 00)
371 # MACHO-X86-64-NEXT: Segment: __TEXT (5F 5F 54 45 58 54 00 00 00 00 00 00 00 00 00 00)
372 # MACHO-X86-64-NEXT: Address: 0x0
373 # MACHO-X86-64-NEXT: Size: 0x16
374 # MACHO-X86-64-NEXT: Offset: 368
375 # MACHO-X86-64-NEXT: Alignment: 4
376 # MACHO-X86-64-NEXT: RelocationOffset: 0x194
377 # MACHO-X86-64-NEXT: RelocationCount: 3
378 # MACHO-X86-64-NEXT: Type: Regular (0x0)
379 # MACHO-X86-64-NEXT: Attributes [ (0x800004)
380 # MACHO-X86-64-NEXT: PureInstructions (0x800000)
381 # MACHO-X86-64-NEXT: SomeInstructions (0x4)
382 # MACHO-X86-64-NEXT: ]
383 # MACHO-X86-64-NEXT: Reserved1: 0x0
384 # MACHO-X86-64-NEXT: Reserved2: 0x0
385 # MACHO-X86-64-NEXT: Reserved3: 0x0
386 # MACHO-X86-64-NEXT: }
387 # MACHO-X86-64-NEXT: Section {
388 # MACHO-X86-64-NEXT: Index: 1
389 # MACHO-X86-64-NEXT: Name: __cstring (5F 5F 63 73 74 72 69 6E 67 00 00 00 00 00 00 00)
390 # MACHO-X86-64-NEXT: Segment: __TEXT (5F 5F 54 45 58 54 00 00 00 00 00 00 00 00 00 00)
391 # MACHO-X86-64-NEXT: Address: 0x16
392 # MACHO-X86-64-NEXT: Size: 0xD
393 # MACHO-X86-64-NEXT: Offset: 390
394 # MACHO-X86-64-NEXT: Alignment: 0
395 # MACHO-X86-64-NEXT: RelocationOffset: 0x0
396 # MACHO-X86-64-NEXT: RelocationCount: 0
397 # MACHO-X86-64-NEXT: Type: CStringLiterals (0x2)
398 # MACHO-X86-64-NEXT: Attributes [ (0x0)
399 # MACHO-X86-64-NEXT: ]
400 # MACHO-X86-64-NEXT: Reserved1: 0x0
401 # MACHO-X86-64-NEXT: Reserved2: 0x0
402 # MACHO-X86-64-NEXT: Reserved3: 0x0
403 # MACHO-X86-64-NEXT: }
404 # MACHO-X86-64-NEXT:]
406 # MACHO-PPC: Sections [
407 # MACHO-PPC-NEXT: Section {
408 # MACHO-PPC-NEXT: Index: 0
409 # MACHO-PPC-NEXT: Name: __text (5F 5F 74 65 78 74 00 00 00 00 00 00 00 00 00 00)
410 # MACHO-PPC-NEXT: Segment: __TEXT (5F 5F 54 45 58 54 00 00 00 00 00 00 00 00 00 00)
411 # MACHO-PPC-NEXT: Address: 0x0
412 # MACHO-PPC-NEXT: Size: 0x3C
413 # MACHO-PPC-NEXT: Offset: 528
414 # MACHO-PPC-NEXT: Alignment: 2
415 # MACHO-PPC-NEXT: RelocationOffset: 0x27C
416 # MACHO-PPC-NEXT: RelocationCount: 5
417 # MACHO-PPC-NEXT: Type: Regular (0x0)
418 # MACHO-PPC-NEXT: Attributes [ (0x800004)
419 # MACHO-PPC-NEXT: PureInstructions (0x800000)
420 # MACHO-PPC-NEXT: SomeInstructions (0x4)
422 # MACHO-PPC-NEXT: Reserved1: 0x0
423 # MACHO-PPC-NEXT: Reserved2: 0x0
425 # MACHO-PPC-NEXT: Section {
426 # MACHO-PPC-NEXT: Index: 1
427 # MACHO-PPC-NEXT: Name: __picsymbolstub1 (5F 5F 70 69 63 73 79 6D 62 6F 6C 73 74 75 62 31)
428 # MACHO-PPC-NEXT: Segment: __TEXT (5F 5F 54 45 58 54 00 00 00 00 00 00 00 00 00 00)
429 # MACHO-PPC-NEXT: Address: 0x40
430 # MACHO-PPC-NEXT: Size: 0x20
431 # MACHO-PPC-NEXT: Offset: 592
432 # MACHO-PPC-NEXT: Alignment: 5
433 # MACHO-PPC-NEXT: RelocationOffset: 0x2A4
434 # MACHO-PPC-NEXT: RelocationCount: 4
435 # MACHO-PPC-NEXT: Type: SymbolStubs (0x8)
436 # MACHO-PPC-NEXT: Attributes [ (0x800004)
437 # MACHO-PPC-NEXT: PureInstructions (0x800000)
438 # MACHO-PPC-NEXT: SomeInstructions (0x4)
440 # MACHO-PPC-NEXT: Reserved1: 0x0
441 # MACHO-PPC-NEXT: Reserved2: 0x20
443 # MACHO-PPC-NEXT: Section {
444 # MACHO-PPC-NEXT: Index: 2
445 # MACHO-PPC-NEXT: Name: __data (5F 5F 64 61 74 61 00 00 00 00 00 00 00 00 00 00)
446 # MACHO-PPC-NEXT: Segment: __DATA (5F 5F 44 41 54 41 00 00 00 00 00 00 00 00 00 00)
447 # MACHO-PPC-NEXT: Address: 0x60
448 # MACHO-PPC-NEXT: Size: 0x4
449 # MACHO-PPC-NEXT: Offset: 624
450 # MACHO-PPC-NEXT: Alignment: 2
451 # MACHO-PPC-NEXT: RelocationOffset: 0x0
452 # MACHO-PPC-NEXT: RelocationCount: 0
453 # MACHO-PPC-NEXT: Type: Regular (0x0)
454 # MACHO-PPC-NEXT: Attributes [ (0x0)
456 # MACHO-PPC-NEXT: Reserved1: 0x0
457 # MACHO-PPC-NEXT: Reserved2: 0x0
459 # MACHO-PPC-NEXT: Section {
460 # MACHO-PPC-NEXT: Index: 3
461 # MACHO-PPC-NEXT: Name: __nl_symbol_ptr (5F 5F 6E 6C 5F 73 79 6D 62 6F 6C 5F 70 74 72 00)
462 # MACHO-PPC-NEXT: Segment: __DATA (5F 5F 44 41 54 41 00 00 00 00 00 00 00 00 00 00)
463 # MACHO-PPC-NEXT: Address: 0x64
464 # MACHO-PPC-NEXT: Size: 0x4
465 # MACHO-PPC-NEXT: Offset: 628
466 # MACHO-PPC-NEXT: Alignment: 2
467 # MACHO-PPC-NEXT: RelocationOffset: 0x0
468 # MACHO-PPC-NEXT: RelocationCount: 0
469 # MACHO-PPC-NEXT: Type: NonLazySymbolPointers (0x6)
470 # MACHO-PPC-NEXT: Attributes [ (0x0)
472 # MACHO-PPC-NEXT: Reserved1: 0x1
473 # MACHO-PPC-NEXT: Reserved2: 0x0
475 # MACHO-PPC-NEXT: Section {
476 # MACHO-PPC-NEXT: Index: 4
477 # MACHO-PPC-NEXT: Name: __la_symbol_ptr (5F 5F 6C 61 5F 73 79 6D 62 6F 6C 5F 70 74 72 00)
478 # MACHO-PPC-NEXT: Segment: __DATA (5F 5F 44 41 54 41 00 00 00 00 00 00 00 00 00 00)
479 # MACHO-PPC-NEXT: Address: 0x68
480 # MACHO-PPC-NEXT: Size: 0x4
481 # MACHO-PPC-NEXT: Offset: 632
482 # MACHO-PPC-NEXT: Alignment: 2
483 # MACHO-PPC-NEXT: RelocationOffset: 0x2C4
484 # MACHO-PPC-NEXT: RelocationCount: 1
485 # MACHO-PPC-NEXT: Type: LazySymbolPointers (0x7)
486 # MACHO-PPC-NEXT: Attributes [ (0x0)
488 # MACHO-PPC-NEXT: Reserved1: 0x2
489 # MACHO-PPC-NEXT: Reserved2: 0x0
493 # MACHO-PPC64: Sections [
494 # MACHO-PPC64-NEXT: Section {
495 # MACHO-PPC64-NEXT: Index: 0
496 # MACHO-PPC64-NEXT: Name: __text (5F 5F 74 65 78 74 00 00 00 00 00 00 00 00 00 00)
497 # MACHO-PPC64-NEXT: Segment: __TEXT (5F 5F 54 45 58 54 00 00 00 00 00 00 00 00 00 00)
498 # MACHO-PPC64-NEXT: Address: 0x0
499 # MACHO-PPC64-NEXT: Size: 0x3C
500 # MACHO-PPC64-NEXT: Offset: 608
501 # MACHO-PPC64-NEXT: Alignment: 2
502 # MACHO-PPC64-NEXT: RelocationOffset: 0x2D4
503 # MACHO-PPC64-NEXT: RelocationCount: 5
504 # MACHO-PPC64-NEXT: Type: Regular (0x0)
505 # MACHO-PPC64-NEXT: Attributes [ (0x800004)
506 # MACHO-PPC64-NEXT: PureInstructions (0x800000)
507 # MACHO-PPC64-NEXT: SomeInstructions (0x4)
508 # MACHO-PPC64-NEXT: ]
509 # MACHO-PPC64-NEXT: Reserved1: 0x0
510 # MACHO-PPC64-NEXT: Reserved2: 0x0
511 # MACHO-PPC64-NEXT: Reserved3: 0x0
512 # MACHO-PPC64-NEXT: }
513 # MACHO-PPC64-NEXT: Section {
514 # MACHO-PPC64-NEXT: Index: 1
515 # MACHO-PPC64-NEXT: Name: __picsymbolstub1 (5F 5F 70 69 63 73 79 6D 62 6F 6C 73 74 75 62 31)
516 # MACHO-PPC64-NEXT: Segment: __TEXT (5F 5F 54 45 58 54 00 00 00 00 00 00 00 00 00 00)
517 # MACHO-PPC64-NEXT: Address: 0x40
518 # MACHO-PPC64-NEXT: Size: 0x20
519 # MACHO-PPC64-NEXT: Offset: 672
520 # MACHO-PPC64-NEXT: Alignment: 5
521 # MACHO-PPC64-NEXT: RelocationOffset: 0x2FC
522 # MACHO-PPC64-NEXT: RelocationCount: 4
523 # MACHO-PPC64-NEXT: Type: SymbolStubs (0x8)
524 # MACHO-PPC64-NEXT: Attributes [ (0x800004)
525 # MACHO-PPC64-NEXT: PureInstructions (0x800000)
526 # MACHO-PPC64-NEXT: SomeInstructions (0x4)
527 # MACHO-PPC64-NEXT: ]
528 # MACHO-PPC64-NEXT: Reserved1: 0x0
529 # MACHO-PPC64-NEXT: Reserved2: 0x20
530 # MACHO-PPC64-NEXT: Reserved3: 0x0
531 # MACHO-PPC64-NEXT: }
532 # MACHO-PPC64-NEXT: Section {
533 # MACHO-PPC64-NEXT: Index: 2
534 # MACHO-PPC64-NEXT: Name: __data (5F 5F 64 61 74 61 00 00 00 00 00 00 00 00 00 00)
535 # MACHO-PPC64-NEXT: Segment: __DATA (5F 5F 44 41 54 41 00 00 00 00 00 00 00 00 00 00)
536 # MACHO-PPC64-NEXT: Address: 0x60
537 # MACHO-PPC64-NEXT: Size: 0x4
538 # MACHO-PPC64-NEXT: Offset: 704
539 # MACHO-PPC64-NEXT: Alignment: 2
540 # MACHO-PPC64-NEXT: RelocationOffset: 0x0
541 # MACHO-PPC64-NEXT: RelocationCount: 0
542 # MACHO-PPC64-NEXT: Type: Regular (0x0)
543 # MACHO-PPC64-NEXT: Attributes [ (0x0)
544 # MACHO-PPC64-NEXT: ]
545 # MACHO-PPC64-NEXT: Reserved1: 0x0
546 # MACHO-PPC64-NEXT: Reserved2: 0x0
547 # MACHO-PPC64-NEXT: Reserved3: 0x0
548 # MACHO-PPC64-NEXT: }
549 # MACHO-PPC64-NEXT: Section {
550 # MACHO-PPC64-NEXT: Index: 3
551 # MACHO-PPC64-NEXT: Name: __nl_symbol_ptr (5F 5F 6E 6C 5F 73 79 6D 62 6F 6C 5F 70 74 72 00)
552 # MACHO-PPC64-NEXT: Segment: __DATA (5F 5F 44 41 54 41 00 00 00 00 00 00 00 00 00 00)
553 # MACHO-PPC64-NEXT: Address: 0x64
554 # MACHO-PPC64-NEXT: Size: 0x8
555 # MACHO-PPC64-NEXT: Offset: 708
556 # MACHO-PPC64-NEXT: Alignment: 2
557 # MACHO-PPC64-NEXT: RelocationOffset: 0x0
558 # MACHO-PPC64-NEXT: RelocationCount: 0
559 # MACHO-PPC64-NEXT: Type: NonLazySymbolPointers (0x6)
560 # MACHO-PPC64-NEXT: Attributes [ (0x0)
561 # MACHO-PPC64-NEXT: ]
562 # MACHO-PPC64-NEXT: Reserved1: 0x1
563 # MACHO-PPC64-NEXT: Reserved2: 0x0
564 # MACHO-PPC64-NEXT: Reserved3: 0x0
565 # MACHO-PPC64-NEXT: }
566 # MACHO-PPC64-NEXT: Section {
567 # MACHO-PPC64-NEXT: Index: 4
568 # MACHO-PPC64-NEXT: Name: __la_symbol_ptr (5F 5F 6C 61 5F 73 79 6D 62 6F 6C 5F 70 74 72 00)
569 # MACHO-PPC64-NEXT: Segment: __DATA (5F 5F 44 41 54 41 00 00 00 00 00 00 00 00 00 00)
570 # MACHO-PPC64-NEXT: Address: 0x6C
571 # MACHO-PPC64-NEXT: Size: 0x8
572 # MACHO-PPC64-NEXT: Offset: 716
573 # MACHO-PPC64-NEXT: Alignment: 2
574 # MACHO-PPC64-NEXT: RelocationOffset: 0x31C
575 # MACHO-PPC64-NEXT: RelocationCount: 1
576 # MACHO-PPC64-NEXT: Type: LazySymbolPointers (0x7)
577 # MACHO-PPC64-NEXT: Attributes [ (0x0)
578 # MACHO-PPC64-NEXT: ]
579 # MACHO-PPC64-NEXT: Reserved1: 0x2
580 # MACHO-PPC64-NEXT: Reserved2: 0x0
581 # MACHO-PPC64-NEXT: Reserved3: 0x0
582 # MACHO-PPC64-NEXT: }
583 # MACHO-PPC64-NEXT: ]
585 # MACHO-ARM: Sections [
586 # MACHO-ARM-NEXT: Section {
587 # MACHO-ARM-NEXT: Index: 0
588 # MACHO-ARM-NEXT: Name: __text (5F 5F 74 65 78 74 00 00 00 00 00 00 00 00 00 00)
589 # MACHO-ARM-NEXT: Segment: __TEXT (5F 5F 54 45 58 54 00 00 00 00 00 00 00 00 00 00)
590 # MACHO-ARM-NEXT: Address: 0x0
591 # MACHO-ARM-NEXT: Size: 0x3C
592 # MACHO-ARM-NEXT: Offset: 664
593 # MACHO-ARM-NEXT: Alignment: 2
594 # MACHO-ARM-NEXT: RelocationOffset: 0x2E0
595 # MACHO-ARM-NEXT: RelocationCount: 9
596 # MACHO-ARM-NEXT: Type: Regular (0x0)
597 # MACHO-ARM-NEXT: Attributes [ (0x800004)
598 # MACHO-ARM-NEXT: PureInstructions (0x800000)
599 # MACHO-ARM-NEXT: SomeInstructions (0x4)
601 # MACHO-ARM-NEXT: Reserved1: 0x0
602 # MACHO-ARM-NEXT: Reserved2: 0x0
604 # MACHO-ARM-NEXT: Section {
605 # MACHO-ARM-NEXT: Index: 1
606 # MACHO-ARM-NEXT: Name: __textcoal_nt (5F 5F 74 65 78 74 63 6F 61 6C 5F 6E 74 00 00 00)
607 # MACHO-ARM-NEXT: Segment: __TEXT (5F 5F 54 45 58 54 00 00 00 00 00 00 00 00 00 00)
608 # MACHO-ARM-NEXT: Address: 0x3C
609 # MACHO-ARM-NEXT: Size: 0x0
610 # MACHO-ARM-NEXT: Offset: 724
611 # MACHO-ARM-NEXT: Alignment: 0
612 # MACHO-ARM-NEXT: RelocationOffset: 0x0
613 # MACHO-ARM-NEXT: RelocationCount: 0
614 # MACHO-ARM-NEXT: Type: Coalesced (0xB)
615 # MACHO-ARM-NEXT: Attributes [ (0x800000)
616 # MACHO-ARM-NEXT: PureInstructions (0x800000)
618 # MACHO-ARM-NEXT: Reserved1: 0x0
619 # MACHO-ARM-NEXT: Reserved2: 0x0
621 # MACHO-ARM-NEXT: Section {
622 # MACHO-ARM-NEXT: Index: 2
623 # MACHO-ARM-NEXT: Name: __const_coal (5F 5F 63 6F 6E 73 74 5F 63 6F 61 6C 00 00 00 00)
624 # MACHO-ARM-NEXT: Segment: __TEXT (5F 5F 54 45 58 54 00 00 00 00 00 00 00 00 00 00)
625 # MACHO-ARM-NEXT: Address: 0x3C
626 # MACHO-ARM-NEXT: Size: 0x0
627 # MACHO-ARM-NEXT: Offset: 724
628 # MACHO-ARM-NEXT: Alignment: 0
629 # MACHO-ARM-NEXT: RelocationOffset: 0x0
630 # MACHO-ARM-NEXT: RelocationCount: 0
631 # MACHO-ARM-NEXT: Type: Coalesced (0xB)
632 # MACHO-ARM-NEXT: Attributes [ (0x0)
634 # MACHO-ARM-NEXT: Reserved1: 0x0
635 # MACHO-ARM-NEXT: Reserved2: 0x0
637 # MACHO-ARM-NEXT: Section {
638 # MACHO-ARM-NEXT: Index: 3
639 # MACHO-ARM-NEXT: Name: __picsymbolstub4 (5F 5F 70 69 63 73 79 6D 62 6F 6C 73 74 75 62 34)
640 # MACHO-ARM-NEXT: Segment: __TEXT (5F 5F 54 45 58 54 00 00 00 00 00 00 00 00 00 00)
641 # MACHO-ARM-NEXT: Address: 0x3C
642 # MACHO-ARM-NEXT: Size: 0x0
643 # MACHO-ARM-NEXT: Offset: 724
644 # MACHO-ARM-NEXT: Alignment: 0
645 # MACHO-ARM-NEXT: RelocationOffset: 0x0
646 # MACHO-ARM-NEXT: RelocationCount: 0
647 # MACHO-ARM-NEXT: Type: SymbolStubs (0x8)
648 # MACHO-ARM-NEXT: Attributes [ (0x0)
650 # MACHO-ARM-NEXT: Reserved1: 0x0
651 # MACHO-ARM-NEXT: Reserved2: 0x10
653 # MACHO-ARM-NEXT: Section {
654 # MACHO-ARM-NEXT: Index: 4
655 # MACHO-ARM-NEXT: Name: __StaticInit (5F 5F 53 74 61 74 69 63 49 6E 69 74 00 00 00 00)
656 # MACHO-ARM-NEXT: Segment: __TEXT (5F 5F 54 45 58 54 00 00 00 00 00 00 00 00 00 00)
657 # MACHO-ARM-NEXT: Address: 0x3C
658 # MACHO-ARM-NEXT: Size: 0x0
659 # MACHO-ARM-NEXT: Offset: 724
660 # MACHO-ARM-NEXT: Alignment: 0
661 # MACHO-ARM-NEXT: RelocationOffset: 0x0
662 # MACHO-ARM-NEXT: RelocationCount: 0
663 # MACHO-ARM-NEXT: Type: Regular (0x0)
664 # MACHO-ARM-NEXT: Attributes [ (0x800000)
665 # MACHO-ARM-NEXT: PureInstructions (0x800000)
667 # MACHO-ARM-NEXT: Reserved1: 0x0
668 # MACHO-ARM-NEXT: Reserved2: 0x0
670 # MACHO-ARM-NEXT: Section {
671 # MACHO-ARM-NEXT: Index: 5
672 # MACHO-ARM-NEXT: Name: __data (5F 5F 64 61 74 61 00 00 00 00 00 00 00 00 00 00)
673 # MACHO-ARM-NEXT: Segment: __DATA (5F 5F 44 41 54 41 00 00 00 00 00 00 00 00 00 00)
674 # MACHO-ARM-NEXT: Address: 0x3C
675 # MACHO-ARM-NEXT: Size: 0x4
676 # MACHO-ARM-NEXT: Offset: 724
677 # MACHO-ARM-NEXT: Alignment: 2
678 # MACHO-ARM-NEXT: RelocationOffset: 0x0
679 # MACHO-ARM-NEXT: RelocationCount: 0
680 # MACHO-ARM-NEXT: Type: Regular (0x0)
681 # MACHO-ARM-NEXT: Attributes [ (0x0)
683 # MACHO-ARM-NEXT: Reserved1: 0x0
684 # MACHO-ARM-NEXT: Reserved2: 0x0
686 # MACHO-ARM-NEXT: Section {
687 # MACHO-ARM-NEXT: Index: 6
688 # MACHO-ARM-NEXT: Name: __nl_symbol_ptr (5F 5F 6E 6C 5F 73 79 6D 62 6F 6C 5F 70 74 72 00)
689 # MACHO-ARM-NEXT: Segment: __DATA (5F 5F 44 41 54 41 00 00 00 00 00 00 00 00 00 00)
690 # MACHO-ARM-NEXT: Address: 0x40
691 # MACHO-ARM-NEXT: Size: 0x8
692 # MACHO-ARM-NEXT: Offset: 728
693 # MACHO-ARM-NEXT: Alignment: 2
694 # MACHO-ARM-NEXT: RelocationOffset: 0x0
695 # MACHO-ARM-NEXT: RelocationCount: 0
696 # MACHO-ARM-NEXT: Type: NonLazySymbolPointers (0x6)
697 # MACHO-ARM-NEXT: Attributes [ (0x0)
699 # MACHO-ARM-NEXT: Reserved1: 0x0
700 # MACHO-ARM-NEXT: Reserved2: 0x0