Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[LoongArch] Implement a workaround for R_LARCH_PCALA_LO12
It seems R_LARCH_PCALA_LO12 is sometimes used against JIRL even though such use case is incorrect as per the psABI. At least, `/usr/lib/loongarch64-linux-gnu/libc_nonshared.a(atexit.oS)` on `cfarm400.cfarm.net` contains such relocation. We need this patch to self-host mold on that cfarm machine.
- Loading branch information