[llvm] [SPARC][Utilities] Add names for SPARC ELF flags in LLVM binary utilities (PR #102843)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 15 03:59:03 PDT 2024
================
@@ -699,11 +699,19 @@ enum {
// SPARC Specific e_flags
enum : unsigned {
+ // ELF extension mask.
+ // All values are available for EM_SPARC32PLUS & EM_SPARCV9 objects, except
+ // EF_SPARC_32PLUS which is a EM_SPARC32PLUS-only flag.
+ //
+ // Note that those features are not mutually exclusive (one can set more than
+ // one flag in this group).
----------------
koachan wrote:
My understanding is that most flags under one mask group (like `EF_RISCV_FLOAT_ABI_*` or `EF_AVR_ARCH_*` or our own `EF_SPARCV9_*`) is intended to be mutually exclusive choices, no?
Which is the opposite of how `EF_SPARC_*` group works, which is why I feel like it's worth noting.
https://github.com/llvm/llvm-project/pull/102843
More information about the llvm-commits
mailing list