Commit | Line | Data |
---|---|---|
53b2f36b TC |
1 | #PROG: objcopy |
2 | #ld: -T out-of-order.T | |
60df3720 | 3 | #objdump: -d |
53b2f36b TC |
4 | #name: Check if disassembler can handle sections in different order than header |
5 | ||
6 | .*: +file format .*aarch64.* | |
7 | ||
8 | Disassembly of section \.func2: | |
9 | ||
05805feb TC |
10 | .+ <\.func2>: |
11 | [^:]+: 8b010000 add x0, x0, x1 | |
53b2f36b TC |
12 | |
13 | Disassembly of section \.func1: | |
14 | ||
05805feb TC |
15 | .+ <v1>: |
16 | [^:]+: 8b010000 add x0, x0, x1 | |
17 | [^:]+: 00000000 \.word 0x00000000 | |
53b2f36b TC |
18 | |
19 | Disassembly of section \.func3: | |
20 | ||
05805feb TC |
21 | .+ <\.func3>: |
22 | [^:]+: 8b010000 add x0, x0, x1 | |
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 | [^:]+: 00000000 \.word 0x00000000 |