2012-08-13 22:52:54 +08:00
|
|
|
#name: aarch64-farcall-b
|
|
|
|
#source: farcall-b.s
|
|
|
|
#as:
|
|
|
|
#ld: -Ttext 0x1000 --section-start .foo=0x8001000
|
|
|
|
#objdump: -dr
|
|
|
|
#...
|
|
|
|
|
|
|
|
Disassembly of section .text:
|
|
|
|
|
|
|
|
0000000000001000 <_start>:
|
2015-03-22 16:31:18 +08:00
|
|
|
+1000: 14000003 b 100c <__bar_veneer>
|
2012-08-13 22:52:54 +08:00
|
|
|
+1004: d65f03c0 ret
|
2015-03-22 16:31:18 +08:00
|
|
|
[ \t]+1008:[ \t]+14000007[ \t]+b[ \t]+1024 <__bar_veneer\+0x18>
|
|
|
|
000000000000100c <__bar_veneer>:
|
|
|
|
100c: 90040010 adrp x16, 8001000 <bar>
|
|
|
|
1010: 91000210 add x16, x16, #0x0
|
|
|
|
1014: d61f0200 br x16
|
2012-08-13 22:52:54 +08:00
|
|
|
...
|
|
|
|
|
|
|
|
Disassembly of section .foo:
|
|
|
|
|
|
|
|
0000000008001000 <bar>:
|
|
|
|
8001000: d65f03c0 ret
|