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

35 lines
765 B
Makefile

#name: kvx-farcall-call-plt
#source: farcall-call-plt.s
#as:
#ld: -shared
#objdump: -dr
#...
Disassembly of section .plt:
.* <.plt>:
...
.* <foo@plt>:
.*: 10 00 c4 0f get \$r16 = \$pc;;
.*: .. .. 40 .. .. .. .. 18 l[wzd]* \$r16 = [0-9]* \(0x[0-9a-f]*\)\[\$r16\];;
.*: 10 00 d8 0f igoto \$r16;;
Disassembly of section .text:
.* <_start>:
...
.*: .. .. 00 18 call .* <__foo_veneer>;;
.*: 00 00 d0 0f ret;;
.* <__foo_veneer>:
.*: .. .. 40 e0 00 00 00 00 make \$r16 = .* \(0x[0-9a-f]*\);;
.*: 10 00 d8 0f igoto \$r16;;