Projet_SETI_RISC-V/riscv-gnu-toolchain/binutils/ld/testsuite/ld-riscv-elf/ifunc-seperate-nonplt-pic.d
2023-03-06 14:48:14 +01:00

14 lines
470 B
Makefile

#name: Link shared ifunc resolver with non-PLT caller (pic)
#source: ifunc-seperate-caller-nonplt.s
#as:
#ld: -z nocombreloc -shared tmpdir/ifunc-seperate-resolver.so
#readelf: -rW
Relocation section '.rela.data' at .*
[ ]+Offset[ ]+Info[ ]+Type[ ]+.*
[0-9a-f]+[ ]+[0-9a-f]+[ ]+R_RISCV_(32|64)[ ]+[0-9a-f]+[ ]+foo \+ 0
#...
Relocation section '.rela.got' at .*
[ ]+Offset[ ]+Info[ ]+Type[ ]+.*
[0-9a-f]+[ ]+[0-9a-f]+[ ]+R_RISCV_(32|64)[ ]+[0-9a-f]+[ ]+foo \+ 0