| 1 |
#PROG: objcopy |
| 2 |
#source: out-of-order.s |
| 3 |
#ld: -e v1 -Ttext-segment=0x400000 |
| 4 |
#objdump: -D |
| 5 |
#name: Check if disassembler can handle all sections in default order |
| 6 |
|
| 7 |
.*: +file format .*aarch64.* |
| 8 |
|
| 9 |
Disassembly of section \.func1: |
| 10 |
|
| 11 |
.+ <v1>: |
| 12 |
[^:]+: 8b010000 add x0, x0, x1 |
| 13 |
[^:]+: 00000000 udf #0 |
| 14 |
|
| 15 |
Disassembly of section \.func2: |
| 16 |
|
| 17 |
.+ <\.func2>: |
| 18 |
[^:]+: 8b010000 add x0, x0, x1 |
| 19 |
|
| 20 |
Disassembly of section \.func3: |
| 21 |
|
| 22 |
.+ <\.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 udf #0 |
| 29 |
|
| 30 |
Disassembly of section \.rodata: |
| 31 |
|
| 32 |
.+ <\.rodata>: |
| 33 |
[^:]+: 00000000 udf #0 |
| 34 |
|
| 35 |
Disassembly of section .global: |
| 36 |
|
| 37 |
.+ <.+>: |
| 38 |
... |