2 #source: out-of-order.s
3 #ld: -e v1 -Ttext-segment=0x400000
5 #name: Check if disassembler can handle sections in default order
7 .*: +file format .*aarch64.*
9 Disassembly of section \.func1:
12 [^:]+: 8b010000 add x0, x0, x1
13 [^:]+: 00000000 \.word 0x00000000
15 Disassembly of section .func2:
18 [^:]+: 8b010000 add x0, x0, x1
20 Disassembly of section \.func3:
23 [^:]+: 8b010000 add x0, x0, x1
24 [^:]+: 8b010000 add x0, x0, x1
25 [^:]+: 8b010000 add x0, x0, x1
26 [^:]+: 8b010000 add x0, x0, x1
27 [^:]+: 8b010000 add x0, x0, x1
28 [^:]+: 00000000 \.word 0x00000000