[lld] [RISCV][LLD] Add RISCV zcmt optimise in linker relaxation (PR #77884)
Kito Cheng via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 16 06:10:18 PST 2024
================
@@ -838,9 +893,11 @@ void elf::riscvFinalizeRelax(int passes) {
skip = 4;
write32le(p, aux.writes[writesIdx++]);
break;
+ case R_RISCV_64:
+ break;
case R_RISCV_32:
- // Used by relaxTlsLe to write a uint32_t then suppress the handling
- // in relocateAlloc.
+ // Used by relaxTlsLe to write a uint32_t then suppress the
+ // handling in relocateAlloc.
----------------
kito-cheng wrote:
Keep unchanged since it not related to this change.
https://github.com/llvm/llvm-project/pull/77884
More information about the llvm-commits
mailing list