2 #source: out-of-order.s
3 #ld: -e v1 -Ttext-segment=0x400000
5 #skip: *-*-pe *-wince-* *-*-coff
6 #name: Check if disassembler can handle all sections in default order
8 .*: +file format .*arm.*
10 Disassembly of section \.func1:
13 [^:]+: e0800001 add r0, r0, r1
14 [^:]+: 00000000 andeq r0, r0, r0
16 Disassembly of section \.func2:
19 [^:]+: e0800001 add r0, r0, r1
21 Disassembly of section \.func3:
24 [^:]+: e0800001 add r0, r0, r1
25 [^:]+: e0800001 add r0, r0, r1
26 [^:]+: e0800001 add r0, r0, r1
27 [^:]+: e0800001 add r0, r0, r1
28 [^:]+: e0800001 add r0, r0, r1
29 [^:]+: 00000000 andeq r0, r0, r0
31 Disassembly of section \.rodata:
34 [^:]+: 00000000 andeq r0, r0, r0
36 Disassembly of section \.global:
41 Disassembly of section \.ARM\.attributes:
43 .+ <\.ARM\.attributes>: