2 #source: out-of-order.s
5 #skip: *-*-pe *-wince-* *-*-coff
6 #name: Check if disassembler can handle all sections in different order than header
8 .*: +file format .*arm.*
10 Disassembly of section \.global:
15 Disassembly of section \.func2:
18 [^:]+: e0800001 add r0, r0, r1
20 Disassembly of section \.func1:
23 [^:]+: e0800001 add r0, r0, r1
24 [^:]+: 00000000 andeq r0, r0, r0
26 Disassembly of section \.func3:
29 [^:]+: e0800001 add r0, r0, r1
30 [^:]+: e0800001 add r0, r0, r1
31 [^:]+: e0800001 add r0, r0, r1
32 [^:]+: e0800001 add r0, r0, r1
33 [^:]+: e0800001 add r0, r0, r1
34 [^:]+: 00000000 andeq r0, r0, r0
36 Disassembly of section \.rodata:
39 [^:]+: 00000000 andeq r0, r0, r0
41 Disassembly of section \.ARM\.attributes:
43 .+ <\.ARM\.attributes>: