Home | History | Annotate | Download | only in llvm-readobj
      1 RUN: llvm-readobj -s -st -sr -sd %p/Inputs/trivial.obj.coff-i386 \
      2 RUN:   | FileCheck %s -check-prefix COFF
      3 RUN: llvm-readobj -s -st -sr -sd %p/Inputs/trivial.obj.elf-i386 \
      4 RUN:   | FileCheck %s -check-prefix ELF
      5 RUN: llvm-readobj -s -st -sr -sd %p/Inputs/trivial.obj.macho-i386 \
      6 RUN:   | FileCheck %s -check-prefix MACHO-I386
      7 RUN: llvm-readobj -s -st -sr -sd %p/Inputs/trivial.obj.macho-x86-64 \
      8 RUN:   | FileCheck %s -check-prefix MACHO-X86-64
      9 RUN: llvm-readobj --expand-relocs -s -st -sr -sd %p/Inputs/trivial.obj.macho-ppc \
     10 RUN:   | FileCheck %s -check-prefix MACHO-PPC
     11 RUN: llvm-readobj --expand-relocs -s -st -sr -sd %p/Inputs/trivial.obj.macho-ppc64 \
     12 RUN:   | FileCheck %s -check-prefix MACHO-PPC64
     13 RUN: llvm-readobj -expand-relocs -s -st -sr -sd %p/Inputs/trivial.obj.macho-arm \
     14 RUN:   | FileCheck %s -check-prefix MACHO-ARM
     15 
     16 COFF:      Sections [
     17 COFF-NEXT:   Section {
     18 COFF-NEXT:     Number: 1
     19 COFF-NEXT:     Name: .text (2E 74 65 78 74 00 00 00)
     20 COFF-NEXT:     VirtualSize: 0x0
     21 COFF-NEXT:     VirtualAddress: 0x0
     22 COFF-NEXT:     RawDataSize: 22
     23 COFF-NEXT:     PointerToRawData: 0x64
     24 COFF-NEXT:     PointerToRelocations: 0x7A
     25 COFF-NEXT:     PointerToLineNumbers: 0x0
     26 COFF-NEXT:     RelocationCount: 3
     27 COFF-NEXT:     LineNumberCount: 0
     28 COFF-NEXT:     Characteristics [ (0x60500020)
     29 COFF-NEXT:       IMAGE_SCN_ALIGN_16BYTES (0x500000)
     30 COFF-NEXT:       IMAGE_SCN_CNT_CODE (0x20)
     31 COFF-NEXT:       IMAGE_SCN_MEM_EXECUTE (0x20000000)
     32 COFF-NEXT:       IMAGE_SCN_MEM_READ (0x40000000)
     33 COFF-NEXT:     ]
     34 COFF-NEXT:     Relocations [
     35 COFF-NEXT:       0x4 IMAGE_REL_I386_DIR32 .data
     36 COFF-NEXT:       0x9 IMAGE_REL_I386_REL32 _puts
     37 COFF-NEXT:       0xE IMAGE_REL_I386_REL32 _SomeOtherFunction
     38 COFF-NEXT:     ]
     39 COFF-NEXT:     Symbols [
     40 COFF-NEXT:       Symbol {
     41 COFF-NEXT:         Name: .text
     42 COFF-NEXT:         Value: 0
     43 COFF-NEXT:         Section: .text (1)
     44 COFF-NEXT:         BaseType: Null (0x0)
     45 COFF-NEXT:         ComplexType: Null (0x0)
     46 COFF-NEXT:         StorageClass: Static (0x3)
     47 COFF-NEXT:         AuxSymbolCount: 1
     48 COFF-NEXT:         AuxSectionDef {
     49 COFF-NEXT:           Length: 22
     50 COFF-NEXT:           RelocationCount: 3
     51 COFF-NEXT:           LineNumberCount: 0
     52 COFF-NEXT:           Checksum: 0x0
     53 COFF-NEXT:           Number: 1
     54 COFF-NEXT:           Selection: 0x0
     55 COFF-NEXT:         }
     56 COFF-NEXT:       }
     57 COFF-NEXT:       Symbol {
     58 COFF-NEXT:         Name: _main
     59 COFF-NEXT:         Value: 0
     60 COFF-NEXT:         Section: .text (1)
     61 COFF-NEXT:         BaseType: Null (0x0)
     62 COFF-NEXT:         ComplexType: Function (0x2)
     63 COFF-NEXT:         StorageClass: External (0x2)
     64 COFF-NEXT:         AuxSymbolCount: 0
     65 COFF-NEXT:       }
     66 COFF-NEXT:     ]
     67 COFF-NEXT:     SectionData (
     68 COFF-NEXT:       0000: 50C70424 00000000 E8000000 00E80000  |P..$............|
     69 COFF-NEXT:       0010: 000031C0 5AC3                        |..1.Z.|
     70 COFF-NEXT:     )
     71 COFF-NEXT:   }
     72 
     73 ELF:      Sections [
     74 ELF-NEXT:   Section {
     75 ELF-NEXT:     Index: 0
     76 ELF-NEXT:     Name:  (0)
     77 ELF-NEXT:     Type: SHT_NULL (0x0)
     78 ELF-NEXT:     Flags [ (0x0)
     79 ELF-NEXT:     ]
     80 ELF-NEXT:     Address: 0x0
     81 ELF-NEXT:     Offset: 0x0
     82 ELF-NEXT:     Size: 0
     83 ELF-NEXT:     Link: 0
     84 ELF-NEXT:     Info: 0
     85 ELF-NEXT:     AddressAlignment: 0
     86 ELF-NEXT:     EntrySize: 0
     87 ELF-NEXT:     Relocations [
     88 ELF-NEXT:     ]
     89 ELF-NEXT:     Symbols [
     90 ELF-NEXT:     ]
     91 ELF-NEXT:     SectionData (
     92 ELF-NEXT:     )
     93 ELF-NEXT:   }
     94 ELF-NEXT:   Section {
     95 ELF-NEXT:     Index: 1
     96 ELF-NEXT:     Name: .text (5)
     97 ELF-NEXT:     Type: SHT_PROGBITS (0x1)
     98 ELF-NEXT:     Flags [ (0x6)
     99 ELF-NEXT:       SHF_ALLOC (0x2)
    100 ELF-NEXT:       SHF_EXECINSTR (0x4)
    101 ELF-NEXT:     ]
    102 ELF-NEXT:     Address: 0x0
    103 ELF-NEXT:     Offset: 0x40
    104 ELF-NEXT:     Size: 42
    105 ELF-NEXT:     Link: 0
    106 ELF-NEXT:     Info: 0
    107 ELF-NEXT:     AddressAlignment: 16
    108 ELF-NEXT:     EntrySize: 0
    109 ELF-NEXT:     Relocations [
    110 ELF-NEXT:     ]
    111 ELF-NEXT:     Symbols [
    112 ELF-NEXT:       Symbol {
    113 ELF-NEXT:         Name: (0)
    114 ELF-NEXT:         Value: 0x0
    115 ELF-NEXT:         Size: 0
    116 ELF-NEXT:         Binding: Local (0x0)
    117 ELF-NEXT:         Type: Section (0x3)
    118 ELF-NEXT:         Other: 0
    119 ELF-NEXT:         Section: .text (0x1)
    120 ELF-NEXT:       }
    121 ELF-NEXT:       Symbol {
    122 ELF-NEXT:         Name: main (12)
    123 ELF-NEXT:         Value: 0x0
    124 ELF-NEXT:         Size: 42
    125 ELF-NEXT:         Binding: Global (0x1)
    126 ELF-NEXT:         Type: Function (0x2)
    127 ELF-NEXT:         Other: 0
    128 ELF-NEXT:         Section: .text (0x1)
    129 ELF-NEXT:       }
    130 ELF-NEXT:     ]
    131 ELF-NEXT:     SectionData (
    132 ELF-NEXT:       0000: 5383EC08 E8000000 005B81C3 03000000  |S........[......|
    133 ELF-NEXT:       0010: 8D830000 00008904 24E8FCFF FFFFE8FC  |........$.......|
    134 ELF-NEXT:       0020: FFFFFF31 C083C408 5BC3               |...1....[.|
    135 ELF-NEXT:     )
    136 ELF-NEXT:   }
    137 ELF-NEXT:   Section {
    138 ELF-NEXT:     Index: 2
    139 ELF-NEXT:     Name: .rel.text (1)
    140 ELF-NEXT:     Type: SHT_REL (0x9)
    141 ELF-NEXT:     Flags [ (0x0)
    142 ELF-NEXT:     ]
    143 ELF-NEXT:     Address: 0x0
    144 ELF-NEXT:     Offset: 0x360
    145 ELF-NEXT:     Size: 32
    146 ELF-NEXT:     Link: 8
    147 ELF-NEXT:     Info: 1
    148 ELF-NEXT:     AddressAlignment: 4
    149 ELF-NEXT:     EntrySize: 8
    150 ELF-NEXT:     Relocations [
    151 ELF-NEXT:       0xC R_386_GOTPC _GLOBAL_OFFSET_TABLE_ 0x0
    152 ELF-NEXT:       0x12 R_386_GOTOFF .L.str 0x0
    153 ELF-NEXT:       0x1A R_386_PLT32 puts 0x0
    154 ELF-NEXT:       0x1F R_386_PLT32 SomeOtherFunction 0x0
    155 ELF-NEXT:     ]
    156 ELF-NEXT:     Symbols [
    157 ELF-NEXT:     ]
    158 ELF-NEXT:     SectionData (
    159 ELF-NEXT:       0000: 0C000000 0A0A0000 12000000 09020000  |................|
    160 ELF-NEXT:       0010: 1A000000 040B0000 1F000000 04090000  |................|
    161 ELF-NEXT:     )
    162 ELF-NEXT:   }
    163 
    164 MACHO-I386:      Sections [
    165 MACHO-I386-NEXT:   Section {
    166 MACHO-I386-NEXT:     Index: 0
    167 MACHO-I386-NEXT:     Name: __text (5F 5F 74 65 78 74 00 00 00 00 00 00 00 00 00 00)
    168 MACHO-I386-NEXT:     Segment: __TEXT (5F 5F 54 45 58 54 00 00 00 00 00 00 00 00 00 00)
    169 MACHO-I386-NEXT:     Address: 0x0
    170 MACHO-I386-NEXT:     Size: 0x22
    171 MACHO-I386-NEXT:     Offset: 324
    172 MACHO-I386-NEXT:     Alignment: 4
    173 MACHO-I386-NEXT:     RelocationOffset: 0x174
    174 MACHO-I386-NEXT:     RelocationCount: 4
    175 MACHO-I386-NEXT:     Type: 0x0
    176 MACHO-I386-NEXT:     Attributes [ (0x800004)
    177 MACHO-I386-NEXT:       PureInstructions (0x800000)
    178 MACHO-I386-NEXT:       SomeInstructions (0x4)
    179 MACHO-I386-NEXT:     ]
    180 MACHO-I386-NEXT:     Reserved1: 0x0
    181 MACHO-I386-NEXT:     Reserved2: 0x0
    182 MACHO-I386-NEXT:     Relocations [
    183 MACHO-I386-NEXT:       0x18 1 2 1 GENERIC_RELOC_VANILLA 0 _SomeOtherFunction
    184 MACHO-I386-NEXT:       0x13 1 2 1 GENERIC_RELOC_VANILLA 0 _puts
    185 MACHO-I386-NEXT:       0xB 0 2 n/a GENERIC_RELOC_LOCAL_SECTDIFF 1 0x22
    186 MACHO-I386-NEXT:       0x0 0 2 n/a GENERIC_RELOC_PAIR 1 0x8
    187 MACHO-I386-NEXT:     ]
    188 MACHO-I386-NEXT:     Symbols [
    189 MACHO-I386-NEXT:       Symbol {
    190 MACHO-I386-NEXT:         Name: _main (1)
    191 MACHO-I386-NEXT:         Extern
    192 MACHO-I386-NEXT:         Type: Section (0xE)
    193 MACHO-I386-NEXT:         Section: __text (0x1)
    194 MACHO-I386-NEXT:         RefType: UndefinedNonLazy (0x0)
    195 MACHO-I386-NEXT:         Flags [ (0x0)
    196 MACHO-I386-NEXT:         ]
    197 MACHO-I386-NEXT:         Value: 0x0
    198 MACHO-I386-NEXT:       }
    199 MACHO-I386-NEXT:     ]
    200 MACHO-I386-NEXT:     SectionData (
    201 MACHO-I386-NEXT:       0000: 83EC0CE8 00000000 588D801A 00000089  |........X.......|
    202 MACHO-I386-NEXT:       0010: 0424E8E9 FFFFFFE8 E4FFFFFF 31C083C4  |.$..........1...|
    203 MACHO-I386-NEXT:       0020: 0CC3                                 |..|
    204 MACHO-I386-NEXT:     )
    205 MACHO-I386-NEXT:   }
    206 
    207 
    208 MACHO-X86-64:     Sections [
    209 MACHO-X86-64-NEXT:  Section {
    210 MACHO-X86-64-NEXT:    Index: 0
    211 MACHO-X86-64-NEXT:    Name: __text (5F 5F 74 65 78 74 00 00 00 00 00 00 00 00 00 00)
    212 MACHO-X86-64-NEXT:    Segment: __TEXT (5F 5F 54 45 58 54 00 00 00 00 00 00 00 00 00 00)
    213 MACHO-X86-64-NEXT:    Address: 0x0
    214 MACHO-X86-64-NEXT:    Size: 0x16
    215 MACHO-X86-64-NEXT:    Offset: 368
    216 MACHO-X86-64-NEXT:    Alignment: 4
    217 MACHO-X86-64-NEXT:    RelocationOffset: 0x194
    218 MACHO-X86-64-NEXT:    RelocationCount: 3
    219 MACHO-X86-64-NEXT:    Type: 0x0
    220 MACHO-X86-64-NEXT:    Attributes [ (0x800004)
    221 MACHO-X86-64-NEXT:      PureInstructions (0x800000)
    222 MACHO-X86-64-NEXT:      SomeInstructions (0x4)
    223 MACHO-X86-64-NEXT:    ]
    224 MACHO-X86-64-NEXT:    Reserved1: 0x0
    225 MACHO-X86-64-NEXT:    Reserved2: 0x0
    226 MACHO-X86-64-NEXT:    Reserved3: 0x0
    227 MACHO-X86-64-NEXT:    Relocations [
    228 MACHO-X86-64-NEXT:      0xE 1 2 1 X86_64_RELOC_BRANCH 0 _SomeOtherFunction
    229 MACHO-X86-64-NEXT:      0x9 1 2 1 X86_64_RELOC_BRANCH 0 _puts
    230 MACHO-X86-64-NEXT:      0x4 1 2 1 X86_64_RELOC_SIGNED 0 L_.str
    231 MACHO-X86-64-NEXT:    ]
    232 MACHO-X86-64-NEXT:    Symbols [
    233 MACHO-X86-64-NEXT:      Symbol {
    234 MACHO-X86-64-NEXT:        Name: _main (1)
    235 MACHO-X86-64-NEXT:        Extern
    236 MACHO-X86-64-NEXT:        Type: Section (0xE)
    237 MACHO-X86-64-NEXT:        Section: __text (0x1)
    238 MACHO-X86-64-NEXT:        RefType: UndefinedNonLazy (0x0)
    239 MACHO-X86-64-NEXT:        Flags [ (0x0)
    240 MACHO-X86-64-NEXT:        ]
    241 MACHO-X86-64-NEXT:        Value: 0x0
    242 MACHO-X86-64-NEXT:      }
    243 MACHO-X86-64-NEXT:    ]
    244 MACHO-X86-64-NEXT:    SectionData (
    245 MACHO-X86-64-NEXT:      0000: 50488D3D 00000000 E8000000 00E80000  |PH.=............|
    246 MACHO-X86-64-NEXT:      0010: 000031C0 5AC3                        |..1.Z.|
    247 MACHO-X86-64-NEXT:    )
    248 MACHO-X86-64-NEXT:  }
    249 MACHO-X86-64-NEXT:  Section {
    250 MACHO-X86-64-NEXT:    Index: 1
    251 MACHO-X86-64-NEXT:    Name: __cstring (5F 5F 63 73 74 72 69 6E 67 00 00 00 00 00 00 00)
    252 MACHO-X86-64-NEXT:    Segment: __TEXT (5F 5F 54 45 58 54 00 00 00 00 00 00 00 00 00 00)
    253 MACHO-X86-64-NEXT:    Address: 0x16
    254 MACHO-X86-64-NEXT:    Size: 0xD
    255 MACHO-X86-64-NEXT:    Offset: 390
    256 MACHO-X86-64-NEXT:    Alignment: 0
    257 MACHO-X86-64-NEXT:    RelocationOffset: 0x0
    258 MACHO-X86-64-NEXT:    RelocationCount: 0
    259 MACHO-X86-64-NEXT:    Type: ExtReloc (0x2)
    260 MACHO-X86-64-NEXT:    Attributes [ (0x0)
    261 MACHO-X86-64-NEXT:    ]
    262 MACHO-X86-64-NEXT:    Reserved1: 0x0
    263 MACHO-X86-64-NEXT:    Reserved2: 0x0
    264 MACHO-X86-64-NEXT:    Reserved3: 0x0
    265 MACHO-X86-64-NEXT:    Relocations [
    266 MACHO-X86-64-NEXT:    ]
    267 MACHO-X86-64-NEXT:    Symbols [
    268 MACHO-X86-64-NEXT:      Symbol {
    269 MACHO-X86-64-NEXT:        Name: L_.str (32)
    270 MACHO-X86-64-NEXT:        Type: Section (0xE)
    271 MACHO-X86-64-NEXT:        Section: __cstring (0x2)
    272 MACHO-X86-64-NEXT:        RefType: UndefinedNonLazy (0x0)
    273 MACHO-X86-64-NEXT:        Flags [ (0x0)
    274 MACHO-X86-64-NEXT:        ]
    275 MACHO-X86-64-NEXT:        Value: 0x16
    276 MACHO-X86-64-NEXT:      }
    277 MACHO-X86-64-NEXT:    ]
    278 MACHO-X86-64-NEXT:    SectionData (
    279 MACHO-X86-64-NEXT:      0000: 48656C6C 6F20576F 726C640A 00        |Hello World..|
    280 MACHO-X86-64-NEXT:    )
    281 MACHO-X86-64-NEXT:  }
    282 MACHO-X86-64-NEXT:]
    283 
    284 MACHO-PPC: Sections [
    285 MACHO-PPC-NEXT:   Section {
    286 MACHO-PPC-NEXT:     Index: 0
    287 MACHO-PPC-NEXT:     Name: __text (5F 5F 74 65 78 74 00 00 00 00 00 00 00 00 00 00)
    288 MACHO-PPC-NEXT:     Segment: __TEXT (5F 5F 54 45 58 54 00 00 00 00 00 00 00 00 00 00)
    289 MACHO-PPC-NEXT:     Address: 0x0
    290 MACHO-PPC-NEXT:     Size: 0x3C
    291 MACHO-PPC-NEXT:     Offset: 528
    292 MACHO-PPC-NEXT:     Alignment: 2
    293 MACHO-PPC-NEXT:     RelocationOffset: 0x27C
    294 MACHO-PPC-NEXT:     RelocationCount: 5
    295 MACHO-PPC-NEXT:     Type: 0x0
    296 MACHO-PPC-NEXT:     Attributes [ (0x800004)
    297 MACHO-PPC-NEXT:       PureInstructions (0x800000)
    298 MACHO-PPC-NEXT:       SomeInstructions (0x4)
    299 MACHO-PPC-NEXT:     ]
    300 MACHO-PPC-NEXT:     Reserved1: 0x0
    301 MACHO-PPC-NEXT:     Reserved2: 0x0
    302 MACHO-PPC-NEXT:     Relocations [
    303 MACHO-PPC-NEXT:       Relocation {
    304 MACHO-PPC-NEXT:         Offset: 0x24
    305 MACHO-PPC-NEXT:         PCRel: 0
    306 MACHO-PPC-NEXT:         Length: 2
    307 MACHO-PPC-NEXT:         Type: PPC_RELOC_LO16_SECTDIFF (11)
    308 MACHO-PPC-NEXT:         Value: 0x64
    309 MACHO-PPC-NEXT:       }
    310 MACHO-PPC-NEXT:       Relocation {
    311 MACHO-PPC-NEXT:         Offset: 0x0
    312 MACHO-PPC-NEXT:         PCRel: 0
    313 MACHO-PPC-NEXT:         Length: 2
    314 MACHO-PPC-NEXT:         Type: PPC_RELOC_PAIR (1)
    315 MACHO-PPC-NEXT:         Value: 0xC
    316 MACHO-PPC-NEXT:       }
    317 MACHO-PPC-NEXT:       Relocation {
    318 MACHO-PPC-NEXT:         Offset: 0x1C
    319 MACHO-PPC-NEXT:         PCRel: 0
    320 MACHO-PPC-NEXT:         Length: 2
    321 MACHO-PPC-NEXT:         Type: PPC_RELOC_HA16_SECTDIFF (12)
    322 MACHO-PPC-NEXT:         Value: 0x64
    323 MACHO-PPC-NEXT:       }
    324 MACHO-PPC-NEXT:       Relocation {
    325 MACHO-PPC-NEXT:         Offset: 0x58
    326 MACHO-PPC-NEXT:         PCRel: 0
    327 MACHO-PPC-NEXT:         Length: 2
    328 MACHO-PPC-NEXT:         Type: PPC_RELOC_PAIR (1)
    329 MACHO-PPC-NEXT:         Value: 0xC
    330 MACHO-PPC-NEXT:       }
    331 MACHO-PPC-NEXT:       Relocation {
    332 MACHO-PPC-NEXT:         Offset: 0x18
    333 MACHO-PPC-NEXT:         PCRel: 1
    334 MACHO-PPC-NEXT:         Length: 2
    335 MACHO-PPC-NEXT:         Type: PPC_RELOC_BR24 (3)
    336 MACHO-PPC-NEXT:         Section: __picsymbolstub1 (2)
    337 MACHO-PPC-NEXT:       }
    338 MACHO-PPC-NEXT:     ]
    339 MACHO-PPC-NEXT:     Symbols [
    340 MACHO-PPC-NEXT:       Symbol {
    341 MACHO-PPC-NEXT:         Name: _f (4)
    342 MACHO-PPC-NEXT:         Extern
    343 MACHO-PPC-NEXT:         Type: Section (0xE)
    344 MACHO-PPC-NEXT:         Section: __text (0x1)
    345 MACHO-PPC-NEXT:         RefType: UndefinedNonLazy (0x0)
    346 MACHO-PPC-NEXT:         Flags [ (0x0)
    347 MACHO-PPC-NEXT:         ]
    348 MACHO-PPC-NEXT:         Value: 0x0
    349 MACHO-PPC-NEXT:       }
    350 MACHO-PPC-NEXT:     ]
    351 MACHO-PPC-NEXT:     SectionData (
    352 MACHO-PPC-NEXT:       0000: 7C0802A6 93E1FFFC 429F0005 7FE802A6  ||.......B.......|
    353 MACHO-PPC-NEXT:       0010: 90010008 9421FFB0 48000029 3C5F0000  |.....!..H..)<_..|
    354 MACHO-PPC-NEXT:       0020: 38210050 80420058 80010008 83E1FFFC  |8!.P.B.X........|
    355 MACHO-PPC-NEXT:       0030: 7C0803A6 80620000 4E800020           ||....b..N.. |
    356 MACHO-PPC-NEXT:     )
    357 MACHO-PPC-NEXT:   }
    358 MACHO-PPC-NEXT:   Section {
    359 MACHO-PPC-NEXT:     Index: 1
    360 MACHO-PPC-NEXT:     Name: __picsymbolstub1 (5F 5F 70 69 63 73 79 6D 62 6F 6C 73 74 75 62 31)
    361 MACHO-PPC-NEXT:     Segment: __TEXT (5F 5F 54 45 58 54 00 00 00 00 00 00 00 00 00 00)
    362 MACHO-PPC-NEXT:     Address: 0x40
    363 MACHO-PPC-NEXT:     Size: 0x20
    364 MACHO-PPC-NEXT:     Offset: 592
    365 MACHO-PPC-NEXT:     Alignment: 5
    366 MACHO-PPC-NEXT:     RelocationOffset: 0x2A4
    367 MACHO-PPC-NEXT:     RelocationCount: 4
    368 MACHO-PPC-NEXT:     Type: 0x8
    369 MACHO-PPC-NEXT:     Attributes [ (0x800004)
    370 MACHO-PPC-NEXT:       PureInstructions (0x800000)
    371 MACHO-PPC-NEXT:       SomeInstructions (0x4)
    372 MACHO-PPC-NEXT:     ]
    373 MACHO-PPC-NEXT:     Reserved1: 0x0
    374 MACHO-PPC-NEXT:     Reserved2: 0x20
    375 MACHO-PPC-NEXT:     Relocations [
    376 MACHO-PPC-NEXT:       Relocation {
    377 MACHO-PPC-NEXT:         Offset: 0x14
    378 MACHO-PPC-NEXT:         PCRel: 0
    379 MACHO-PPC-NEXT:         Length: 2
    380 MACHO-PPC-NEXT:         Type: PPC_RELOC_LO16_SECTDIFF (11)
    381 MACHO-PPC-NEXT:         Value: 0x68
    382 MACHO-PPC-NEXT:       }
    383 MACHO-PPC-NEXT:       Relocation {
    384 MACHO-PPC-NEXT:         Offset: 0x0
    385 MACHO-PPC-NEXT:         PCRel: 0
    386 MACHO-PPC-NEXT:         Length: 2
    387 MACHO-PPC-NEXT:         Type: PPC_RELOC_PAIR (1)
    388 MACHO-PPC-NEXT:         Value: 0x48
    389 MACHO-PPC-NEXT:       }
    390 MACHO-PPC-NEXT:       Relocation {
    391 MACHO-PPC-NEXT:         Offset: 0xC
    392 MACHO-PPC-NEXT:         PCRel: 0
    393 MACHO-PPC-NEXT:         Length: 2
    394 MACHO-PPC-NEXT:         Type: PPC_RELOC_HA16_SECTDIFF (12)
    395 MACHO-PPC-NEXT:         Value: 0x68
    396 MACHO-PPC-NEXT:       }
    397 MACHO-PPC-NEXT:       Relocation {
    398 MACHO-PPC-NEXT:         Offset: 0x20
    399 MACHO-PPC-NEXT:         PCRel: 0
    400 MACHO-PPC-NEXT:         Length: 2
    401 MACHO-PPC-NEXT:         Type: PPC_RELOC_PAIR (1)
    402 MACHO-PPC-NEXT:         Value: 0x48
    403 MACHO-PPC-NEXT:       }
    404 MACHO-PPC-NEXT:     ]
    405 MACHO-PPC-NEXT:     Symbols [
    406 MACHO-PPC-NEXT:     ]
    407 MACHO-PPC-NEXT:     SectionData (
    408 MACHO-PPC-NEXT:       0000: 7C0802A6 429F0005 7D6802A6 3D6B0000  ||...B...}h..=k..|
    409 MACHO-PPC-NEXT:       0010: 7C0803A6 858B0020 7D8903A6 4E800420  ||...... }...N.. |
    410 MACHO-PPC-NEXT:     )
    411 MACHO-PPC-NEXT:   }
    412 MACHO-PPC-NEXT:   Section {
    413 MACHO-PPC-NEXT:     Index: 2
    414 MACHO-PPC-NEXT:     Name: __data (5F 5F 64 61 74 61 00 00 00 00 00 00 00 00 00 00)
    415 MACHO-PPC-NEXT:     Segment: __DATA (5F 5F 44 41 54 41 00 00 00 00 00 00 00 00 00 00)
    416 MACHO-PPC-NEXT:     Address: 0x60
    417 MACHO-PPC-NEXT:     Size: 0x4
    418 MACHO-PPC-NEXT:     Offset: 624
    419 MACHO-PPC-NEXT:     Alignment: 2
    420 MACHO-PPC-NEXT:     RelocationOffset: 0x0
    421 MACHO-PPC-NEXT:     RelocationCount: 0
    422 MACHO-PPC-NEXT:     Type: 0x0
    423 MACHO-PPC-NEXT:     Attributes [ (0x0)
    424 MACHO-PPC-NEXT:     ]
    425 MACHO-PPC-NEXT:     Reserved1: 0x0
    426 MACHO-PPC-NEXT:     Reserved2: 0x0
    427 MACHO-PPC-NEXT:     Relocations [
    428 MACHO-PPC-NEXT:     ]
    429 MACHO-PPC-NEXT:     Symbols [
    430 MACHO-PPC-NEXT:       Symbol {
    431 MACHO-PPC-NEXT:         Name: _b (1)
    432 MACHO-PPC-NEXT:         Extern
    433 MACHO-PPC-NEXT:         Type: Section (0xE)
    434 MACHO-PPC-NEXT:         Section: __data (0x3)
    435 MACHO-PPC-NEXT:         RefType: UndefinedNonLazy (0x0)
    436 MACHO-PPC-NEXT:         Flags [ (0x0)
    437 MACHO-PPC-NEXT:         ]
    438 MACHO-PPC-NEXT:         Value: 0x60
    439 MACHO-PPC-NEXT:       }
    440 MACHO-PPC-NEXT:     ]
    441 MACHO-PPC-NEXT:     SectionData (
    442 MACHO-PPC-NEXT:       0000: 0000002A                             |...*|
    443 MACHO-PPC-NEXT:     )
    444 MACHO-PPC-NEXT:   }
    445 MACHO-PPC-NEXT:   Section {
    446 MACHO-PPC-NEXT:     Index: 3
    447 MACHO-PPC-NEXT:     Name: __nl_symbol_ptr (5F 5F 6E 6C 5F 73 79 6D 62 6F 6C 5F 70 74 72 00)
    448 MACHO-PPC-NEXT:     Segment: __DATA (5F 5F 44 41 54 41 00 00 00 00 00 00 00 00 00 00)
    449 MACHO-PPC-NEXT:     Address: 0x64
    450 MACHO-PPC-NEXT:     Size: 0x4
    451 MACHO-PPC-NEXT:     Offset: 628
    452 MACHO-PPC-NEXT:     Alignment: 2
    453 MACHO-PPC-NEXT:     RelocationOffset: 0x0
    454 MACHO-PPC-NEXT:     RelocationCount: 0
    455 MACHO-PPC-NEXT:     Type: 0x6
    456 MACHO-PPC-NEXT:     Attributes [ (0x0)
    457 MACHO-PPC-NEXT:     ]
    458 MACHO-PPC-NEXT:     Reserved1: 0x1
    459 MACHO-PPC-NEXT:     Reserved2: 0x0
    460 MACHO-PPC-NEXT:     Relocations [
    461 MACHO-PPC-NEXT:     ]
    462 MACHO-PPC-NEXT:     Symbols [
    463 MACHO-PPC-NEXT:     ]
    464 MACHO-PPC-NEXT:     SectionData (
    465 MACHO-PPC-NEXT:       0000: 00000000                             |....|
    466 MACHO-PPC-NEXT:     )
    467 MACHO-PPC-NEXT:   }
    468 MACHO-PPC-NEXT:   Section {
    469 MACHO-PPC-NEXT:     Index: 4
    470 MACHO-PPC-NEXT:     Name: __la_symbol_ptr (5F 5F 6C 61 5F 73 79 6D 62 6F 6C 5F 70 74 72 00)
    471 MACHO-PPC-NEXT:     Segment: __DATA (5F 5F 44 41 54 41 00 00 00 00 00 00 00 00 00 00)
    472 MACHO-PPC-NEXT:     Address: 0x68
    473 MACHO-PPC-NEXT:     Size: 0x4
    474 MACHO-PPC-NEXT:     Offset: 632
    475 MACHO-PPC-NEXT:     Alignment: 2
    476 MACHO-PPC-NEXT:     RelocationOffset: 0x2C4
    477 MACHO-PPC-NEXT:     RelocationCount: 1
    478 MACHO-PPC-NEXT:     Type: 0x7
    479 MACHO-PPC-NEXT:     Attributes [ (0x0)
    480 MACHO-PPC-NEXT:     ]
    481 MACHO-PPC-NEXT:     Reserved1: 0x2
    482 MACHO-PPC-NEXT:     Reserved2: 0x0
    483 MACHO-PPC-NEXT:     Relocations [
    484 MACHO-PPC-NEXT:       Relocation {
    485 MACHO-PPC-NEXT:         Offset: 0x0
    486 MACHO-PPC-NEXT:         PCRel: 0
    487 MACHO-PPC-NEXT:         Length: 2
    488 MACHO-PPC-NEXT:         Type: PPC_RELOC_VANILLA (0)
    489 MACHO-PPC-NEXT:         Symbol: dyld_stub_binding_helper (5)
    490 MACHO-PPC-NEXT:       }
    491 MACHO-PPC-NEXT:     ]
    492 MACHO-PPC-NEXT:     Symbols [
    493 MACHO-PPC-NEXT:     ]
    494 MACHO-PPC-NEXT:     SectionData (
    495 MACHO-PPC-NEXT:       0000: 00000000                             |....|
    496 MACHO-PPC-NEXT:     )
    497 MACHO-PPC-NEXT:   }
    498 MACHO-PPC-NEXT: ]
    499 
    500 
    501 MACHO-PPC64:  Sections [
    502 MACHO-PPC64-NEXT:   Section {
    503 MACHO-PPC64-NEXT:     Index: 0
    504 MACHO-PPC64-NEXT:     Name: __text (5F 5F 74 65 78 74 00 00 00 00 00 00 00 00 00 00)
    505 MACHO-PPC64-NEXT:     Segment: __TEXT (5F 5F 54 45 58 54 00 00 00 00 00 00 00 00 00 00)
    506 MACHO-PPC64-NEXT:     Address: 0x0
    507 MACHO-PPC64-NEXT:     Size: 0x3C
    508 MACHO-PPC64-NEXT:     Offset: 608
    509 MACHO-PPC64-NEXT:     Alignment: 2
    510 MACHO-PPC64-NEXT:     RelocationOffset: 0x2D4
    511 MACHO-PPC64-NEXT:     RelocationCount: 5
    512 MACHO-PPC64-NEXT:     Type: 0x0
    513 MACHO-PPC64-NEXT:     Attributes [ (0x800004)
    514 MACHO-PPC64-NEXT:       PureInstructions (0x800000)
    515 MACHO-PPC64-NEXT:       SomeInstructions (0x4)
    516 MACHO-PPC64-NEXT:     ]
    517 MACHO-PPC64-NEXT:     Reserved1: 0x0
    518 MACHO-PPC64-NEXT:     Reserved2: 0x0
    519 MACHO-PPC64-NEXT:     Reserved3: 0x0
    520 MACHO-PPC64-NEXT:     Relocations [
    521 MACHO-PPC64-NEXT:       Relocation {
    522 MACHO-PPC64-NEXT:         Offset: 0x24
    523 MACHO-PPC64-NEXT:         PCRel: 0
    524 MACHO-PPC64-NEXT:         Length: 2
    525 MACHO-PPC64-NEXT:         Type:  (14)
    526 MACHO-PPC64-NEXT:         Value: 0x64
    527 MACHO-PPC64-NEXT:       }
    528 MACHO-PPC64-NEXT:       Relocation {
    529 MACHO-PPC64-NEXT:         Offset: 0x0
    530 MACHO-PPC64-NEXT:         PCRel: 0
    531 MACHO-PPC64-NEXT:         Length: 2
    532 MACHO-PPC64-NEXT:         Type:  (1)
    533 MACHO-PPC64-NEXT:         Value: 0xC
    534 MACHO-PPC64-NEXT:       }
    535 MACHO-PPC64-NEXT:       Relocation {
    536 MACHO-PPC64-NEXT:         Offset: 0x1C
    537 MACHO-PPC64-NEXT:         PCRel: 0
    538 MACHO-PPC64-NEXT:         Length: 2
    539 MACHO-PPC64-NEXT:         Type:  (12)
    540 MACHO-PPC64-NEXT:         Value: 0x64
    541 MACHO-PPC64-NEXT:       }
    542 MACHO-PPC64-NEXT:       Relocation {
    543 MACHO-PPC64-NEXT:         Offset: 0x58
    544 MACHO-PPC64-NEXT:         PCRel: 0
    545 MACHO-PPC64-NEXT:         Length: 2
    546 MACHO-PPC64-NEXT:         Type:  (1)
    547 MACHO-PPC64-NEXT:         Value: 0xC
    548 MACHO-PPC64-NEXT:       }
    549 MACHO-PPC64-NEXT:       Relocation {
    550 MACHO-PPC64-NEXT:         Offset: 0x18
    551 MACHO-PPC64-NEXT:         PCRel: 1
    552 MACHO-PPC64-NEXT:         Length: 2
    553 MACHO-PPC64-NEXT:         Type:  (3)
    554 MACHO-PPC64-NEXT:         Section: __picsymbolstub1 (2)
    555 MACHO-PPC64-NEXT:       }
    556 MACHO-PPC64-NEXT:     ]
    557 MACHO-PPC64-NEXT:     Symbols [
    558 MACHO-PPC64-NEXT:       Symbol {
    559 MACHO-PPC64-NEXT:         Name: _f (4)
    560 MACHO-PPC64-NEXT:         Extern
    561 MACHO-PPC64-NEXT:         Type: Section (0xE)
    562 MACHO-PPC64-NEXT:         Section: __text (0x1)
    563 MACHO-PPC64-NEXT:         RefType: UndefinedNonLazy (0x0)
    564 MACHO-PPC64-NEXT:         Flags [ (0x0)
    565 MACHO-PPC64-NEXT:         ]
    566 MACHO-PPC64-NEXT:         Value: 0x0
    567 MACHO-PPC64-NEXT:       }
    568 MACHO-PPC64-NEXT:     ]
    569 MACHO-PPC64-NEXT:     SectionData (
    570 MACHO-PPC64-NEXT:       0000: 7C0802A6 FBE1FFF8 429F0005 7FE802A6  ||.......B.......|
    571 MACHO-PPC64-NEXT:       0010: F8010010 F821FF81 48000029 3C5F0000  |.....!..H..)<_..|
    572 MACHO-PPC64-NEXT:       0020: 38210080 E8420058 E8010010 EBE1FFF8  |8!...B.X........|
    573 MACHO-PPC64-NEXT:       0030: 7C0803A6 E8620002 4E800020           ||....b..N.. |
    574 MACHO-PPC64-NEXT:     )
    575 MACHO-PPC64-NEXT:   }
    576 MACHO-PPC64-NEXT:   Section {
    577 MACHO-PPC64-NEXT:     Index: 1
    578 MACHO-PPC64-NEXT:     Name: __picsymbolstub1 (5F 5F 70 69 63 73 79 6D 62 6F 6C 73 74 75 62 31)
    579 MACHO-PPC64-NEXT:     Segment: __TEXT (5F 5F 54 45 58 54 00 00 00 00 00 00 00 00 00 00)
    580 MACHO-PPC64-NEXT:     Address: 0x40
    581 MACHO-PPC64-NEXT:     Size: 0x20
    582 MACHO-PPC64-NEXT:     Offset: 672
    583 MACHO-PPC64-NEXT:     Alignment: 5
    584 MACHO-PPC64-NEXT:     RelocationOffset: 0x2FC
    585 MACHO-PPC64-NEXT:     RelocationCount: 4
    586 MACHO-PPC64-NEXT:     Type: 0x8
    587 MACHO-PPC64-NEXT:     Attributes [ (0x800004)
    588 MACHO-PPC64-NEXT:       PureInstructions (0x800000)
    589 MACHO-PPC64-NEXT:       SomeInstructions (0x4)
    590 MACHO-PPC64-NEXT:     ]
    591 MACHO-PPC64-NEXT:     Reserved1: 0x0
    592 MACHO-PPC64-NEXT:     Reserved2: 0x20
    593 MACHO-PPC64-NEXT:     Reserved3: 0x0
    594 MACHO-PPC64-NEXT:     Relocations [
    595 MACHO-PPC64-NEXT:       Relocation {
    596 MACHO-PPC64-NEXT:         Offset: 0x14
    597 MACHO-PPC64-NEXT:         PCRel: 0
    598 MACHO-PPC64-NEXT:         Length: 2
    599 MACHO-PPC64-NEXT:         Type:  (14)
    600 MACHO-PPC64-NEXT:         Value: 0x6C
    601 MACHO-PPC64-NEXT:       }
    602 MACHO-PPC64-NEXT:       Relocation {
    603 MACHO-PPC64-NEXT:         Offset: 0x0
    604 MACHO-PPC64-NEXT:         PCRel: 0
    605 MACHO-PPC64-NEXT:         Length: 2
    606 MACHO-PPC64-NEXT:         Type:  (1)
    607 MACHO-PPC64-NEXT:         Value: 0x48
    608 MACHO-PPC64-NEXT:       }
    609 MACHO-PPC64-NEXT:       Relocation {
    610 MACHO-PPC64-NEXT:         Offset: 0xC
    611 MACHO-PPC64-NEXT:         PCRel: 0
    612 MACHO-PPC64-NEXT:         Length: 2
    613 MACHO-PPC64-NEXT:         Type:  (12)
    614 MACHO-PPC64-NEXT:         Value: 0x6C
    615 MACHO-PPC64-NEXT:       }
    616 MACHO-PPC64-NEXT:       Relocation {
    617 MACHO-PPC64-NEXT:         Offset: 0x24
    618 MACHO-PPC64-NEXT:         PCRel: 0
    619 MACHO-PPC64-NEXT:         Length: 2
    620 MACHO-PPC64-NEXT:         Type:  (1)
    621 MACHO-PPC64-NEXT:         Value: 0x48
    622 MACHO-PPC64-NEXT:       }
    623 MACHO-PPC64-NEXT:     ]
    624 MACHO-PPC64-NEXT:     Symbols [
    625 MACHO-PPC64-NEXT:     ]
    626 MACHO-PPC64-NEXT:     SectionData (
    627 MACHO-PPC64-NEXT:       0000: 7C0802A6 429F0005 7D6802A6 3D6B0000  ||...B...}h..=k..|
    628 MACHO-PPC64-NEXT:       0010: 7C0803A6 E98B0025 7D8903A6 4E800420  ||......%}...N.. |
    629 MACHO-PPC64-NEXT:     )
    630 MACHO-PPC64-NEXT:   }
    631 MACHO-PPC64-NEXT:   Section {
    632 MACHO-PPC64-NEXT:     Index: 2
    633 MACHO-PPC64-NEXT:     Name: __data (5F 5F 64 61 74 61 00 00 00 00 00 00 00 00 00 00)
    634 MACHO-PPC64-NEXT:     Segment: __DATA (5F 5F 44 41 54 41 00 00 00 00 00 00 00 00 00 00)
    635 MACHO-PPC64-NEXT:     Address: 0x60
    636 MACHO-PPC64-NEXT:     Size: 0x4
    637 MACHO-PPC64-NEXT:     Offset: 704
    638 MACHO-PPC64-NEXT:     Alignment: 2
    639 MACHO-PPC64-NEXT:     RelocationOffset: 0x0
    640 MACHO-PPC64-NEXT:     RelocationCount: 0
    641 MACHO-PPC64-NEXT:     Type: 0x0
    642 MACHO-PPC64-NEXT:     Attributes [ (0x0)
    643 MACHO-PPC64-NEXT:     ]
    644 MACHO-PPC64-NEXT:     Reserved1: 0x0
    645 MACHO-PPC64-NEXT:     Reserved2: 0x0
    646 MACHO-PPC64-NEXT:     Reserved3: 0x0
    647 MACHO-PPC64-NEXT:     Relocations [
    648 MACHO-PPC64-NEXT:     ]
    649 MACHO-PPC64-NEXT:     Symbols [
    650 MACHO-PPC64-NEXT:       Symbol {
    651 MACHO-PPC64-NEXT:         Name: _b (1)
    652 MACHO-PPC64-NEXT:         Extern
    653 MACHO-PPC64-NEXT:         Type: Section (0xE)
    654 MACHO-PPC64-NEXT:         Section: __data (0x3)
    655 MACHO-PPC64-NEXT:         RefType: UndefinedNonLazy (0x0)
    656 MACHO-PPC64-NEXT:         Flags [ (0x0)
    657 MACHO-PPC64-NEXT:         ]
    658 MACHO-PPC64-NEXT:         Value: 0x60
    659 MACHO-PPC64-NEXT:       }
    660 MACHO-PPC64-NEXT:     ]
    661 MACHO-PPC64-NEXT:     SectionData (
    662 MACHO-PPC64-NEXT:       0000: 0000002A                             |...*|
    663 MACHO-PPC64-NEXT:     )
    664 MACHO-PPC64-NEXT:   }
    665 MACHO-PPC64-NEXT:   Section {
    666 MACHO-PPC64-NEXT:     Index: 3
    667 MACHO-PPC64-NEXT:     Name: __nl_symbol_ptr (5F 5F 6E 6C 5F 73 79 6D 62 6F 6C 5F 70 74 72 00)
    668 MACHO-PPC64-NEXT:     Segment: __DATA (5F 5F 44 41 54 41 00 00 00 00 00 00 00 00 00 00)
    669 MACHO-PPC64-NEXT:     Address: 0x64
    670 MACHO-PPC64-NEXT:     Size: 0x8
    671 MACHO-PPC64-NEXT:     Offset: 708
    672 MACHO-PPC64-NEXT:     Alignment: 2
    673 MACHO-PPC64-NEXT:     RelocationOffset: 0x0
    674 MACHO-PPC64-NEXT:     RelocationCount: 0
    675 MACHO-PPC64-NEXT:     Type: 0x6
    676 MACHO-PPC64-NEXT:     Attributes [ (0x0)
    677 MACHO-PPC64-NEXT:     ]
    678 MACHO-PPC64-NEXT:     Reserved1: 0x1
    679 MACHO-PPC64-NEXT:     Reserved2: 0x0
    680 MACHO-PPC64-NEXT:     Reserved3: 0x0
    681 MACHO-PPC64-NEXT:     Relocations [
    682 MACHO-PPC64-NEXT:     ]
    683 MACHO-PPC64-NEXT:     Symbols [
    684 MACHO-PPC64-NEXT:     ]
    685 MACHO-PPC64-NEXT:     SectionData (
    686 MACHO-PPC64-NEXT:       0000: 00000000 00000000                    |........|
    687 MACHO-PPC64-NEXT:     )
    688 MACHO-PPC64-NEXT:   }
    689 MACHO-PPC64-NEXT:   Section {
    690 MACHO-PPC64-NEXT:     Index: 4
    691 MACHO-PPC64-NEXT:     Name: __la_symbol_ptr (5F 5F 6C 61 5F 73 79 6D 62 6F 6C 5F 70 74 72 00)
    692 MACHO-PPC64-NEXT:     Segment: __DATA (5F 5F 44 41 54 41 00 00 00 00 00 00 00 00 00 00)
    693 MACHO-PPC64-NEXT:     Address: 0x6C
    694 MACHO-PPC64-NEXT:     Size: 0x8
    695 MACHO-PPC64-NEXT:     Offset: 716
    696 MACHO-PPC64-NEXT:     Alignment: 2
    697 MACHO-PPC64-NEXT:     RelocationOffset: 0x31C
    698 MACHO-PPC64-NEXT:     RelocationCount: 1
    699 MACHO-PPC64-NEXT:     Type: 0x7
    700 MACHO-PPC64-NEXT:     Attributes [ (0x0)
    701 MACHO-PPC64-NEXT:     ]
    702 MACHO-PPC64-NEXT:     Reserved1: 0x2
    703 MACHO-PPC64-NEXT:     Reserved2: 0x0
    704 MACHO-PPC64-NEXT:     Reserved3: 0x0
    705 MACHO-PPC64-NEXT:     Relocations [
    706 MACHO-PPC64-NEXT:       Relocation {
    707 MACHO-PPC64-NEXT:         Offset: 0x0
    708 MACHO-PPC64-NEXT:         PCRel: 0
    709 MACHO-PPC64-NEXT:         Length: 3
    710 MACHO-PPC64-NEXT:         Type:  (0)
    711 MACHO-PPC64-NEXT:         Symbol: dyld_stub_binding_helper (5)
    712 MACHO-PPC64-NEXT:       }
    713 MACHO-PPC64-NEXT:     ]
    714 MACHO-PPC64-NEXT:     Symbols [
    715 MACHO-PPC64-NEXT:     ]
    716 MACHO-PPC64-NEXT:     SectionData (
    717 MACHO-PPC64-NEXT:       0000: 00000000 00000000                    |........|
    718 MACHO-PPC64-NEXT:     )
    719 MACHO-PPC64-NEXT:   }
    720 MACHO-PPC64-NEXT: ]
    721 
    722 MACHO-ARM:      Sections [
    723 MACHO-ARM-NEXT:   Section {
    724 MACHO-ARM-NEXT:     Index: 0
    725 MACHO-ARM-NEXT:     Name: __text (5F 5F 74 65 78 74 00 00 00 00 00 00 00 00 00 00)
    726 MACHO-ARM-NEXT:     Segment: __TEXT (5F 5F 54 45 58 54 00 00 00 00 00 00 00 00 00 00)
    727 MACHO-ARM-NEXT:     Address: 0x0
    728 MACHO-ARM-NEXT:     Size: 0x3C
    729 MACHO-ARM-NEXT:     Offset: 664
    730 MACHO-ARM-NEXT:     Alignment: 2
    731 MACHO-ARM-NEXT:     RelocationOffset: 0x2E0
    732 MACHO-ARM-NEXT:     RelocationCount: 9
    733 MACHO-ARM-NEXT:     Type: 0x0
    734 MACHO-ARM-NEXT:     Attributes [ (0x800004)
    735 MACHO-ARM-NEXT:       PureInstructions (0x800000)
    736 MACHO-ARM-NEXT:       SomeInstructions (0x4)
    737 MACHO-ARM-NEXT:     ]
    738 MACHO-ARM-NEXT:     Reserved1: 0x0
    739 MACHO-ARM-NEXT:     Reserved2: 0x0
    740 MACHO-ARM-NEXT:     Relocations [
    741 MACHO-ARM-NEXT:       Relocation {
    742 MACHO-ARM-NEXT:         Offset: 0x38
    743 MACHO-ARM-NEXT:         PCRel: 0
    744 MACHO-ARM-NEXT:         Length: 2
    745 MACHO-ARM-NEXT:         Type: ARM_RELOC_SECTDIFF (2)
    746 MACHO-ARM-NEXT:         Value: 0x40
    747 MACHO-ARM-NEXT:       }
    748 MACHO-ARM-NEXT:       Relocation {
    749 MACHO-ARM-NEXT:         Offset: 0x0
    750 MACHO-ARM-NEXT:         PCRel: 0
    751 MACHO-ARM-NEXT:         Length: 2
    752 MACHO-ARM-NEXT:         Type: ARM_RELOC_PAIR (1)
    753 MACHO-ARM-NEXT:         Value: 0x28
    754 MACHO-ARM-NEXT:       }
    755 MACHO-ARM-NEXT:       Relocation {
    756 MACHO-ARM-NEXT:         Offset: 0x20
    757 MACHO-ARM-NEXT:         PCRel: 1
    758 MACHO-ARM-NEXT:         Length: 2
    759 MACHO-ARM-NEXT:         Type: ARM_RELOC_BR24 (5)
    760 MACHO-ARM-NEXT:         Symbol: _g
    761 MACHO-ARM-NEXT:       }
    762 MACHO-ARM-NEXT:       Relocation {
    763 MACHO-ARM-NEXT:         Offset: 0x1C
    764 MACHO-ARM-NEXT:         PCRel: 0
    765 MACHO-ARM-NEXT:         Length: 1
    766 MACHO-ARM-NEXT:         Type: ARM_RELOC_HALF (8)
    767 MACHO-ARM-NEXT:         Symbol: _g
    768 MACHO-ARM-NEXT:       }
    769 MACHO-ARM-NEXT:       Relocation {
    770 MACHO-ARM-NEXT:         Offset: 0x0
    771 MACHO-ARM-NEXT:         PCRel: 0
    772 MACHO-ARM-NEXT:         Length: 1
    773 MACHO-ARM-NEXT:         Type: ARM_RELOC_PAIR (1)
    774 MACHO-ARM-NEXT:         Section: -
    775 MACHO-ARM-NEXT:       }
    776 MACHO-ARM-NEXT:       Relocation {
    777 MACHO-ARM-NEXT:         Offset: 0x18
    778 MACHO-ARM-NEXT:         PCRel: 0
    779 MACHO-ARM-NEXT:         Length: 0
    780 MACHO-ARM-NEXT:         Type: ARM_RELOC_HALF (8)
    781 MACHO-ARM-NEXT:         Symbol: _g
    782 MACHO-ARM-NEXT:       }
    783 MACHO-ARM-NEXT:       Relocation {
    784 MACHO-ARM-NEXT:         Offset: 0x0
    785 MACHO-ARM-NEXT:         PCRel: 0
    786 MACHO-ARM-NEXT:         Length: 0
    787 MACHO-ARM-NEXT:         Type: ARM_RELOC_PAIR (1)
    788 MACHO-ARM-NEXT:         Section: -
    789 MACHO-ARM-NEXT:       }
    790 MACHO-ARM-NEXT:       Relocation {
    791 MACHO-ARM-NEXT:         Offset: 0xC
    792 MACHO-ARM-NEXT:         PCRel: 0
    793 MACHO-ARM-NEXT:         Length: 2
    794 MACHO-ARM-NEXT:         Type: ARM_RELOC_SECTDIFF (2)
    795 MACHO-ARM-NEXT:         Value: 0x44
    796 MACHO-ARM-NEXT:       }
    797 MACHO-ARM-NEXT:       Relocation {
    798 MACHO-ARM-NEXT:         Offset: 0x0
    799 MACHO-ARM-NEXT:         PCRel: 0
    800 MACHO-ARM-NEXT:         Length: 2
    801 MACHO-ARM-NEXT:         Type: ARM_RELOC_PAIR (1)
    802 MACHO-ARM-NEXT:         Value: 0x4
    803 MACHO-ARM-NEXT:       }
    804 MACHO-ARM-NEXT:     ]
    805 MACHO-ARM-NEXT:     Symbols [
    806 MACHO-ARM-NEXT:       Symbol {
    807 MACHO-ARM-NEXT:         Name: _f (4)
    808 MACHO-ARM-NEXT:         Extern
    809 MACHO-ARM-NEXT:         Type: Section (0xE)
    810 MACHO-ARM-NEXT:         Section: __text (0x1)
    811 MACHO-ARM-NEXT:         RefType: UndefinedNonLazy (0x0)
    812 MACHO-ARM-NEXT:         Flags [ (0x0)
    813 MACHO-ARM-NEXT:         ]
    814 MACHO-ARM-NEXT:         Value: 0x10
    815 MACHO-ARM-NEXT:       }
    816 MACHO-ARM-NEXT:       Symbol {
    817 MACHO-ARM-NEXT:         Name: _h (1)
    818 MACHO-ARM-NEXT:         Extern
    819 MACHO-ARM-NEXT:         Type: Section (0xE)
    820 MACHO-ARM-NEXT:         Section: __text (0x1)
    821 MACHO-ARM-NEXT:         RefType: UndefinedNonLazy (0x0)
    822 MACHO-ARM-NEXT:         Flags [ (0x0)
    823 MACHO-ARM-NEXT:         ]
    824 MACHO-ARM-NEXT:         Value: 0x0
    825 MACHO-ARM-NEXT:       }
    826 MACHO-ARM-NEXT:     ]
    827 MACHO-ARM-NEXT:     SectionData (
    828 MACHO-ARM-NEXT:       0000: 04009FE5 00009FE7 1EFF2FE1 38000000  |........../.8...|
    829 MACHO-ARM-NEXT:       0010: 80402DE9 0D70A0E1 000000E3 000040E3  |. (a] -..p........@.|
    830 MACHO-ARM-NEXT:       0020: F6FFFFEB 0C009FE5 00009FE7 000090E5  |................|
    831 MACHO-ARM-NEXT:       0030: 8040BDE8 1EFF2FE1 10000000           |. (a] ..../.....|
    832 MACHO-ARM-NEXT:     )
    833 MACHO-ARM-NEXT:   }
    834 MACHO-ARM-NEXT:   Section {
    835 MACHO-ARM-NEXT:     Index: 1
    836 MACHO-ARM-NEXT:     Name: __textcoal_nt (5F 5F 74 65 78 74 63 6F 61 6C 5F 6E 74 00 00 00)
    837 MACHO-ARM-NEXT:     Segment: __TEXT (5F 5F 54 45 58 54 00 00 00 00 00 00 00 00 00 00)
    838 MACHO-ARM-NEXT:     Address: 0x3C
    839 MACHO-ARM-NEXT:     Size: 0x0
    840 MACHO-ARM-NEXT:     Offset: 724
    841 MACHO-ARM-NEXT:     Alignment: 0
    842 MACHO-ARM-NEXT:     RelocationOffset: 0x0
    843 MACHO-ARM-NEXT:     RelocationCount: 0
    844 MACHO-ARM-NEXT:     Type: 0xB
    845 MACHO-ARM-NEXT:     Attributes [ (0x800000)
    846 MACHO-ARM-NEXT:       PureInstructions (0x800000)
    847 MACHO-ARM-NEXT:     ]
    848 MACHO-ARM-NEXT:     Reserved1: 0x0
    849 MACHO-ARM-NEXT:     Reserved2: 0x0
    850 MACHO-ARM-NEXT:     Relocations [
    851 MACHO-ARM-NEXT:     ]
    852 MACHO-ARM-NEXT:     Symbols [
    853 MACHO-ARM-NEXT:     ]
    854 MACHO-ARM-NEXT:     SectionData (
    855 MACHO-ARM-NEXT:     )
    856 MACHO-ARM-NEXT:   }
    857 MACHO-ARM-NEXT:   Section {
    858 MACHO-ARM-NEXT:     Index: 2
    859 MACHO-ARM-NEXT:     Name: __const_coal (5F 5F 63 6F 6E 73 74 5F 63 6F 61 6C 00 00 00 00)
    860 MACHO-ARM-NEXT:     Segment: __TEXT (5F 5F 54 45 58 54 00 00 00 00 00 00 00 00 00 00)
    861 MACHO-ARM-NEXT:     Address: 0x3C
    862 MACHO-ARM-NEXT:     Size: 0x0
    863 MACHO-ARM-NEXT:     Offset: 724
    864 MACHO-ARM-NEXT:     Alignment: 0
    865 MACHO-ARM-NEXT:     RelocationOffset: 0x0
    866 MACHO-ARM-NEXT:     RelocationCount: 0
    867 MACHO-ARM-NEXT:     Type: 0xB
    868 MACHO-ARM-NEXT:     Attributes [ (0x0)
    869 MACHO-ARM-NEXT:     ]
    870 MACHO-ARM-NEXT:     Reserved1: 0x0
    871 MACHO-ARM-NEXT:     Reserved2: 0x0
    872 MACHO-ARM-NEXT:     Relocations [
    873 MACHO-ARM-NEXT:     ]
    874 MACHO-ARM-NEXT:     Symbols [
    875 MACHO-ARM-NEXT:     ]
    876 MACHO-ARM-NEXT:     SectionData (
    877 MACHO-ARM-NEXT:     )
    878 MACHO-ARM-NEXT:   }
    879 MACHO-ARM-NEXT:   Section {
    880 MACHO-ARM-NEXT:     Index: 3
    881 MACHO-ARM-NEXT:     Name: __picsymbolstub4 (5F 5F 70 69 63 73 79 6D 62 6F 6C 73 74 75 62 34)
    882 MACHO-ARM-NEXT:     Segment: __TEXT (5F 5F 54 45 58 54 00 00 00 00 00 00 00 00 00 00)
    883 MACHO-ARM-NEXT:     Address: 0x3C
    884 MACHO-ARM-NEXT:     Size: 0x0
    885 MACHO-ARM-NEXT:     Offset: 724
    886 MACHO-ARM-NEXT:     Alignment: 0
    887 MACHO-ARM-NEXT:     RelocationOffset: 0x0
    888 MACHO-ARM-NEXT:     RelocationCount: 0
    889 MACHO-ARM-NEXT:     Type: 0x8
    890 MACHO-ARM-NEXT:     Attributes [ (0x0)
    891 MACHO-ARM-NEXT:     ]
    892 MACHO-ARM-NEXT:     Reserved1: 0x0
    893 MACHO-ARM-NEXT:     Reserved2: 0x10
    894 MACHO-ARM-NEXT:     Relocations [
    895 MACHO-ARM-NEXT:     ]
    896 MACHO-ARM-NEXT:     Symbols [
    897 MACHO-ARM-NEXT:     ]
    898 MACHO-ARM-NEXT:     SectionData (
    899 MACHO-ARM-NEXT:     )
    900 MACHO-ARM-NEXT:   }
    901 MACHO-ARM-NEXT:   Section {
    902 MACHO-ARM-NEXT:     Index: 4
    903 MACHO-ARM-NEXT:     Name: __StaticInit (5F 5F 53 74 61 74 69 63 49 6E 69 74 00 00 00 00)
    904 MACHO-ARM-NEXT:     Segment: __TEXT (5F 5F 54 45 58 54 00 00 00 00 00 00 00 00 00 00)
    905 MACHO-ARM-NEXT:     Address: 0x3C
    906 MACHO-ARM-NEXT:     Size: 0x0
    907 MACHO-ARM-NEXT:     Offset: 724
    908 MACHO-ARM-NEXT:     Alignment: 0
    909 MACHO-ARM-NEXT:     RelocationOffset: 0x0
    910 MACHO-ARM-NEXT:     RelocationCount: 0
    911 MACHO-ARM-NEXT:     Type: 0x0
    912 MACHO-ARM-NEXT:     Attributes [ (0x800000)
    913 MACHO-ARM-NEXT:       PureInstructions (0x800000)
    914 MACHO-ARM-NEXT:     ]
    915 MACHO-ARM-NEXT:     Reserved1: 0x0
    916 MACHO-ARM-NEXT:     Reserved2: 0x0
    917 MACHO-ARM-NEXT:     Relocations [
    918 MACHO-ARM-NEXT:     ]
    919 MACHO-ARM-NEXT:     Symbols [
    920 MACHO-ARM-NEXT:     ]
    921 MACHO-ARM-NEXT:     SectionData (
    922 MACHO-ARM-NEXT:     )
    923 MACHO-ARM-NEXT:   }
    924 MACHO-ARM-NEXT:   Section {
    925 MACHO-ARM-NEXT:     Index: 5
    926 MACHO-ARM-NEXT:     Name: __data (5F 5F 64 61 74 61 00 00 00 00 00 00 00 00 00 00)
    927 MACHO-ARM-NEXT:     Segment: __DATA (5F 5F 44 41 54 41 00 00 00 00 00 00 00 00 00 00)
    928 MACHO-ARM-NEXT:     Address: 0x3C
    929 MACHO-ARM-NEXT:     Size: 0x4
    930 MACHO-ARM-NEXT:     Offset: 724
    931 MACHO-ARM-NEXT:     Alignment: 2
    932 MACHO-ARM-NEXT:     RelocationOffset: 0x0
    933 MACHO-ARM-NEXT:     RelocationCount: 0
    934 MACHO-ARM-NEXT:     Type: 0x0
    935 MACHO-ARM-NEXT:     Attributes [ (0x0)
    936 MACHO-ARM-NEXT:     ]
    937 MACHO-ARM-NEXT:     Reserved1: 0x0
    938 MACHO-ARM-NEXT:     Reserved2: 0x0
    939 MACHO-ARM-NEXT:     Relocations [
    940 MACHO-ARM-NEXT:     ]
    941 MACHO-ARM-NEXT:     Symbols [
    942 MACHO-ARM-NEXT:       Symbol {
    943 MACHO-ARM-NEXT:         Name: _b (10)
    944 MACHO-ARM-NEXT:         Extern
    945 MACHO-ARM-NEXT:         Type: Section (0xE)
    946 MACHO-ARM-NEXT:         Section: __data (0x6)
    947 MACHO-ARM-NEXT:         RefType: UndefinedNonLazy (0x0)
    948 MACHO-ARM-NEXT:         Flags [ (0x0)
    949 MACHO-ARM-NEXT:         ]
    950 MACHO-ARM-NEXT:         Value: 0x3C
    951 MACHO-ARM-NEXT:       }
    952 MACHO-ARM-NEXT:     ]
    953 MACHO-ARM-NEXT:     SectionData (
    954 MACHO-ARM-NEXT:       0000: 2A000000                             |*...|
    955 MACHO-ARM-NEXT:     )
    956 MACHO-ARM-NEXT:   }
    957 MACHO-ARM-NEXT:   Section {
    958 MACHO-ARM-NEXT:     Index: 6
    959 MACHO-ARM-NEXT:     Name: __nl_symbol_ptr (5F 5F 6E 6C 5F 73 79 6D 62 6F 6C 5F 70 74 72 00)
    960 MACHO-ARM-NEXT:     Segment: __DATA (5F 5F 44 41 54 41 00 00 00 00 00 00 00 00 00 00)
    961 MACHO-ARM-NEXT:     Address: 0x40
    962 MACHO-ARM-NEXT:     Size: 0x8
    963 MACHO-ARM-NEXT:     Offset: 728
    964 MACHO-ARM-NEXT:     Alignment: 2
    965 MACHO-ARM-NEXT:     RelocationOffset: 0x0
    966 MACHO-ARM-NEXT:     RelocationCount: 0
    967 MACHO-ARM-NEXT:     Type: 0x6
    968 MACHO-ARM-NEXT:     Attributes [ (0x0)
    969 MACHO-ARM-NEXT:     ]
    970 MACHO-ARM-NEXT:     Reserved1: 0x0
    971 MACHO-ARM-NEXT:     Reserved2: 0x0
    972 MACHO-ARM-NEXT:     Relocations [
    973 MACHO-ARM-NEXT:     ]
    974 MACHO-ARM-NEXT:     Symbols [
    975 MACHO-ARM-NEXT:     ]
    976 MACHO-ARM-NEXT:     SectionData (
    977 MACHO-ARM-NEXT:       0000: 00000000 00000000                    |........|
    978 MACHO-ARM-NEXT:     )
    979 MACHO-ARM-NEXT:   }
    980 MACHO-ARM-NEXT: ]
    981