[RFC] RISC-V: Support STO_RISCV_VARIANT_CC and DT_RISCV_VARIANT_CC.

Nelson Chu nelson.chu@sifive.com
Fri Aug 13 11:12:16 GMT 2021
On Fri, Aug 13, 2021 at 11:13 AM Fangrui Song <i@maskray.me> wrote:
> Quick comment:
>
> For LLD's STO_RISCV_VARIANT_CC patch, I asked what to do with
> STT_GNU_IFUNC. The reply was that nothing is needed.
> Does RISC-V do special things with IFUNC? I haven't looked at the patch.
> https://reviews.llvm.org/D93045

For ifunc, yes nothing special needs to be done in ld.  Just the
assembler need to take care the .set cases as follow,
https://sourceware.org/pipermail/binutils/2019-May/106966.html

Thanks
Nelson


More information about the Binutils mailing list