aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-kvx/farcall-goto-none-function.d
blob: 88b7a277d41729cca7a2c3ed06922ce912a9e799 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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;;