diff options
author | David S. Miller <davem@redhat.com> | 2008-04-16 01:56:33 +0000 |
---|---|---|
committer | David S. Miller <davem@redhat.com> | 2008-04-16 01:56:33 +0000 |
commit | bca18a16dd095af0f9e1eb0c8f684f49a57736a5 (patch) | |
tree | 1ab4b07da81406d06c4c3e399adf1a9a5a115824 /elfcpp | |
parent | 84cfb2cde1f6ecd0dc02302fa96b49c68363ed11 (diff) | |
download | gdb-bca18a16dd095af0f9e1eb0c8f684f49a57736a5.zip gdb-bca18a16dd095af0f9e1eb0c8f684f49a57736a5.tar.gz gdb-bca18a16dd095af0f9e1eb0c8f684f49a57736a5.tar.bz2 |
* sparc.h (EF_SPARC_EXT_MASK, EF_SPARC_32PLUS_MASK,
EF_SPARC_32PLUS, EF_SPARC_SUN_US1, EF_SPARC_HAL_R1,
EF_SPARC_SUN_US3, EF_SPARC_LEDATA, EF_SPARCV9_MM,
EF_SPARCV9_TSO, EF_SPARCV9_PSO, EF_SPARCV9_RMO):
Define as enum constants.
Diffstat (limited to 'elfcpp')
-rw-r--r-- | elfcpp/ChangeLog | 8 | ||||
-rw-r--r-- | elfcpp/sparc.h | 16 |
2 files changed, 24 insertions, 0 deletions
diff --git a/elfcpp/ChangeLog b/elfcpp/ChangeLog index 0c21040..588620c 100644 --- a/elfcpp/ChangeLog +++ b/elfcpp/ChangeLog @@ -1,3 +1,11 @@ +2008-04-15 David S. Miller <davem@davemloft.net> + + * sparc.h (EF_SPARC_EXT_MASK, EF_SPARC_32PLUS_MASK, + EF_SPARC_32PLUS, EF_SPARC_SUN_US1, EF_SPARC_HAL_R1, + EF_SPARC_SUN_US3, EF_SPARC_LEDATA, EF_SPARCV9_MM, + EF_SPARCV9_TSO, EF_SPARCV9_PSO, EF_SPARCV9_RMO): + Define as enum constants. + 2008-04-11 David S. Miller <davem@davemloft.net> * sparc.h: New file diff --git a/elfcpp/sparc.h b/elfcpp/sparc.h index b403d58..37036fa 100644 --- a/elfcpp/sparc.h +++ b/elfcpp/sparc.h @@ -148,6 +148,22 @@ enum R_SPARC_REV32 = 252, }; +// e_flags values defined for sparc +enum +{ + EF_SPARC_EXT_MASK = 0xffff00, // reserved for vendor extensions + EF_SPARC_32PLUS_MASK = 0xffff00, // bits indicating V8+ type + EF_SPARC_32PLUS = 0x000100, // generic V8+ features + EF_SPARC_SUN_US1 = 0x000200, // Sun UltraSPARC-I extensions + EF_SPARC_HAL_R1 = 0x000400, // HAL R1 extensions + EF_SPARC_SUN_US3 = 0x000800, // Sun UltraSPARC-III extensions + EF_SPARC_LEDATA = 0x800000, // little endian data + EF_SPARCV9_MM = 0x3, // memory model mask + EF_SPARCV9_TSO = 0x0, // total store ordering + EF_SPARCV9_PSO = 0x1, // partial store ordering + EF_SPARCV9_RMO = 0x2, // relaxed store ordering +}; + } // End namespace elfcpp. #endif // !defined(ELFCPP_SPARC_H) |