1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#PROG: objcopy
#source: out-of-order.s
#ld: -e v1 -Ttext-segment=0x400000
#objdump: -d
#name: Check if disassembler can handle sections in default order
.*: +file format .*aarch64.*
Disassembly of section \.func1:
.+ <v1>:
[^:]+: 8b010000 add x0, x0, x1
[^:]+: 00000000 \.word 0x00000000
Disassembly of section .func2:
.+ <\.func2>:
[^:]+: 8b010000 add x0, x0, x1
Disassembly of section \.func3:
.+ <\.func3>:
[^:]+: 8b010000 add x0, x0, x1
[^:]+: 8b010000 add x0, x0, x1
[^:]+: 8b010000 add x0, x0, x1
[^:]+: 8b010000 add x0, x0, x1
[^:]+: 8b010000 add x0, x0, x1
[^:]+: 00000000 \.word 0x00000000
|