blob: 540a21bc0a331e14f6207f54b0b94c502ba24edc [file] [log] [blame]
#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