1 #name
: Link
shared ifunc resolver
with PLT
caller (pic
)
2 #source
: ifunc
-seperate
-caller
-plt
.s
4 #ld
: -z nocombreloc
-shared tmpdir
/ifunc
-seperate
-resolver
.so
7 Relocation section
'.rela.data' at
.*
8 [ ]+Offset
[ ]+Info
[ ]+Type
[ ]+.*
9 [0-9a
-f
]+[ ]+[0-9a
-f
]+[ ]+R_RISCV_(32|
64)[ ]+[0-9a
-f
]+[ ]+foo \
+ 0
11 Relocation section
'.rela.got' at
.*
12 [ ]+Offset
[ ]+Info
[ ]+Type
[ ]+.*
13 [0-9a
-f
]+[ ]+[0-9a
-f
]+[ ]+R_RISCV_(32|
64)[ ]+[0-9a
-f
]+[ ]+foo \
+ 0
15 Relocation section
'.rela.plt' at
.*
16 [ ]+Offset
[ ]+Info
[ ]+Type
[ ]+.*
17 [0-9a
-f
]+[ ]+[0-9a
-f
]+[ ]+R_RISCV_JUMP_SLOT
[ ]+[0-9a
-f
]+[ ]+foo \
+ 0