llvm.org GIT mirror llvm / 785cf2e test / tools / llvm-readobj / sections-ext.test
785cf2e

Tree @785cf2e (Download .tar.gz)

sections-ext.test @785cf2eraw · history · blame

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
RUN: llvm-readobj -S --st --sr --sd %p/Inputs/trivial.obj.coff-i386 \
RUN:   | FileCheck %s -check-prefix COFF
RUN: llvm-readobj -S --st --sr --sd %p/Inputs/trivial.obj.elf-i386 \
RUN:   | FileCheck %s -check-prefix ELF
RUN: llvm-readobj -S --st --sr --sd %p/Inputs/trivial.obj.macho-i386 \
RUN:   | FileCheck %s -check-prefix MACHO-I386
RUN: llvm-readobj -S --st --sr --sd %p/Inputs/trivial.obj.macho-x86-64 \
RUN:   | FileCheck %s -check-prefix MACHO-X86-64
RUN: llvm-readobj --expand-relocs -S --st --sr --sd %p/Inputs/trivial.obj.macho-ppc \
RUN:   | FileCheck %s -check-prefix MACHO-PPC
RUN: llvm-readobj --expand-relocs -S --st --sr --sd %p/Inputs/trivial.obj.macho-ppc64 \
RUN:   | FileCheck %s -check-prefix MACHO-PPC64
RUN: llvm-readobj --expand-relocs -S --st --sr --sd %p/Inputs/trivial.obj.macho-arm \
RUN:   | FileCheck %s -check-prefix MACHO-ARM

# Check the two-letter aliases above (-st, -sr, -sd) are equivalent to their
# full flag names.
RUN: llvm-readobj -S --st %p/Inputs/trivial.obj.elf-i386 > %t.readobj-st-alias
RUN: llvm-readobj -S --section-symbols %p/Inputs/trivial.obj.elf-i386 > %t.readobj-st-no-alias
RUN: diff %t.readobj-st-alias %t.readobj-st-no-alias

RUN: llvm-readobj -S --sr %p/Inputs/trivial.obj.elf-i386 > %t.readobj-sr-alias
RUN: llvm-readobj -S --section-relocations %p/Inputs/trivial.obj.elf-i386 > %t.readobj-sr-no-alias
RUN: diff %t.readobj-sr-alias %t.readobj-sr-no-alias

RUN: llvm-readobj -S --sd %p/Inputs/trivial.obj.elf-i386 > %t.readobj-sd-alias
RUN: llvm-readobj -S --section-data %p/Inputs/trivial.obj.elf-i386 > %t.readobj-sd-no-alias
RUN: diff %t.readobj-sd-alias %t.readobj-sd-no-alias

COFF:      Sections [
COFF-NEXT:   Section {
COFF-NEXT:     Number: 1
COFF-NEXT:     Name: .text (2E 74 65 78 74 00 00 00)
COFF-NEXT:     VirtualSize: 0x0
COFF-NEXT:     VirtualAddress: 0x0
COFF-NEXT:     RawDataSize: 22
COFF-NEXT:     PointerToRawData: 0x64
COFF-NEXT:     PointerToRelocations: 0x7A
COFF-NEXT:     PointerToLineNumbers: 0x0
COFF-NEXT:     RelocationCount: 3
COFF-NEXT:     LineNumberCount: 0
COFF-NEXT:     Characteristics [ (0x60500020)
COFF-NEXT:       IMAGE_SCN_ALIGN_16BYTES (0x500000)
COFF-NEXT:       IMAGE_SCN_CNT_CODE (0x20)
COFF-NEXT:       IMAGE_SCN_MEM_EXECUTE (0x20000000)
COFF-NEXT:       IMAGE_SCN_MEM_READ (0x40000000)
COFF-NEXT:     ]
COFF-NEXT:     Relocations [
COFF-NEXT:       0x4 IMAGE_REL_I386_DIR32 .data
COFF-NEXT:       0x9 IMAGE_REL_I386_REL32 _puts
COFF-NEXT:       0xE IMAGE_REL_I386_REL32 _SomeOtherFunction
COFF-NEXT:     ]
COFF-NEXT:     Symbols [
COFF-NEXT:       Symbol {
COFF-NEXT:         Name: .text
COFF-NEXT:         Value: 0
COFF-NEXT:         Section: .text (1)
COFF-NEXT:         BaseType: Null (0x0)
COFF-NEXT:         ComplexType: Null (0x0)
COFF-NEXT:         StorageClass: Static (0x3)
COFF-NEXT:         AuxSymbolCount: 1
COFF-NEXT:         AuxSectionDef {
COFF-NEXT:           Length: 22
COFF-NEXT:           RelocationCount: 3
COFF-NEXT:           LineNumberCount: 0
COFF-NEXT:           Checksum: 0x0
COFF-NEXT:           Number: 1
COFF-NEXT:           Selection: 0x0
COFF-NEXT:         }
COFF-NEXT:       }
COFF-NEXT:       Symbol {
COFF-NEXT:         Name: _main
COFF-NEXT:         Value: 0
COFF-NEXT:         Section: .text (1)
COFF-NEXT:         BaseType: Null (0x0)
COFF-NEXT:         ComplexType: Function (0x2)
COFF-NEXT:         StorageClass: External (0x2)
COFF-NEXT:         AuxSymbolCount: 0
COFF-NEXT:       }
COFF-NEXT:     ]
COFF-NEXT:     SectionData (
COFF-NEXT:       0000: 50C70424 00000000 E8000000 00E80000  |P..$............|
COFF-NEXT:       0010: 000031C0 5AC3                        |..1.Z.|
COFF-NEXT:     )
COFF-NEXT:   }

ELF:      Sections [
ELF-NEXT:   Section {
ELF-NEXT:     Index: 0
ELF-NEXT:     Name:  (0)
ELF-NEXT:     Type: SHT_NULL (0x0)
ELF-NEXT:     Flags [ (0x0)
ELF-NEXT:     ]
ELF-NEXT:     Address: 0x0
ELF-NEXT:     Offset: 0x0
ELF-NEXT:     Size: 0
ELF-NEXT:     Link: 0
ELF-NEXT:     Info: 0
ELF-NEXT:     AddressAlignment: 0
ELF-NEXT:     EntrySize: 0
ELF-NEXT:     Relocations [
ELF-NEXT:     ]
ELF-NEXT:     Symbols [
ELF-NEXT:     ]
ELF-NEXT:     SectionData (
ELF-NEXT:     )
ELF-NEXT:   }
ELF-NEXT:   Section {
ELF-NEXT:     Index: 1
ELF-NEXT:     Name: .text (5)
ELF-NEXT:     Type: SHT_PROGBITS (0x1)
ELF-NEXT:     Flags [ (0x6)
ELF-NEXT:       SHF_ALLOC (0x2)
ELF-NEXT:       SHF_EXECINSTR (0x4)
ELF-NEXT:     ]
ELF-NEXT:     Address: 0x0
ELF-NEXT:     Offset: 0x40
ELF-NEXT:     Size: 42
ELF-NEXT:     Link: 0
ELF-NEXT:     Info: 0
ELF-NEXT:     AddressAlignment: 16
ELF-NEXT:     EntrySize: 0
ELF-NEXT:     Relocations [
ELF-NEXT:     ]
ELF-NEXT:     Symbols [
ELF-NEXT:       Symbol {
ELF-NEXT:         Name: .text (0)
ELF-NEXT:         Value: 0x0
ELF-NEXT:         Size: 0
ELF-NEXT:         Binding: Local (0x0)
ELF-NEXT:         Type: Section (0x3)
ELF-NEXT:         Other: 0
ELF-NEXT:         Section: .text (0x1)
ELF-NEXT:       }
ELF-NEXT:       Symbol {
ELF-NEXT:         Name: main (12)
ELF-NEXT:         Value: 0x0
ELF-NEXT:         Size: 42
ELF-NEXT:         Binding: Global (0x1)
ELF-NEXT:         Type: Function (0x2)
ELF-NEXT:         Other: 0
ELF-NEXT:         Section: .text (0x1)
ELF-NEXT:       }
ELF-NEXT:     ]
ELF-NEXT:     SectionData (
ELF-NEXT:       0000: 5383EC08 E8000000 005B81C3 03000000  |S........[......|
ELF-NEXT:       0010: 8D830000 00008904 24E8FCFF FFFFE8FC  |........$.......|
ELF-NEXT:       0020: FFFFFF31 C083C408 5BC3               |...1....[.|
ELF-NEXT:     )
ELF-NEXT:   }
ELF-NEXT:   Section {
ELF-NEXT:     Index: 2
ELF-NEXT:     Name: .rel.text (1)
ELF-NEXT:     Type: SHT_REL (0x9)
ELF-NEXT:     Flags [ (0x0)
ELF-NEXT:     ]
ELF-NEXT:     Address: 0x0
ELF-NEXT:     Offset: 0x360
ELF-NEXT:     Size: 32
ELF-NEXT:     Link: 8
ELF-NEXT:     Info: 1
ELF-NEXT:     AddressAlignment: 4
ELF-NEXT:     EntrySize: 8
ELF-NEXT:     Relocations [
ELF-NEXT:       0xC R_386_GOTPC _GLOBAL_OFFSET_TABLE_ 0x0
ELF-NEXT:       0x12 R_386_GOTOFF .L.str 0x0
ELF-NEXT:       0x1A R_386_PLT32 puts 0x0
ELF-NEXT:       0x1F R_386_PLT32 SomeOtherFunction 0x0
ELF-NEXT:     ]
ELF-NEXT:     Symbols [
ELF-NEXT:     ]
ELF-NEXT:     SectionData (
ELF-NEXT:       0000: 0C000000 0A0A0000 12000000 09020000  |................|
ELF-NEXT:       0010: 1A000000 040B0000 1F000000 04090000  |................|
ELF-NEXT:     )
ELF-NEXT:   }

MACHO-I386:      Sections [
MACHO-I386-NEXT:   Section {
MACHO-I386-NEXT:     Index: 0
MACHO-I386-NEXT:     Name: __text (5F 5F 74 65 78 74 00 00 00 00 00 00 00 00 00 00)
MACHO-I386-NEXT:     Segment: __TEXT (5F 5F 54 45 58 54 00 00 00 00 00 00 00 00 00 00)
MACHO-I386-NEXT:     Address: 0x0
MACHO-I386-NEXT:     Size: 0x22
MACHO-I386-NEXT:     Offset: 324
MACHO-I386-NEXT:     Alignment: 4
MACHO-I386-NEXT:     RelocationOffset: 0x174
MACHO-I386-NEXT:     RelocationCount: 4
MACHO-I386-NEXT:     Type: 0x0
MACHO-I386-NEXT:     Attributes [ (0x800004)
MACHO-I386-NEXT:       PureInstructions (0x800000)
MACHO-I386-NEXT:       SomeInstructions (0x4)
MACHO-I386-NEXT:     ]
MACHO-I386-NEXT:     Reserved1: 0x0
MACHO-I386-NEXT:     Reserved2: 0x0
MACHO-I386-NEXT:     Relocations [
MACHO-I386-NEXT:       0x18 1 2 1 GENERIC_RELOC_VANILLA 0 _SomeOtherFunction
MACHO-I386-NEXT:       0x13 1 2 1 GENERIC_RELOC_VANILLA 0 _puts
MACHO-I386-NEXT:       0xB 0 2 n/a GENERIC_RELOC_LOCAL_SECTDIFF 1 0x22
MACHO-I386-NEXT:       0x0 0 2 n/a GENERIC_RELOC_PAIR 1 0x8
MACHO-I386-NEXT:     ]
MACHO-I386-NEXT:     Symbols [
MACHO-I386-NEXT:       Symbol {
MACHO-I386-NEXT:         Name: _main (1)
MACHO-I386-NEXT:         Extern
MACHO-I386-NEXT:         Type: Section (0xE)
MACHO-I386-NEXT:         Section: __text (0x1)
MACHO-I386-NEXT:         RefType: UndefinedNonLazy (0x0)
MACHO-I386-NEXT:         Flags [ (0x0)
MACHO-I386-NEXT:         ]
MACHO-I386-NEXT:         Value: 0x0
MACHO-I386-NEXT:       }
MACHO-I386-NEXT:     ]
MACHO-I386-NEXT:     SectionData (
MACHO-I386-NEXT:       0000: 83EC0CE8 00000000 588D801A 00000089  |........X.......|
MACHO-I386-NEXT:       0010: 0424E8E9 FFFFFFE8 E4FFFFFF 31C083C4  |.$..........1...|
MACHO-I386-NEXT:       0020: 0CC3                                 |..|
MACHO-I386-NEXT:     )
MACHO-I386-NEXT:   }


MACHO-X86-64:     Sections [
MACHO-X86-64-NEXT:  Section {
MACHO-X86-64-NEXT:    Index: 0
MACHO-X86-64-NEXT:    Name: __text (5F 5F 74 65 78 74 00 00 00 00 00 00 00 00 00 00)
MACHO-X86-64-NEXT:    Segment: __TEXT (5F 5F 54 45 58 54 00 00 00 00 00 00 00 00 00 00)
MACHO-X86-64-NEXT:    Address: 0x0
MACHO-X86-64-NEXT:    Size: 0x16
MACHO-X86-64-NEXT:    Offset: 368
MACHO-X86-64-NEXT:    Alignment: 4
MACHO-X86-64-NEXT:    RelocationOffset: 0x194
MACHO-X86-64-NEXT:    RelocationCount: 3
MACHO-X86-64-NEXT:    Type: 0x0
MACHO-X86-64-NEXT:    Attributes [ (0x800004)
MACHO-X86-64-NEXT:      PureInstructions (0x800000)
MACHO-X86-64-NEXT:      SomeInstructions (0x4)
MACHO-X86-64-NEXT:    ]
MACHO-X86-64-NEXT:    Reserved1: 0x0
MACHO-X86-64-NEXT:    Reserved2: 0x0
MACHO-X86-64-NEXT:    Reserved3: 0x0
MACHO-X86-64-NEXT:    Relocations [
MACHO-X86-64-NEXT:      0xE 1 2 1 X86_64_RELOC_BRANCH 0 _SomeOtherFunction
MACHO-X86-64-NEXT:      0x9 1 2 1 X86_64_RELOC_BRANCH 0 _puts
MACHO-X86-64-NEXT:      0x4 1 2 1 X86_64_RELOC_SIGNED 0 L_.str
MACHO-X86-64-NEXT:    ]
MACHO-X86-64-NEXT:    Symbols [
MACHO-X86-64-NEXT:      Symbol {
MACHO-X86-64-NEXT:        Name: _main (1)
MACHO-X86-64-NEXT:        Extern
MACHO-X86-64-NEXT:        Type: Section (0xE)
MACHO-X86-64-NEXT:        Section: __text (0x1)
MACHO-X86-64-NEXT:        RefType: UndefinedNonLazy (0x0)
MACHO-X86-64-NEXT:        Flags [ (0x0)
MACHO-X86-64-NEXT:        ]
MACHO-X86-64-NEXT:        Value: 0x0
MACHO-X86-64-NEXT:      }
MACHO-X86-64-NEXT:    ]
MACHO-X86-64-NEXT:    SectionData (
MACHO-X86-64-NEXT:      0000: 50488D3D 00000000 E8000000 00E80000  |PH.=............|
MACHO-X86-64-NEXT:      0010: 000031C0 5AC3                        |..1.Z.|
MACHO-X86-64-NEXT:    )
MACHO-X86-64-NEXT:  }
MACHO-X86-64-NEXT:  Section {
MACHO-X86-64-NEXT:    Index: 1
MACHO-X86-64-NEXT:    Name: __cstring (5F 5F 63 73 74 72 69 6E 67 00 00 00 00 00 00 00)
MACHO-X86-64-NEXT:    Segment: __TEXT (5F 5F 54 45 58 54 00 00 00 00 00 00 00 00 00 00)
MACHO-X86-64-NEXT:    Address: 0x16
MACHO-X86-64-NEXT:    Size: 0xD
MACHO-X86-64-NEXT:    Offset: 390
MACHO-X86-64-NEXT:    Alignment: 0
MACHO-X86-64-NEXT:    RelocationOffset: 0x0
MACHO-X86-64-NEXT:    RelocationCount: 0
MACHO-X86-64-NEXT:    Type: ExtReloc (0x2)
MACHO-X86-64-NEXT:    Attributes [ (0x0)
MACHO-X86-64-NEXT:    ]
MACHO-X86-64-NEXT:    Reserved1: 0x0
MACHO-X86-64-NEXT:    Reserved2: 0x0
MACHO-X86-64-NEXT:    Reserved3: 0x0
MACHO-X86-64-NEXT:    Relocations [
MACHO-X86-64-NEXT:    ]
MACHO-X86-64-NEXT:    Symbols [
MACHO-X86-64-NEXT:      Symbol {
MACHO-X86-64-NEXT:        Name: L_.str (32)
MACHO-X86-64-NEXT:        Type: Section (0xE)
MACHO-X86-64-NEXT:        Section: __cstring (0x2)
MACHO-X86-64-NEXT:        RefType: UndefinedNonLazy (0x0)
MACHO-X86-64-NEXT:        Flags [ (0x0)
MACHO-X86-64-NEXT:        ]
MACHO-X86-64-NEXT:        Value: 0x16
MACHO-X86-64-NEXT:      }
MACHO-X86-64-NEXT:    ]
MACHO-X86-64-NEXT:    SectionData (
MACHO-X86-64-NEXT:      0000: 48656C6C 6F20576F 726C640A 00        |Hello World..|
MACHO-X86-64-NEXT:    )
MACHO-X86-64-NEXT:  }
MACHO-X86-64-NEXT:]

MACHO-PPC: Sections [
MACHO-PPC-NEXT:   Section {
MACHO-PPC-NEXT:     Index: 0
MACHO-PPC-NEXT:     Name: __text (5F 5F 74 65 78 74 00 00 00 00 00 00 00 00 00 00)
MACHO-PPC-NEXT:     Segment: __TEXT (5F 5F 54 45 58 54 00 00 00 00 00 00 00 00 00 00)
MACHO-PPC-NEXT:     Address: 0x0
MACHO-PPC-NEXT:     Size: 0x3C
MACHO-PPC-NEXT:     Offset: 528
MACHO-PPC-NEXT:     Alignment: 2
MACHO-PPC-NEXT:     RelocationOffset: 0x27C
MACHO-PPC-NEXT:     RelocationCount: 5
MACHO-PPC-NEXT:     Type: 0x0
MACHO-PPC-NEXT:     Attributes [ (0x800004)
MACHO-PPC-NEXT:       PureInstructions (0x800000)
MACHO-PPC-NEXT:       SomeInstructions (0x4)
MACHO-PPC-NEXT:     ]
MACHO-PPC-NEXT:     Reserved1: 0x0
MACHO-PPC-NEXT:     Reserved2: 0x0
MACHO-PPC-NEXT:     Relocations [
MACHO-PPC-NEXT:       Relocation {
MACHO-PPC-NEXT:         Offset: 0x24
MACHO-PPC-NEXT:         PCRel: 0
MACHO-PPC-NEXT:         Length: 2
MACHO-PPC-NEXT:         Type: PPC_RELOC_LO16_SECTDIFF (11)
MACHO-PPC-NEXT:         Value: 0x64
MACHO-PPC-NEXT:       }
MACHO-PPC-NEXT:       Relocation {
MACHO-PPC-NEXT:         Offset: 0x0
MACHO-PPC-NEXT:         PCRel: 0
MACHO-PPC-NEXT:         Length: 2
MACHO-PPC-NEXT:         Type: PPC_RELOC_PAIR (1)
MACHO-PPC-NEXT:         Value: 0xC
MACHO-PPC-NEXT:       }
MACHO-PPC-NEXT:       Relocation {
MACHO-PPC-NEXT:         Offset: 0x1C
MACHO-PPC-NEXT:         PCRel: 0
MACHO-PPC-NEXT:         Length: 2
MACHO-PPC-NEXT:         Type: PPC_RELOC_HA16_SECTDIFF (12)
MACHO-PPC-NEXT:         Value: 0x64
MACHO-PPC-NEXT:       }
MACHO-PPC-NEXT:       Relocation {
MACHO-PPC-NEXT:         Offset: 0x58
MACHO-PPC-NEXT:         PCRel: 0
MACHO-PPC-NEXT:         Length: 2
MACHO-PPC-NEXT:         Type: PPC_RELOC_PAIR (1)
MACHO-PPC-NEXT:         Value: 0xC
MACHO-PPC-NEXT:       }
MACHO-PPC-NEXT:       Relocation {
MACHO-PPC-NEXT:         Offset: 0x18
MACHO-PPC-NEXT:         PCRel: 1
MACHO-PPC-NEXT:         Length: 2
MACHO-PPC-NEXT:         Type: PPC_RELOC_BR24 (3)
MACHO-PPC-NEXT:         Section: __picsymbolstub1 (2)
MACHO-PPC-NEXT:       }
MACHO-PPC-NEXT:     ]
MACHO-PPC-NEXT:     Symbols [
MACHO-PPC-NEXT:       Symbol {
MACHO-PPC-NEXT:         Name: _f (4)
MACHO-PPC-NEXT:         Extern
MACHO-PPC-NEXT:         Type: Section (0xE)
MACHO-PPC-NEXT:         Section: __text (0x1)
MACHO-PPC-NEXT:         RefType: UndefinedNonLazy (0x0)
MACHO-PPC-NEXT:         Flags [ (0x0)
MACHO-PPC-NEXT:         ]
MACHO-PPC-NEXT:         Value: 0x0
MACHO-PPC-NEXT:       }
MACHO-PPC-NEXT:     ]
MACHO-PPC-NEXT:     SectionData (
MACHO-PPC-NEXT:       0000: 7C0802A6 93E1FFFC 429F0005 7FE802A6  ||.......B.......|
MACHO-PPC-NEXT:       0010: 90010008 9421FFB0 48000029 3C5F0000  |.....!..H..)<_..|
MACHO-PPC-NEXT:       0020: 38210050 80420058 80010008 83E1FFFC  |8!.P.B.X........|
MACHO-PPC-NEXT:       0030: 7C0803A6 80620000 4E800020           ||....b..N.. |
MACHO-PPC-NEXT:     )
MACHO-PPC-NEXT:   }
MACHO-PPC-NEXT:   Section {
MACHO-PPC-NEXT:     Index: 1
MACHO-PPC-NEXT:     Name: __picsymbolstub1 (5F 5F 70 69 63 73 79 6D 62 6F 6C 73 74 75 62 31)
MACHO-PPC-NEXT:     Segment: __TEXT (5F 5F 54 45 58 54 00 00 00 00 00 00 00 00 00 00)
MACHO-PPC-NEXT:     Address: 0x40
MACHO-PPC-NEXT:     Size: 0x20
MACHO-PPC-NEXT:     Offset: 592
MACHO-PPC-NEXT:     Alignment: 5
MACHO-PPC-NEXT:     RelocationOffset: 0x2A4
MACHO-PPC-NEXT:     RelocationCount: 4
MACHO-PPC-NEXT:     Type: 0x8
MACHO-PPC-NEXT:     Attributes [ (0x800004)
MACHO-PPC-NEXT:       PureInstructions (0x800000)
MACHO-PPC-NEXT:       SomeInstructions (0x4)
MACHO-PPC-NEXT:     ]
MACHO-PPC-NEXT:     Reserved1: 0x0
MACHO-PPC-NEXT:     Reserved2: 0x20
MACHO-PPC-NEXT:     Relocations [
MACHO-PPC-NEXT:       Relocation {
MACHO-PPC-NEXT:         Offset: 0x14
MACHO-PPC-NEXT:         PCRel: 0
MACHO-PPC-NEXT:         Length: 2
MACHO-PPC-NEXT:         Type: PPC_RELOC_LO16_SECTDIFF (11)
MACHO-PPC-NEXT:         Value: 0x68
MACHO-PPC-NEXT:       }
MACHO-PPC-NEXT:       Relocation {
MACHO-PPC-NEXT:         Offset: 0x0
MACHO-PPC-NEXT:         PCRel: 0
MACHO-PPC-NEXT:         Length: 2
MACHO-PPC-NEXT:         Type: PPC_RELOC_PAIR (1)
MACHO-PPC-NEXT:         Value: 0x48
MACHO-PPC-NEXT:       }
MACHO-PPC-NEXT:       Relocation {
MACHO-PPC-NEXT:         Offset: 0xC
MACHO-PPC-NEXT:         PCRel: 0
MACHO-PPC-NEXT:         Length: 2
MACHO-PPC-NEXT:         Type: PPC_RELOC_HA16_SECTDIFF (12)
MACHO-PPC-NEXT:         Value: 0x68
MACHO-PPC-NEXT:       }
MACHO-PPC-NEXT:       Relocation {
MACHO-PPC-NEXT:         Offset: 0x20
MACHO-PPC-NEXT:         PCRel: 0
MACHO-PPC-NEXT:         Length: 2
MACHO-PPC-NEXT:         Type: PPC_RELOC_PAIR (1)
MACHO-PPC-NEXT:         Value: 0x48
MACHO-PPC-NEXT:       }
MACHO-PPC-NEXT:     ]
MACHO-PPC-NEXT:     Symbols [
MACHO-PPC-NEXT:     ]
MACHO-PPC-NEXT:     SectionData (
MACHO-PPC-NEXT:       0000: 7C0802A6 429F0005 7D6802A6 3D6B0000  ||...B...}h..=k..|
MACHO-PPC-NEXT:       0010: 7C0803A6 858B0020 7D8903A6 4E800420  ||...... }...N.. |
MACHO-PPC-NEXT:     )
MACHO-PPC-NEXT:   }
MACHO-PPC-NEXT:   Section {
MACHO-PPC-NEXT:     Index: 2
MACHO-PPC-NEXT:     Name: __data (5F 5F 64 61 74 61 00 00 00 00 00 00 00 00 00 00)
MACHO-PPC-NEXT:     Segment: __DATA (5F 5F 44 41 54 41 00 00 00 00 00 00 00 00 00 00)
MACHO-PPC-NEXT:     Address: 0x60
MACHO-PPC-NEXT:     Size: 0x4
MACHO-PPC-NEXT:     Offset: 624
MACHO-PPC-NEXT:     Alignment: 2
MACHO-PPC-NEXT:     RelocationOffset: 0x0
MACHO-PPC-NEXT:     RelocationCount: 0
MACHO-PPC-NEXT:     Type: 0x0
MACHO-PPC-NEXT:     Attributes [ (0x0)
MACHO-PPC-NEXT:     ]
MACHO-PPC-NEXT:     Reserved1: 0x0
MACHO-PPC-NEXT:     Reserved2: 0x0
MACHO-PPC-NEXT:     Relocations [
MACHO-PPC-NEXT:     ]
MACHO-PPC-NEXT:     Symbols [
MACHO-PPC-NEXT:       Symbol {
MACHO-PPC-NEXT:         Name: _b (1)
MACHO-PPC-NEXT:         Extern
MACHO-PPC-NEXT:         Type: Section (0xE)
MACHO-PPC-NEXT:         Section: __data (0x3)
MACHO-PPC-NEXT:         RefType: UndefinedNonLazy (0x0)
MACHO-PPC-NEXT:         Flags [ (0x0)
MACHO-PPC-NEXT:         ]
MACHO-PPC-NEXT:         Value: 0x60
MACHO-PPC-NEXT:       }
MACHO-PPC-NEXT:     ]
MACHO-PPC-NEXT:     SectionData (
MACHO-PPC-NEXT:       0000: 0000002A                             |...*|
MACHO-PPC-NEXT:     )
MACHO-PPC-NEXT:   }
MACHO-PPC-NEXT:   Section {
MACHO-PPC-NEXT:     Index: 3
MACHO-PPC-NEXT:     Name: __nl_symbol_ptr (5F 5F 6E 6C 5F 73 79 6D 62 6F 6C 5F 70 74 72 00)
MACHO-PPC-NEXT:     Segment: __DATA (5F 5F 44 41 54 41 00 00 00 00 00 00 00 00 00 00)
MACHO-PPC-NEXT:     Address: 0x64
MACHO-PPC-NEXT:     Size: 0x4
MACHO-PPC-NEXT:     Offset: 628
MACHO-PPC-NEXT:     Alignment: 2
MACHO-PPC-NEXT:     RelocationOffset: 0x0
MACHO-PPC-NEXT:     RelocationCount: 0
MACHO-PPC-NEXT:     Type: 0x6
MACHO-PPC-NEXT:     Attributes [ (0x0)
MACHO-PPC-NEXT:     ]
MACHO-PPC-NEXT:     Reserved1: 0x1
MACHO-PPC-NEXT:     Reserved2: 0x0
MACHO-PPC-NEXT:     Relocations [
MACHO-PPC-NEXT:     ]
MACHO-PPC-NEXT:     Symbols [
MACHO-PPC-NEXT:     ]
MACHO-PPC-NEXT:     SectionData (
MACHO-PPC-NEXT:       0000: 00000000                             |....|
MACHO-PPC-NEXT:     )
MACHO-PPC-NEXT:   }
MACHO-PPC-NEXT:   Section {
MACHO-PPC-NEXT:     Index: 4
MACHO-PPC-NEXT:     Name: __la_symbol_ptr (5F 5F 6C 61 5F 73 79 6D 62 6F 6C 5F 70 74 72 00)
MACHO-PPC-NEXT:     Segment: __DATA (5F 5F 44 41 54 41 00 00 00 00 00 00 00 00 00 00)
MACHO-PPC-NEXT:     Address: 0x68
MACHO-PPC-NEXT:     Size: 0x4
MACHO-PPC-NEXT:     Offset: 632
MACHO-PPC-NEXT:     Alignment: 2
MACHO-PPC-NEXT:     RelocationOffset: 0x2C4
MACHO-PPC-NEXT:     RelocationCount: 1
MACHO-PPC-NEXT:     Type: 0x7
MACHO-PPC-NEXT:     Attributes [ (0x0)
MACHO-PPC-NEXT:     ]
MACHO-PPC-NEXT:     Reserved1: 0x2
MACHO-PPC-NEXT:     Reserved2: 0x0
MACHO-PPC-NEXT:     Relocations [
MACHO-PPC-NEXT:       Relocation {
MACHO-PPC-NEXT:         Offset: 0x0
MACHO-PPC-NEXT:         PCRel: 0
MACHO-PPC-NEXT:         Length: 2
MACHO-PPC-NEXT:         Type: PPC_RELOC_VANILLA (0)
MACHO-PPC-NEXT:         Symbol: dyld_stub_binding_helper (5)
MACHO-PPC-NEXT:       }
MACHO-PPC-NEXT:     ]
MACHO-PPC-NEXT:     Symbols [
MACHO-PPC-NEXT:     ]
MACHO-PPC-NEXT:     SectionData (
MACHO-PPC-NEXT:       0000: 00000000                             |....|
MACHO-PPC-NEXT:     )
MACHO-PPC-NEXT:   }
MACHO-PPC-NEXT: ]


MACHO-PPC64:  Sections [
MACHO-PPC64-NEXT:   Section {
MACHO-PPC64-NEXT:     Index: 0
MACHO-PPC64-NEXT:     Name: __text (5F 5F 74 65 78 74 00 00 00 00 00 00 00 00 00 00)
MACHO-PPC64-NEXT:     Segment: __TEXT (5F 5F 54 45 58 54 00 00 00 00 00 00 00 00 00 00)
MACHO-PPC64-NEXT:     Address: 0x0
MACHO-PPC64-NEXT:     Size: 0x3C
MACHO-PPC64-NEXT:     Offset: 608
MACHO-PPC64-NEXT:     Alignment: 2
MACHO-PPC64-NEXT:     RelocationOffset: 0x2D4
MACHO-PPC64-NEXT:     RelocationCount: 5
MACHO-PPC64-NEXT:     Type: 0x0
MACHO-PPC64-NEXT:     Attributes [ (0x800004)
MACHO-PPC64-NEXT:       PureInstructions (0x800000)
MACHO-PPC64-NEXT:       SomeInstructions (0x4)
MACHO-PPC64-NEXT:     ]
MACHO-PPC64-NEXT:     Reserved1: 0x0
MACHO-PPC64-NEXT:     Reserved2: 0x0
MACHO-PPC64-NEXT:     Reserved3: 0x0
MACHO-PPC64-NEXT:     Relocations [
MACHO-PPC64-NEXT:       Relocation {
MACHO-PPC64-NEXT:         Offset: 0x24
MACHO-PPC64-NEXT:         PCRel: 0
MACHO-PPC64-NEXT:         Length: 2
MACHO-PPC64-NEXT:         Type:  (14)
MACHO-PPC64-NEXT:         Value: 0x64
MACHO-PPC64-NEXT:       }
MACHO-PPC64-NEXT:       Relocation {
MACHO-PPC64-NEXT:         Offset: 0x0
MACHO-PPC64-NEXT:         PCRel: 0
MACHO-PPC64-NEXT:         Length: 2
MACHO-PPC64-NEXT:         Type:  (1)
MACHO-PPC64-NEXT:         Value: 0xC
MACHO-PPC64-NEXT:       }
MACHO-PPC64-NEXT:       Relocation {
MACHO-PPC64-NEXT:         Offset: 0x1C
MACHO-PPC64-NEXT:         PCRel: 0
MACHO-PPC64-NEXT:         Length: 2
MACHO-PPC64-NEXT:         Type:  (12)
MACHO-PPC64-NEXT:         Value: 0x64
MACHO-PPC64-NEXT:       }
MACHO-PPC64-NEXT:       Relocation {
MACHO-PPC64-NEXT:         Offset: 0x58
MACHO-PPC64-NEXT:         PCRel: 0
MACHO-PPC64-NEXT:         Length: 2
MACHO-PPC64-NEXT:         Type:  (1)
MACHO-PPC64-NEXT:         Value: 0xC
MACHO-PPC64-NEXT:       }
MACHO-PPC64-NEXT:       Relocation {
MACHO-PPC64-NEXT:         Offset: 0x18
MACHO-PPC64-NEXT:         PCRel: 1
MACHO-PPC64-NEXT:         Length: 2
MACHO-PPC64-NEXT:         Type:  (3)
MACHO-PPC64-NEXT:         Section: __picsymbolstub1 (2)
MACHO-PPC64-NEXT:       }
MACHO-PPC64-NEXT:     ]
MACHO-PPC64-NEXT:     Symbols [
MACHO-PPC64-NEXT:       Symbol {
MACHO-PPC64-NEXT:         Name: _f (4)
MACHO-PPC64-NEXT:         Extern
MACHO-PPC64-NEXT:         Type: Section (0xE)
MACHO-PPC64-NEXT:         Section: __text (0x1)
MACHO-PPC64-NEXT:         RefType: UndefinedNonLazy (0x0)
MACHO-PPC64-NEXT:         Flags [ (0x0)
MACHO-PPC64-NEXT:         ]
MACHO-PPC64-NEXT:         Value: 0x0
MACHO-PPC64-NEXT:       }
MACHO-PPC64-NEXT:     ]
MACHO-PPC64-NEXT:     SectionData (
MACHO-PPC64-NEXT:       0000: 7C0802A6 FBE1FFF8 429F0005 7FE802A6  ||.......B.......|
MACHO-PPC64-NEXT:       0010: F8010010 F821FF81 48000029 3C5F0000  |.....!..H..)<_..|
MACHO-PPC64-NEXT:       0020: 38210080 E8420058 E8010010 EBE1FFF8  |8!...B.X........|
MACHO-PPC64-NEXT:       0030: 7C0803A6 E8620002 4E800020           ||....b..N.. |
MACHO-PPC64-NEXT:     )
MACHO-PPC64-NEXT:   }
MACHO-PPC64-NEXT:   Section {
MACHO-PPC64-NEXT:     Index: 1
MACHO-PPC64-NEXT:     Name: __picsymbolstub1 (5F 5F 70 69 63 73 79 6D 62 6F 6C 73 74 75 62 31)
MACHO-PPC64-NEXT:     Segment: __TEXT (5F 5F 54 45 58 54 00 00 00 00 00 00 00 00 00 00)
MACHO-PPC64-NEXT:     Address: 0x40
MACHO-PPC64-NEXT:     Size: 0x20
MACHO-PPC64-NEXT:     Offset: 672
MACHO-PPC64-NEXT:     Alignment: 5
MACHO-PPC64-NEXT:     RelocationOffset: 0x2FC
MACHO-PPC64-NEXT:     RelocationCount: 4
MACHO-PPC64-NEXT:     Type: 0x8
MACHO-PPC64-NEXT:     Attributes [ (0x800004)
MACHO-PPC64-NEXT:       PureInstructions (0x800000)
MACHO-PPC64-NEXT:       SomeInstructions (0x4)
MACHO-PPC64-NEXT:     ]
MACHO-PPC64-NEXT:     Reserved1: 0x0
MACHO-PPC64-NEXT:     Reserved2: 0x20
MACHO-PPC64-NEXT:     Reserved3: 0x0
MACHO-PPC64-NEXT:     Relocations [
MACHO-PPC64-NEXT:       Relocation {
MACHO-PPC64-NEXT:         Offset: 0x14
MACHO-PPC64-NEXT:         PCRel: 0
MACHO-PPC64-NEXT:         Length: 2
MACHO-PPC64-NEXT:         Type:  (14)
MACHO-PPC64-NEXT:         Value: 0x6C
MACHO-PPC64-NEXT:       }
MACHO-PPC64-NEXT:       Relocation {
MACHO-PPC64-NEXT:         Offset: 0x0
MACHO-PPC64-NEXT:         PCRel: 0
MACHO-PPC64-NEXT:         Length: 2
MACHO-PPC64-NEXT:         Type:  (1)
MACHO-PPC64-NEXT:         Value: 0x48
MACHO-PPC64-NEXT:       }
MACHO-PPC64-NEXT:       Relocation {
MACHO-PPC64-NEXT:         Offset: 0xC
MACHO-PPC64-NEXT:         PCRel: 0
MACHO-PPC64-NEXT:         Length: 2
MACHO-PPC64-NEXT:         Type:  (12)
MACHO-PPC64-NEXT:         Value: 0x6C
MACHO-PPC64-NEXT:       }
MACHO-PPC64-NEXT:       Relocation {
MACHO-PPC64-NEXT:         Offset: 0x24
MACHO-PPC64-NEXT:         PCRel: 0
MACHO-PPC64-NEXT:         Length: 2
MACHO-PPC64-NEXT:         Type:  (1)
MACHO-PPC64-NEXT:         Value: 0x48
MACHO-PPC64-NEXT:       }
MACHO-PPC64-NEXT:     ]
MACHO-PPC64-NEXT:     Symbols [
MACHO-PPC64-NEXT:     ]
MACHO-PPC64-NEXT:     SectionData (
MACHO-PPC64-NEXT:       0000: 7C0802A6 429F0005 7D6802A6 3D6B0000  ||...B...}h..=k..|
MACHO-PPC64-NEXT:       0010: 7C0803A6 E98B0025 7D8903A6 4E800420  ||......%}...N.. |
MACHO-PPC64-NEXT:     )
MACHO-PPC64-NEXT:   }
MACHO-PPC64-NEXT:   Section {
MACHO-PPC64-NEXT:     Index: 2
MACHO-PPC64-NEXT:     Name: __data (5F 5F 64 61 74 61 00 00 00 00 00 00 00 00 00 00)
MACHO-PPC64-NEXT:     Segment: __DATA (5F 5F 44 41 54 41 00 00 00 00 00 00 00 00 00 00)
MACHO-PPC64-NEXT:     Address: 0x60
MACHO-PPC64-NEXT:     Size: 0x4
MACHO-PPC64-NEXT:     Offset: 704
MACHO-PPC64-NEXT:     Alignment: 2
MACHO-PPC64-NEXT:     RelocationOffset: 0x0
MACHO-PPC64-NEXT:     RelocationCount: 0
MACHO-PPC64-NEXT:     Type: 0x0
MACHO-PPC64-NEXT:     Attributes [ (0x0)
MACHO-PPC64-NEXT:     ]
MACHO-PPC64-NEXT:     Reserved1: 0x0
MACHO-PPC64-NEXT:     Reserved2: 0x0
MACHO-PPC64-NEXT:     Reserved3: 0x0
MACHO-PPC64-NEXT:     Relocations [
MACHO-PPC64-NEXT:     ]
MACHO-PPC64-NEXT:     Symbols [
MACHO-PPC64-NEXT:       Symbol {
MACHO-PPC64-NEXT:         Name: _b (1)
MACHO-PPC64-NEXT:         Extern
MACHO-PPC64-NEXT:         Type: Section (0xE)
MACHO-PPC64-NEXT:         Section: __data (0x3)
MACHO-PPC64-NEXT:         RefType: UndefinedNonLazy (0x0)
MACHO-PPC64-NEXT:         Flags [ (0x0)
MACHO-PPC64-NEXT:         ]
MACHO-PPC64-NEXT:         Value: 0x60
MACHO-PPC64-NEXT:       }
MACHO-PPC64-NEXT:     ]
MACHO-PPC64-NEXT:     SectionData (
MACHO-PPC64-NEXT:       0000: 0000002A                             |...*|
MACHO-PPC64-NEXT:     )
MACHO-PPC64-NEXT:   }
MACHO-PPC64-NEXT:   Section {
MACHO-PPC64-NEXT:     Index: 3
MACHO-PPC64-NEXT:     Name: __nl_symbol_ptr (5F 5F 6E 6C 5F 73 79 6D 62 6F 6C 5F 70 74 72 00)
MACHO-PPC64-NEXT:     Segment: __DATA (5F 5F 44 41 54 41 00 00 00 00 00 00 00 00 00 00)
MACHO-PPC64-NEXT:     Address: 0x64
MACHO-PPC64-NEXT:     Size: 0x8
MACHO-PPC64-NEXT:     Offset: 708
MACHO-PPC64-NEXT:     Alignment: 2
MACHO-PPC64-NEXT:     RelocationOffset: 0x0
MACHO-PPC64-NEXT:     RelocationCount: 0
MACHO-PPC64-NEXT:     Type: 0x6
MACHO-PPC64-NEXT:     Attributes [ (0x0)
MACHO-PPC64-NEXT:     ]
MACHO-PPC64-NEXT:     Reserved1: 0x1
MACHO-PPC64-NEXT:     Reserved2: 0x0
MACHO-PPC64-NEXT:     Reserved3: 0x0
MACHO-PPC64-NEXT:     Relocations [
MACHO-PPC64-NEXT:     ]
MACHO-PPC64-NEXT:     Symbols [
MACHO-PPC64-NEXT:     ]
MACHO-PPC64-NEXT:     SectionData (
MACHO-PPC64-NEXT:       0000: 00000000 00000000                    |........|
MACHO-PPC64-NEXT:     )
MACHO-PPC64-NEXT:   }
MACHO-PPC64-NEXT:   Section {
MACHO-PPC64-NEXT:     Index: 4
MACHO-PPC64-NEXT:     Name: __la_symbol_ptr (5F 5F 6C 61 5F 73 79 6D 62 6F 6C 5F 70 74 72 00)
MACHO-PPC64-NEXT:     Segment: __DATA (5F 5F 44 41 54 41 00 00 00 00 00 00 00 00 00 00)
MACHO-PPC64-NEXT:     Address: 0x6C
MACHO-PPC64-NEXT:     Size: 0x8
MACHO-PPC64-NEXT:     Offset: 716
MACHO-PPC64-NEXT:     Alignment: 2
MACHO-PPC64-NEXT:     RelocationOffset: 0x31C
MACHO-PPC64-NEXT:     RelocationCount: 1
MACHO-PPC64-NEXT:     Type: 0x7
MACHO-PPC64-NEXT:     Attributes [ (0x0)
MACHO-PPC64-NEXT:     ]
MACHO-PPC64-NEXT:     Reserved1: 0x2
MACHO-PPC64-NEXT:     Reserved2: 0x0
MACHO-PPC64-NEXT:     Reserved3: 0x0
MACHO-PPC64-NEXT:     Relocations [
MACHO-PPC64-NEXT:       Relocation {
MACHO-PPC64-NEXT:         Offset: 0x0
MACHO-PPC64-NEXT:         PCRel: 0
MACHO-PPC64-NEXT:         Length: 3
MACHO-PPC64-NEXT:         Type:  (0)
MACHO-PPC64-NEXT:         Symbol: dyld_stub_binding_helper (5)
MACHO-PPC64-NEXT:       }
MACHO-PPC64-NEXT:     ]
MACHO-PPC64-NEXT:     Symbols [
MACHO-PPC64-NEXT:     ]
MACHO-PPC64-NEXT:     SectionData (
MACHO-PPC64-NEXT:       0000: 00000000 00000000                    |........|
MACHO-PPC64-NEXT:     )
MACHO-PPC64-NEXT:   }
MACHO-PPC64-NEXT: ]

MACHO-ARM:      Sections [
MACHO-ARM-NEXT:   Section {
MACHO-ARM-NEXT:     Index: 0
MACHO-ARM-NEXT:     Name: __text (5F 5F 74 65 78 74 00 00 00 00 00 00 00 00 00 00)
MACHO-ARM-NEXT:     Segment: __TEXT (5F 5F 54 45 58 54 00 00 00 00 00 00 00 00 00 00)
MACHO-ARM-NEXT:     Address: 0x0
MACHO-ARM-NEXT:     Size: 0x3C
MACHO-ARM-NEXT:     Offset: 664
MACHO-ARM-NEXT:     Alignment: 2
MACHO-ARM-NEXT:     RelocationOffset: 0x2E0
MACHO-ARM-NEXT:     RelocationCount: 9
MACHO-ARM-NEXT:     Type: 0x0
MACHO-ARM-NEXT:     Attributes [ (0x800004)
MACHO-ARM-NEXT:       PureInstructions (0x800000)
MACHO-ARM-NEXT:       SomeInstructions (0x4)
MACHO-ARM-NEXT:     ]
MACHO-ARM-NEXT:     Reserved1: 0x0
MACHO-ARM-NEXT:     Reserved2: 0x0
MACHO-ARM-NEXT:     Relocations [
MACHO-ARM-NEXT:       Relocation {
MACHO-ARM-NEXT:         Offset: 0x38
MACHO-ARM-NEXT:         PCRel: 0
MACHO-ARM-NEXT:         Length: 2
MACHO-ARM-NEXT:         Type: ARM_RELOC_SECTDIFF (2)
MACHO-ARM-NEXT:         Value: 0x40
MACHO-ARM-NEXT:       }
MACHO-ARM-NEXT:       Relocation {
MACHO-ARM-NEXT:         Offset: 0x0
MACHO-ARM-NEXT:         PCRel: 0
MACHO-ARM-NEXT:         Length: 2
MACHO-ARM-NEXT:         Type: ARM_RELOC_PAIR (1)
MACHO-ARM-NEXT:         Value: 0x28
MACHO-ARM-NEXT:       }
MACHO-ARM-NEXT:       Relocation {
MACHO-ARM-NEXT:         Offset: 0x20
MACHO-ARM-NEXT:         PCRel: 1
MACHO-ARM-NEXT:         Length: 2
MACHO-ARM-NEXT:         Type: ARM_RELOC_BR24 (5)
MACHO-ARM-NEXT:         Symbol: _g
MACHO-ARM-NEXT:       }
MACHO-ARM-NEXT:       Relocation {
MACHO-ARM-NEXT:         Offset: 0x1C
MACHO-ARM-NEXT:         PCRel: 0
MACHO-ARM-NEXT:         Length: 1
MACHO-ARM-NEXT:         Type: ARM_RELOC_HALF (8)
MACHO-ARM-NEXT:         Symbol: _g
MACHO-ARM-NEXT:       }
MACHO-ARM-NEXT:       Relocation {
MACHO-ARM-NEXT:         Offset: 0x0
MACHO-ARM-NEXT:         PCRel: 0
MACHO-ARM-NEXT:         Length: 1
MACHO-ARM-NEXT:         Type: ARM_RELOC_PAIR (1)
MACHO-ARM-NEXT:         Section: -
MACHO-ARM-NEXT:       }
MACHO-ARM-NEXT:       Relocation {
MACHO-ARM-NEXT:         Offset: 0x18
MACHO-ARM-NEXT:         PCRel: 0
MACHO-ARM-NEXT:         Length: 0
MACHO-ARM-NEXT:         Type: ARM_RELOC_HALF (8)
MACHO-ARM-NEXT:         Symbol: _g
MACHO-ARM-NEXT:       }
MACHO-ARM-NEXT:       Relocation {
MACHO-ARM-NEXT:         Offset: 0x0
MACHO-ARM-NEXT:         PCRel: 0
MACHO-ARM-NEXT:         Length: 0
MACHO-ARM-NEXT:         Type: ARM_RELOC_PAIR (1)
MACHO-ARM-NEXT:         Section: -
MACHO-ARM-NEXT:       }
MACHO-ARM-NEXT:       Relocation {
MACHO-ARM-NEXT:         Offset: 0xC
MACHO-ARM-NEXT:         PCRel: 0
MACHO-ARM-NEXT:         Length: 2
MACHO-ARM-NEXT:         Type: ARM_RELOC_SECTDIFF (2)
MACHO-ARM-NEXT:         Value: 0x44
MACHO-ARM-NEXT:       }
MACHO-ARM-NEXT:       Relocation {
MACHO-ARM-NEXT:         Offset: 0x0
MACHO-ARM-NEXT:         PCRel: 0
MACHO-ARM-NEXT:         Length: 2
MACHO-ARM-NEXT:         Type: ARM_RELOC_PAIR (1)
MACHO-ARM-NEXT:         Value: 0x4
MACHO-ARM-NEXT:       }
MACHO-ARM-NEXT:     ]
MACHO-ARM-NEXT:     Symbols [
MACHO-ARM-NEXT:       Symbol {
MACHO-ARM-NEXT:         Name: _f (4)
MACHO-ARM-NEXT:         Extern
MACHO-ARM-NEXT:         Type: Section (0xE)
MACHO-ARM-NEXT:         Section: __text (0x1)
MACHO-ARM-NEXT:         RefType: UndefinedNonLazy (0x0)
MACHO-ARM-NEXT:         Flags [ (0x0)
MACHO-ARM-NEXT:         ]
MACHO-ARM-NEXT:         Value: 0x10
MACHO-ARM-NEXT:       }
MACHO-ARM-NEXT:       Symbol {
MACHO-ARM-NEXT:         Name: _h (1)
MACHO-ARM-NEXT:         Extern
MACHO-ARM-NEXT:         Type: Section (0xE)
MACHO-ARM-NEXT:         Section: __text (0x1)
MACHO-ARM-NEXT:         RefType: UndefinedNonLazy (0x0)
MACHO-ARM-NEXT:         Flags [ (0x0)
MACHO-ARM-NEXT:         ]
MACHO-ARM-NEXT:         Value: 0x0
MACHO-ARM-NEXT:       }
MACHO-ARM-NEXT:     ]
MACHO-ARM-NEXT:     SectionData (
MACHO-ARM-NEXT:       0000: 04009FE5 00009FE7 1EFF2FE1 38000000  |........../.8...|
MACHO-ARM-NEXT:       0010: 80402DE9 0D70A0E1 000000E3 000040E3  |.@-..p........@.|
MACHO-ARM-NEXT:       0020: F6FFFFEB 0C009FE5 00009FE7 000090E5  |................|
MACHO-ARM-NEXT:       0030: 8040BDE8 1EFF2FE1 10000000           |.@..../.....|
MACHO-ARM-NEXT:     )
MACHO-ARM-NEXT:   }
MACHO-ARM-NEXT:   Section {
MACHO-ARM-NEXT:     Index: 1
MACHO-ARM-NEXT:     Name: __textcoal_nt (5F 5F 74 65 78 74 63 6F 61 6C 5F 6E 74 00 00 00)
MACHO-ARM-NEXT:     Segment: __TEXT (5F 5F 54 45 58 54 00 00 00 00 00 00 00 00 00 00)
MACHO-ARM-NEXT:     Address: 0x3C
MACHO-ARM-NEXT:     Size: 0x0
MACHO-ARM-NEXT:     Offset: 724
MACHO-ARM-NEXT:     Alignment: 0
MACHO-ARM-NEXT:     RelocationOffset: 0x0
MACHO-ARM-NEXT:     RelocationCount: 0
MACHO-ARM-NEXT:     Type: 0xB
MACHO-ARM-NEXT:     Attributes [ (0x800000)
MACHO-ARM-NEXT:       PureInstructions (0x800000)
MACHO-ARM-NEXT:     ]
MACHO-ARM-NEXT:     Reserved1: 0x0
MACHO-ARM-NEXT:     Reserved2: 0x0
MACHO-ARM-NEXT:     Relocations [
MACHO-ARM-NEXT:     ]
MACHO-ARM-NEXT:     Symbols [
MACHO-ARM-NEXT:     ]
MACHO-ARM-NEXT:     SectionData (
MACHO-ARM-NEXT:     )
MACHO-ARM-NEXT:   }
MACHO-ARM-NEXT:   Section {
MACHO-ARM-NEXT:     Index: 2
MACHO-ARM-NEXT:     Name: __const_coal (5F 5F 63 6F 6E 73 74 5F 63 6F 61 6C 00 00 00 00)
MACHO-ARM-NEXT:     Segment: __TEXT (5F 5F 54 45 58 54 00 00 00 00 00 00 00 00 00 00)
MACHO-ARM-NEXT:     Address: 0x3C
MACHO-ARM-NEXT:     Size: 0x0
MACHO-ARM-NEXT:     Offset: 724
MACHO-ARM-NEXT:     Alignment: 0
MACHO-ARM-NEXT:     RelocationOffset: 0x0
MACHO-ARM-NEXT:     RelocationCount: 0
MACHO-ARM-NEXT:     Type: 0xB
MACHO-ARM-NEXT:     Attributes [ (0x0)
MACHO-ARM-NEXT:     ]
MACHO-ARM-NEXT:     Reserved1: 0x0
MACHO-ARM-NEXT:     Reserved2: 0x0
MACHO-ARM-NEXT:     Relocations [
MACHO-ARM-NEXT:     ]
MACHO-ARM-NEXT:     Symbols [
MACHO-ARM-NEXT:     ]
MACHO-ARM-NEXT:     SectionData (
MACHO-ARM-NEXT:     )
MACHO-ARM-NEXT:   }
MACHO-ARM-NEXT:   Section {
MACHO-ARM-NEXT:     Index: 3
MACHO-ARM-NEXT:     Name: __picsymbolstub4 (5F 5F 70 69 63 73 79 6D 62 6F 6C 73 74 75 62 34)
MACHO-ARM-NEXT:     Segment: __TEXT (5F 5F 54 45 58 54 00 00 00 00 00 00 00 00 00 00)
MACHO-ARM-NEXT:     Address: 0x3C
MACHO-ARM-NEXT:     Size: 0x0
MACHO-ARM-NEXT:     Offset: 724
MACHO-ARM-NEXT:     Alignment: 0
MACHO-ARM-NEXT:     RelocationOffset: 0x0
MACHO-ARM-NEXT:     RelocationCount: 0
MACHO-ARM-NEXT:     Type: 0x8
MACHO-ARM-NEXT:     Attributes [ (0x0)
MACHO-ARM-NEXT:     ]
MACHO-ARM-NEXT:     Reserved1: 0x0
MACHO-ARM-NEXT:     Reserved2: 0x10
MACHO-ARM-NEXT:     Relocations [
MACHO-ARM-NEXT:     ]
MACHO-ARM-NEXT:     Symbols [
MACHO-ARM-NEXT:     ]
MACHO-ARM-NEXT:     SectionData (
MACHO-ARM-NEXT:     )
MACHO-ARM-NEXT:   }
MACHO-ARM-NEXT:   Section {
MACHO-ARM-NEXT:     Index: 4
MACHO-ARM-NEXT:     Name: __StaticInit (5F 5F 53 74 61 74 69 63 49 6E 69 74 00 00 00 00)
MACHO-ARM-NEXT:     Segment: __TEXT (5F 5F 54 45 58 54 00 00 00 00 00 00 00 00 00 00)
MACHO-ARM-NEXT:     Address: 0x3C
MACHO-ARM-NEXT:     Size: 0x0
MACHO-ARM-NEXT:     Offset: 724
MACHO-ARM-NEXT:     Alignment: 0
MACHO-ARM-NEXT:     RelocationOffset: 0x0
MACHO-ARM-NEXT:     RelocationCount: 0
MACHO-ARM-NEXT:     Type: 0x0
MACHO-ARM-NEXT:     Attributes [ (0x800000)
MACHO-ARM-NEXT:       PureInstructions (0x800000)
MACHO-ARM-NEXT:     ]
MACHO-ARM-NEXT:     Reserved1: 0x0
MACHO-ARM-NEXT:     Reserved2: 0x0
MACHO-ARM-NEXT:     Relocations [
MACHO-ARM-NEXT:     ]
MACHO-ARM-NEXT:     Symbols [
MACHO-ARM-NEXT:     ]
MACHO-ARM-NEXT:     SectionData (
MACHO-ARM-NEXT:     )
MACHO-ARM-NEXT:   }
MACHO-ARM-NEXT:   Section {
MACHO-ARM-NEXT:     Index: 5
MACHO-ARM-NEXT:     Name: __data (5F 5F 64 61 74 61 00 00 00 00 00 00 00 00 00 00)
MACHO-ARM-NEXT:     Segment: __DATA (5F 5F 44 41 54 41 00 00 00 00 00 00 00 00 00 00)
MACHO-ARM-NEXT:     Address: 0x3C
MACHO-ARM-NEXT:     Size: 0x4
MACHO-ARM-NEXT:     Offset: 724
MACHO-ARM-NEXT:     Alignment: 2
MACHO-ARM-NEXT:     RelocationOffset: 0x0
MACHO-ARM-NEXT:     RelocationCount: 0
MACHO-ARM-NEXT:     Type: 0x0
MACHO-ARM-NEXT:     Attributes [ (0x0)
MACHO-ARM-NEXT:     ]
MACHO-ARM-NEXT:     Reserved1: 0x0
MACHO-ARM-NEXT:     Reserved2: 0x0
MACHO-ARM-NEXT:     Relocations [
MACHO-ARM-NEXT:     ]
MACHO-ARM-NEXT:     Symbols [
MACHO-ARM-NEXT:       Symbol {
MACHO-ARM-NEXT:         Name: _b (10)
MACHO-ARM-NEXT:         Extern
MACHO-ARM-NEXT:         Type: Section (0xE)
MACHO-ARM-NEXT:         Section: __data (0x6)
MACHO-ARM-NEXT:         RefType: UndefinedNonLazy (0x0)
MACHO-ARM-NEXT:         Flags [ (0x0)
MACHO-ARM-NEXT:         ]
MACHO-ARM-NEXT:         Value: 0x3C
MACHO-ARM-NEXT:       }
MACHO-ARM-NEXT:     ]
MACHO-ARM-NEXT:     SectionData (
MACHO-ARM-NEXT:       0000: 2A000000                             |*...|
MACHO-ARM-NEXT:     )
MACHO-ARM-NEXT:   }
MACHO-ARM-NEXT:   Section {
MACHO-ARM-NEXT:     Index: 6
MACHO-ARM-NEXT:     Name: __nl_symbol_ptr (5F 5F 6E 6C 5F 73 79 6D 62 6F 6C 5F 70 74 72 00)
MACHO-ARM-NEXT:     Segment: __DATA (5F 5F 44 41 54 41 00 00 00 00 00 00 00 00 00 00)
MACHO-ARM-NEXT:     Address: 0x40
MACHO-ARM-NEXT:     Size: 0x8
MACHO-ARM-NEXT:     Offset: 728
MACHO-ARM-NEXT:     Alignment: 2
MACHO-ARM-NEXT:     RelocationOffset: 0x0
MACHO-ARM-NEXT:     RelocationCount: 0
MACHO-ARM-NEXT:     Type: 0x6
MACHO-ARM-NEXT:     Attributes [ (0x0)
MACHO-ARM-NEXT:     ]
MACHO-ARM-NEXT:     Reserved1: 0x0
MACHO-ARM-NEXT:     Reserved2: 0x0
MACHO-ARM-NEXT:     Relocations [
MACHO-ARM-NEXT:     ]
MACHO-ARM-NEXT:     Symbols [
MACHO-ARM-NEXT:     ]
MACHO-ARM-NEXT:     SectionData (
MACHO-ARM-NEXT:       0000: 00000000 00000000                    |........|
MACHO-ARM-NEXT:     )
MACHO-ARM-NEXT:   }
MACHO-ARM-NEXT: ]