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