binutils-gdb/ld/testsuite/ld-kvx/farcall-call-section.d

35 lines
897 B
D
Raw Normal View History

2023-08-16 21:22:28 +08:00
#name: kvx-farcall-call-section
#source: farcall-call-section.s
#as:
#ld: -Ttext 0x1000 --section-start .foo=0x20001000
#objdump: -dr
#...
Disassembly of section .text:
.* <_start>:
.*: .. .. .. .. call .* <___veneer>;;
.*: .. .. .. .. call .* <___veneer>;;
.*: 00 00 d0 0f ret;;
.* <___veneer>:
.*: .. 00 40 e0 .. .. .. .. make \$r16 = .* \(0x.*\);;
.*: 10 00 d8 0f igoto \$r16;;
.* <___veneer>:
.*: .. 01 40 e0 .. .. .. .. make \$r16 = .* \(0x.*\);;
.*: 10 00 d8 0f igoto \$r16;;
Disassembly of section .foo:
.* <bar>:
.*: 00 00 d0 0f ret;;
.* <bar2>:
.*: 00 00 d0 0f ret;;