[lld] [lld][ELF] Support relax R_LARCH_{ALIGN, PCALA_{HI20,LO12}, GOT_PC_{HI20,LO12}} (PR #78692)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 30 00:12:27 PST 2024


================
@@ -225,9 +241,9 @@ class InputSectionBase : public SectionBase {
     // basic blocks.
     JumpInstrMod *jumpInstrMod = nullptr;
 
-    // Auxiliary information for RISC-V linker relaxation. RISC-V does not use
-    // jumpInstrMod.
-    RISCVRelaxAux *relaxAux;
+    // Auxiliary information for RISC-V and LoongArch linker relaxation.
+    // RISC-V and LoongArch does not use jumpInstrMod.
----------------
MaskRay wrote:

They do not use `jumpInstrMod`

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


More information about the llvm-commits mailing list