[PATCH] D159082: [ELF][RISCV] Implement --emit-relocs with relaxation

Job Noorman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Sep 2 05:27:03 PDT 2023


jobnoorman updated this revision to Diff 555588.
jobnoorman retitled this revision from "[lld][RISCV] Fix --emit-relocs with relaxation" to "[ELF][RISCV] Implement --emit-relocs with relaxation".
jobnoorman added a comment.

Address @MaskRay's comments:

- Make `MapRel::file` a reference;
- Add tests for --no-relax (and make sure it works because it didn't before);
- Add tests for `R_RISCV_ALIGN`;
- Update title.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D159082

Files:
  lld/ELF/InputSection.cpp
  lld/ELF/InputSection.h
  lld/test/ELF/riscv-relax-emit-relocs.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D159082.555588.patch
Type: text/x-patch
Size: 7647 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230902/3ebc6ded/attachment.bin>


More information about the llvm-commits mailing list