[PATCH] Allow memset local PLT reference for RISC-V.
Florian Weimer
fweimer@redhat.com
Mon Jun 29 16:18:34 GMT 2020
* Alistair Francis:
> Ah, I just checked libgcc, it has the memset PLT call:
>
> 0000020e <.L27>:
> 20e: 0605 addi a2,a2,1
> 210: 060a slli a2,a2,0x2
> 212: 4581 li a1,0
> 214: 00000097 auipc ra,0x0
> 214: R_RISCV_CALL_PLT memset
> 214: R_RISCV_RELAX *ABS*
> 218: 000080e7 jalr ra # 214 <.L27+0x6>
>
> There are a few of them in libgcc.a as well.
And that's linked into libc.so?
I would suggest to figure out the name of the function (not sure why
objdump doesn't print it in your case), and add that to the comment
localplt.data.
Thanks,
Florian
More information about the Libc-alpha
mailing list