aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-kvx/farcall-call.d
blob: 6db1f168f7429d48997d452b853c4864a595630f (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
#name: kvx-farcall-call
#source: farcall-call.s
#as:
#ld: -Ttext 0x1000 --section-start .foo=0x20001000
#objdump: -dr
#...

Disassembly of section .text:


.* <_start>:
.*:	.. .. .. 18                                     	call .* <__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;;