2014-09-12 22:14:23 +00:00
|
|
|
#name: aarch64-farcall-bl
|
|
|
|
#source: farcall-bl.s
|
|
|
|
#as:
|
|
|
|
#ld: -Ttext 0x1000 --section-start .foo=0x8001000
|
|
|
|
#objdump: -dr
|
|
|
|
#...
|
|
|
|
|
|
|
|
Disassembly of section .text:
|
|
|
|
|
2017-04-10 11:32:00 +00:00
|
|
|
0+1000 <_start>:
|
|
|
|
+1000: 94000003 bl 100c <__bar_veneer>
|
2014-09-12 22:14:23 +00:00
|
|
|
+1004: d65f03c0 ret
|
2017-04-10 11:32:00 +00:00
|
|
|
[ \t]+1008:[ \t]+14000007[ \t]+b[ \t]+1024 <__bar_veneer\+0x18>
|
|
|
|
0+100c <__bar_veneer>:
|
|
|
|
100c: 90040010 adrp x16, 8001000 <bar>
|
|
|
|
1010: 91000210 add x16, x16, #0x0
|
|
|
|
1014: d61f0200 br x16
|
2014-09-12 22:14:23 +00:00
|
|
|
...
|
|
|
|
|
|
|
|
Disassembly of section .foo:
|
|
|
|
|
2017-04-10 11:32:00 +00:00
|
|
|
0+8001000 <bar>:
|
2014-09-12 22:14:23 +00:00
|
|
|
8001000: d65f03c0 ret
|