Commit | Line | Data |
---|---|---|
60df3720 TC |
1 | #PROG: objcopy |
2 | #source: out-of-order.s | |
3 | #ld: -T out-of-order.T | |
4 | #objdump: -D | |
5 | #name: Check if disassembler can handle all sections in different order than header | |
6 | ||
7 | .*: +file format .*aarch64.* | |
8 | ||
9 | Disassembly of section \.global: | |
10 | ||
05805feb TC |
11 | .+ <\.global>: |
12 | ... | |
60df3720 TC |
13 | |
14 | Disassembly of section \.func2: | |
15 | ||
05805feb TC |
16 | .+ <\.func2>: |
17 | [^:]+: 8b010000 add x0, x0, x1 | |
60df3720 TC |
18 | |
19 | Disassembly of section \.func1: | |
20 | ||
05805feb TC |
21 | .+ <v1>: |
22 | [^:]+: 8b010000 add x0, x0, x1 | |
09c1e68a | 23 | [^:]+: 00000000 udf #0 |
60df3720 TC |
24 | |
25 | Disassembly of section \.func3: | |
26 | ||
05805feb TC |
27 | .+ <\.func3>: |
28 | [^:]+: 8b010000 add x0, x0, x1 | |
29 | [^:]+: 8b010000 add x0, x0, x1 | |
30 | [^:]+: 8b010000 add x0, x0, x1 | |
31 | [^:]+: 8b010000 add x0, x0, x1 | |
32 | [^:]+: 8b010000 add x0, x0, x1 | |
09c1e68a | 33 | [^:]+: 00000000 udf #0 |
60df3720 TC |
34 | |
35 | Disassembly of section \.rodata: | |
36 | ||
05805feb | 37 | .+ <\.rodata>: |
09c1e68a | 38 | [^:]+: 00000000 udf #0 |