[lld] [llvm] [LoongArch] Use R_LARCH_ALIGN with section symbol (PR #84741)

Lu Weining via llvm-commits llvm-commits at lists.llvm.org
Sun Mar 17 23:31:40 PDT 2024


================
@@ -226,11 +226,8 @@ bool LoongArchAsmBackend::shouldInsertFixupForCodeAlign(
       MCFixup::create(0, Dummy, MCFixupKind(LoongArch::fixup_loongarch_align));
----------------
SixWeining wrote:

But `llvm-mc` is used in lld's tests. If `llvm-mc` is changed, lld's test will fail (i.e. `lld/test/ELF/loongarch-relax-emit-relocs.s`).

https://github.com/llvm/llvm-project/pull/84741


More information about the llvm-commits mailing list