diff options
Diffstat (limited to 'ld/testsuite/ld-riscv-elf/ifunc-seperate-nonplt-exe.d')
-rw-r--r-- | ld/testsuite/ld-riscv-elf/ifunc-seperate-nonplt-exe.d | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/ld/testsuite/ld-riscv-elf/ifunc-seperate-nonplt-exe.d b/ld/testsuite/ld-riscv-elf/ifunc-seperate-nonplt-exe.d new file mode 100644 index 00000000000..540a21bc0a3 --- /dev/null +++ b/ld/testsuite/ld-riscv-elf/ifunc-seperate-nonplt-exe.d @@ -0,0 +1,14 @@ +#name: Link shared ifunc resolver with non-PLT caller (exe) +#source: ifunc-seperate-caller-nonplt.s +#as: +#ld: -z nocombreloc tmpdir/ifunc-seperate-resolver.so +#warning: .* +#readelf: -rW + +Relocation section '.rela.got' at .* +[ ]+Offset[ ]+Info[ ]+Type[ ]+.* +[0-9a-f]+[ ]+[0-9a-f]+[ ]+R_RISCV_(32|64)[ ]+[0-9a-f]+[ ]+foo \+ 0 +#... +Relocation section '.rela.plt' at .* +[ ]+Offset[ ]+Info[ ]+Type[ ]+.* +[0-9a-f]+[ ]+[0-9a-f]+[ ]+R_RISCV_JUMP_SLOT[ ]+[0-9a-f]+[ ]+foo \+ 0 |