[PATCH] RISC-V: Add DT_RISCV_GP dynamic tag to fix the uninitialized gp for ifunc.

Nelson Chu nelson.chu@sifive.com
Wed Dec 2 02:56:52 GMT 2020


On Wed, Dec 2, 2020 at 10:50 AM Jim Wilson <jimw@sifive.com> wrote:
> There probably should be some discussion with RISC-V International before adding a new dynamic tag, seeing as how SiFive doesn't actually own the RISC-V architecture.  I created an abi issue for this
>     https://github.com/riscv/riscv-elf-psabi-doc/issues/165
> This will require an equivalent llvm/lld change.  And the FreeBSD toolchain developers are affected too.

Thanks for this Jim, we do need to discuss this in the psabi at first.

Nelson


More information about the Binutils mailing list