[lld] [lld][RISC-V] Implement Qualcomm Relocations (PR #178584)
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Sun Feb 1 09:56:07 PST 2026
https://github.com/MaskRay requested changes to this pull request.
I think the previous PR (#169273) should have ideally gone through the regular maintainer/reviewer pool (such as myself, @smithp35, or @jrtc27—especially given jrtc27's active work on RISC-V patches and the psABI).
While I appreciate the quick approval on this current draft (#178584), I believe we need input from the regular reviewer pool to ensure the long-term health of lld/ELF, and in this instance, perhaps input from RISC-V backend contributors as well.
My primary concern is that this sets a significant precedent for allowing vendor-specific relocations within lld/ELF. Once we open the door for one vendor, it may encourage others to add arbitrary relocation types to the core linker.
Given the sheer number of vendors in the RISC-V ecosystem, the cumulative impact on maintainability could be substantial.
To be clear, I think lenary (Qualcomm)'s work on the assembler side and their exploration of extended branch schemes has been genuinely valuable -
I actually discussed these specific extensions in my recent blog post: [Long branches in compilers, assemblers, and linkers](https://maskray.me/blog/2026-01-25-long-branches-in-compilers-assemblers-and-linkers)
However, I remain cautious about the community's receptance of vendor-specific logic in lld. I would like to pause this until we can reach a consensus on whether this is the right direction for the project.
I'd like to hear broader opinions before this moves out of draft.
https://github.com/llvm/llvm-project/pull/178584
More information about the llvm-commits
mailing list