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