diff options
Diffstat (limited to 'ld/testsuite/ld-kvx/farcall-goto-none-function.d')
-rw-r--r-- | ld/testsuite/ld-kvx/farcall-goto-none-function.d | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/ld/testsuite/ld-kvx/farcall-goto-none-function.d b/ld/testsuite/ld-kvx/farcall-goto-none-function.d new file mode 100644 index 0000000..88b7a27 --- /dev/null +++ b/ld/testsuite/ld-kvx/farcall-goto-none-function.d @@ -0,0 +1,26 @@ +#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;; + |