[lld] [lld][LoongArch] Support the R_LARCH_CALL36 relocation type (PR #73346)

WÁNG Xuěruì via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 21 04:52:24 PST 2023


================
@@ -590,6 +591,24 @@ void LoongArch::relocate(uint8_t *loc, const Relocation &rel,
     write32le(loc, setD10k16(read32le(loc), val >> 2));
     return;
 
+  case R_LARCH_CALL36: {
+    // This relocation is designed for the adjancent pcaddu18i+jirl pair that
----------------
xen0n wrote:

```suggestion
    // This relocation is designed for adjacent pcaddu18i+jirl pairs that
```

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


More information about the llvm-commits mailing list