2012-08-13 14:52:54 +00:00
|
|
|
#name: aarch64-farcall-b-none-function
|
|
|
|
#source: farcall-b-none-function.s
|
|
|
|
#as:
|
|
|
|
#ld: -Ttext 0x1000 --section-start .foo=0x8001000
|
2016-01-20 16:57:59 +00:00
|
|
|
#objdump: -dr
|
|
|
|
#...
|
|
|
|
|
|
|
|
Disassembly of section .text:
|
|
|
|
|
|
|
|
.* <_start>:
|
|
|
|
1000: 14000003 b 100c <__bar_veneer>
|
|
|
|
1004: d65f03c0 ret
|
|
|
|
1008: 14000007 b 1024 <__bar_veneer\+0x18>
|
|
|
|
|
|
|
|
.* <__bar_veneer>:
|
|
|
|
100c: 90040010 adrp x16, 8001000 <bar>
|
|
|
|
1010: 91000210 add x16, x16, #0x0
|
|
|
|
1014: d61f0200 br x16
|
|
|
|
...
|
|
|
|
|
|
|
|
Disassembly of section .foo:
|
|
|
|
|
|
|
|
.* <bar>:
|
|
|
|
8001000: d65f03c0 ret
|