[PATCH] Allow memset local PLT reference for RISC-V.

Florian Weimer fweimer@redhat.com
Mon Jun 29 17:05:11 GMT 2020


* Andreas Schwab:

> On Jun 29 2020, Florian Weimer wrote:
>
>> Okay, then the memcpy symbol hack does not work on RISC-V
>
> Why do you think so?

I think we should see R_RISCV_CALL instead of R_RISCV_CALL_PLT, like
here:

 1be:   00000097                auipc   ra,0x0
                        1be: R_RISCV_CALL       __GI___twalk_r
                        1be: R_RISCV_RELAX      *ABS*

Thanks,
Florian



More information about the Libc-alpha mailing list