[lld] [llvm] [RISCV] add new relocation type for global array accesses with non-constant indices (PR #207901)
Kito Cheng via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 7 22:34:03 PDT 2026
kito-cheng wrote:
> > Does this force LLVM to a use lld as the linker or new enough version of binutils?
>
> How do we handle such situations when we added new relocations? Or haven't we met such situation before?
I would suggest adding a new -m option (or maybe just a -mllvm option) and then the default value is based on `-fbinutils-version=`.
Based on -fuse-ld=lld might be another possibility, but that option may not appeared in compile stage.
https://github.com/llvm/llvm-project/pull/207901
More information about the llvm-commits
mailing list