Re: [edk2-devel] [PATCH v4] BaseTools GenFw: Add support for RISCV GOT/PLT relocations

2021-07-12 Thread Pete Batard
Since I was also impacted by this in the RISC-V NTFS driver, and I can vouch that this patch does produce a functional executable when tested with QEMU, I'll add my T-b as well. On 2021.06.24 14:25, Sunil V L wrote: Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=3096 This patch adds supp

[edk2-devel] [PATCH v4] BaseTools GenFw: Add support for RISCV GOT/PLT relocations

2021-06-24 Thread Sunil V L
Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=3096 This patch adds support for R_RISCV_CALL_PLT and R_RISCV_GOT_HI20 relocations generated by PIE enabled compiler. This also needed changes to R_RISCV_32 and R_RISCV_64 relocations as explained in https://github.com/riscv/riscv-gnu-toolchain/i