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

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Fri May 2 20:35:20 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)
----------------
MaskRay wrote:

Some relocation types are legacy. For example, the two GNU_VT are obsoleted. We should just add ones that are used.

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


More information about the llvm-commits mailing list