[llvm] [SPARC] Update the list of ELF relocation types (PR #137916)

via llvm-commits llvm-commits at lists.llvm.org
Fri May 2 21:24:03 PDT 2025


================
@@ -87,3 +87,12 @@ ELF_RELOC(R_SPARC_GOTDATA_LOX10,  81)
 ELF_RELOC(R_SPARC_GOTDATA_OP_HIX22,  82)
 ELF_RELOC(R_SPARC_GOTDATA_OP_LOX10,  83)
 ELF_RELOC(R_SPARC_GOTDATA_OP,     84)
+ELF_RELOC(R_SPARC_H34,            85)
----------------
koachan wrote:

Just adding the ones documented in Solaris docs seem to be a good idea.

`R_SPARC_WDISP10` is there for the CBCond ISA extension, but I've never seen the rest being used - but then again I don't use Solaris so I suppose those might be used in Solaris.

https://github.com/llvm/llvm-project/pull/137916


More information about the llvm-commits mailing list