[llvm] [SPARC][IAS] Add v8plus feature bit (PR #101367)

Sergei Barannikov via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 1 05:19:31 PDT 2024


================
@@ -697,6 +697,19 @@ enum {
 #include "ELFRelocs/SystemZ.def"
 };
 
+// SPARC Specific e_flags
+enum : unsigned {
+  EF_SPARC_EXT_MASK = 0xffff00,
+  EF_SPARC_32PLUS = 0x000100,
+  EF_SPARC_SUN_US1 = 0x000200,
+  EF_SPARC_HAL_R1 = 0x000400,
+  EF_SPARC_SUN_US3 = 0x000800,
+  EF_SPARCV9_MM = 0x3,
+  EF_SPARCV9_TSO = 0x0,
+  EF_SPARCV9_PSO = 0x1,
+  EF_SPARCV9_RMO = 0x2,
+};
----------------
s-barannikov wrote:

Ah I didn't realize this enum doesn't exist.
It will need to be supported in llvm-readobj etc., probably in separate PR.


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


More information about the llvm-commits mailing list