[lld] [lld][LoongArch] Partially fix the handling of R_LARCH_PCALA64_* relocs (PR #73387)

Lu Weining via llvm-commits llvm-commits at lists.llvm.org
Sun Nov 26 07:11:09 PST 2023


SixWeining wrote:

> It looks like bfd and mold use essentially the same logic. If you believe their logic is correct, why don't you just copy that logic too? Doing that eliminates the need to check the code to see if the new code would produce the same output as the others for all possible inputs.

Thanks, just now I update the PR to use the same logic as bfd and mold.

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


More information about the llvm-commits mailing list