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:
11 0000000000400000 <v1>:
12 400000: 8b010000 add x0, x0, x1
13 400004: 00000000 \.word 0x00000000
15 Disassembly of section .func2:
17 0000000000400008 <\.func2>:
18 400008: 8b010000 add x0, x0, x1
20 Disassembly of section \.func3:
22 000000000040000c <\.func3>:
23 40000c: 8b010000 add x0, x0, x1
24 400010: 8b010000 add x0, x0, x1
25 400014: 8b010000 add x0, x0, x1
26 400018: 8b010000 add x0, x0, x1
27 40001c: 8b010000 add x0, x0, x1
28 400020: 00000000 \.word 0x00000000