[PATCH] D138135: [lld][ELF] Support LoongArch
Jinyang He via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon May 29 18:35:35 PDT 2023
MQ-mengqing added inline comments.
================
Comment at: lld/ELF/Arch/LoongArch.cpp:418
+ case R_LARCH_GOT64_PC_LO20:
+ case R_LARCH_GOT64_PC_HI12:
+ return R_LOONGARCH_GOT_PAGE_PC;
----------------
Since TLS_GD also uses GOT64_PC_{HI20, LO12}, it may have something mistake.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D138135/new/
https://reviews.llvm.org/D138135
More information about the llvm-commits
mailing list