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 29 30 31 32 33 34 35 36 37 38
|
#PROG: objcopy
#source: out-of-order.s
#ld: -e v1 -Ttext-segment=0x400000
#objdump: -D
#name: Check if disassembler can handle all sections in default order
.*: +file format .*aarch64.*
Disassembly of section \.func1:
.+ <v1>:
[^:]+: 8b010000 add x0, x0, x1
[^:]+: 00000000 udf #0
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 udf #0
Disassembly of section \.rodata:
.+ <\.rodata>:
[^:]+: 00000000 udf #0
Disassembly of section .global:
.+ <.+>:
...
|