binutils-gdb/ld/testsuite/ld-kvx/farcall-goto-none-function.d
2023-08-16 14:22:54 +01:00

27 lines
605 B
Makefile

#name: kvx-farcall-goto-none-function
#source: farcall-goto-none-function.s
#as:
#ld: -Ttext 0x1000 --section-start .foo=0x20001000
#objdump: -dr
#...
Disassembly of section .text:
.* <_start>:
.*: .. .. .. .. goto .* <__bar_veneer>;;
.*: 00 00 d0 0f ret;;
.* <__bar_veneer>:
.*: .. .. 40 e0 .. .. .. .. make \$r16 = .* \(0x.*\);;
.*: 10 00 d8 0f igoto \$r16;;
Disassembly of section .foo:
.* <bar>:
.*: 00 00 d0 0f ret;;