]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - ld/testsuite/ld-riscv-elf/ifunc-seperate-nonplt-pie.d
RISC-V: Support GNU indirect functions.
[thirdparty/binutils-gdb.git] / ld / testsuite / ld-riscv-elf / ifunc-seperate-nonplt-pie.d
1 #name: Link shared ifunc resolver with non-PLT caller (pie)
2 #source: ifunc-seperate-caller-nonplt.s
3 #as:
4 #ld: -z nocombreloc -pie tmpdir/ifunc-seperate-resolver.so
5 #warning: .*
6 #readelf: -rW
7
8 Relocation section '.rela.data' 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.got' at .*
13 [ ]+Offset[ ]+Info[ ]+Type[ ]+.*
14 [0-9a-f]+[ ]+[0-9a-f]+[ ]+R_RISCV_(32|64)[ ]+[0-9a-f]+[ ]+foo \+ 0