1 #name: Link shared ifunc resolver with non-PLT caller (exe)
2 #source: ifunc-seperate-caller-nonplt.s
3 #as:
4 #ld: -z nocombreloc tmpdir/ifunc-seperate-resolver.so
5 #warning: .*
6 #readelf: -rW
7 
8 Relocation section '.rela.got' at .*
9 [ ]+Offset[ ]+Info[ ]+Type[ ]+.*
10 [0-9a-f]+[ 	]+[0-9a-f]+[ 	]+R_RISCV_(32|64)[ 	]+[0-9a-f]+[ 	]+foo \+ 0
11 #...
12 Relocation section '.rela.plt' at .*
13 [ ]+Offset[ ]+Info[ ]+Type[ ]+.*
14 [0-9a-f]+[ 	]+[0-9a-f]+[ 	]+R_RISCV_JUMP_SLOT[ 	]+[0-9a-f]+[ 	]+foo \+ 0
15