[PATCH] D138135: [lld][ELF] Support LoongArch

Xi Ruoyao via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jan 21 20:53:05 PST 2023


xry111 added a comment.

FWIW, BFD linker handles R_LARCH_PCALA_HI20 by creating a PLT for every R_LARCH_PCALA_HI20 against an undefined symbol.  This can be really annoying if someone happens to make a simple typo in a symbol name (causing an runtime crash which is difficult to be diagnosed).  And I guess using such an approach in LLD will annoy LLD maintainers.

//We are out here to contribute, to make contact with the FLOSS project maintainers, to establish friendly relations but not to cause trouble, and absolutely not to annoy people.  And now, look at what we are doing.// ref. <https://memory-alpha.fandom.com/wiki/Galaxy's_Child_(episode)#Memorable_quotes>


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