[lld] [LLD] Add support for statically resolved vendor-specific RISCV relocations. (PR #169273)
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 13 01:04:15 PST 2026
================
@@ -40,6 +41,14 @@ using namespace lld::elf;
std::string elf::toStr(Ctx &ctx, RelType type) {
StringRef s = getELFRelocationTypeName(ctx.arg.emachine, type);
+ if (ctx.arg.emachine == EM_RISCV && s == "Unknown") {
----------------
MaskRay wrote:
We should keep this to RISCV.cpp
https://github.com/llvm/llvm-project/pull/169273
More information about the llvm-commits
mailing list