Retro68/binutils/ld/testsuite/ld-aarch64/farcall-b-none-function.d

26 lines
531 B
D
Raw Normal View History

#name: aarch64-farcall-b-none-function
#source: farcall-b-none-function.s
#as:
#ld: -Ttext 0x1000 --section-start .foo=0x8001000
2017-04-10 11:32:00 +00:00
#objdump: -dr
#...
Disassembly of section .text:
.* <_start>:
2018-12-28 15:25:28 +00:00
1000: 14000004 b 1010 <__bar_veneer>
2017-04-10 11:32:00 +00:00
1004: d65f03c0 ret
2018-12-28 15:25:28 +00:00
1008: 14000008 b 1028 <__bar_veneer\+0x18>
100c: d503201f nop
2017-04-10 11:32:00 +00:00
.* <__bar_veneer>:
2018-12-28 15:25:28 +00:00
1010: 90040010 adrp x16, 8001000 <bar>
1014: 91000210 add x16, x16, #0x0
1018: d61f0200 br x16
2017-04-10 11:32:00 +00:00
...
Disassembly of section .foo:
.* <bar>:
8001000: d65f03c0 ret