You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

28 lines
615 B

#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