[PATCH] D100835: [WIP][LLD][RISCV] Linker Relaxation
Chih-Mao Chen via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 21 04:38:06 PDT 2021
PkmX updated this revision to Diff 339181.
PkmX marked an inline comment as done and an inline comment as not done.
PkmX edited the summary of this revision.
PkmX added a comment.
This address some of the comments by @jrtc27:
- Check for empty relocation vector is moved into `processRelaxations`
- Remove the iteration limit for relaxation
- Don't perform alignment handling for relocatable link
- No more `mutData` in `InputSectionBase`, now it uses `copiedData` to check if a mutable copy has been made.
- `DeleteRanges` is now a `std::vector` of `offset` and `size` pairs.
- `oneof` now tests for two 64-bit masks depending on which subset (<64 or >= 64) the expr is in.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D100835/new/
https://reviews.llvm.org/D100835
Files:
lld/ELF/Arch/RISCV.cpp
lld/ELF/Config.h
lld/ELF/Driver.cpp
lld/ELF/InputSection.cpp
lld/ELF/InputSection.h
lld/ELF/Options.td
lld/ELF/Relocations.cpp
lld/ELF/Relocations.h
lld/ELF/Target.h
lld/ELF/Writer.cpp
lld/test/ELF/riscv-gp.s
lld/test/ELF/riscv-relax-align-rvc.s
lld/test/ELF/riscv-relax-align.s
lld/test/ELF/riscv-relax-call.s
lld/test/ELF/riscv-relax-hi20-lo12.s
lld/test/ELF/riscv-relax-pcrel.s
lld/test/ELF/riscv-relax-syms.s
lld/test/ELF/riscv-reloc-align.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D100835.339181.patch
Type: text/x-patch
Size: 38676 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210421/b842c7ec/attachment.bin>
More information about the llvm-commits
mailing list