Retro68/binutils/ld/testsuite/ld-riscv-elf/ifunc-seperate-plt-pie.d

19 lines
621 B
D
Raw Normal View History

2022-10-27 18:45:45 +00:00
#name: Link shared ifunc resolver with PLT caller (pie)
#source: ifunc-seperate-caller-plt.s
#as:
#ld: -z nocombreloc -pie tmpdir/ifunc-seperate-resolver.so
#warning: .*
#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
#...
Relocation section '.rela.plt' at .*
[ ]+Offset[ ]+Info[ ]+Type[ ]+.*
[0-9a-f]+[ ]+[0-9a-f]+[ ]+R_RISCV_JUMP_SLOT[ ]+[0-9a-f]+[ ]+foo \+ 0