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