aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-riscv-elf/ifunc-seperate-nonplt-pie.d
blob: c9c9eabaeb08157c04933216b198a9a888baa42e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#name: Link shared ifunc resolver with non-PLT caller (pie)
#source: ifunc-seperate-caller-nonplt.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