These new relocation types were taken from latest RISC-V binutils.
They are needed by the RISC-V port of lld which we plan to upstream, so we figured we should let this change land in llvm first.
Differential D36455
[RISCV] Recognize new relocation types PkmX on Aug 8 2017, 3:26 AM. Authored by
Details These new relocation types were taken from latest RISC-V binutils. They are needed by the RISC-V port of lld which we plan to upstream, so we figured we should let this change land in llvm first.
Diff Detail
Event TimelineComment Actions Many thanks, R_RISCV_32_PCREL isn't currently documented in the riscv-elf-psabi-doc, but it seems was applied to upstream binutils. Looks good to me. Comment Actions I've committed this patch for you, after verifying R_RISCV_32_PCREL has been included in a release binutils (and therefore can be considered "final" despite not being documented). I've made an issue on the riscv-elf-psabi-doc for documenting this relocation https://github.com/riscv/riscv-elf-psabi-doc/issues/36. Thanks again. |