mirror of
https://github.com/autc04/Retro68.git
synced 2024-12-11 03:52:59 +00:00
15 lines
480 B
Makefile
15 lines
480 B
Makefile
#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
|