[PATCH] D77694: [WIP][RISCV][ELF] Linker relaxation support

Scott Egerton via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Apr 12 12:16:43 PDT 2020


s.egerton added a comment.

Hello, thanks for uploading this, it s great to see more work in the same area. I have also been working on relocation relaxation in LLD. I have been focussing on relaxing R_RISCV_CALL relocations for now. My approach is not too dissimilar from yours. I plan to upload a similar patch in the future.



================
Comment at: lld/ELF/Arch/RISCV.cpp:37
-  void relocate(uint8_t *loc, const Relocation &rel,
-                uint64_t val) const override;
 };
----------------
This needs to be re-added.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D77694/new/

https://reviews.llvm.org/D77694





More information about the llvm-commits mailing list