aboutsummaryrefslogtreecommitdiff
path: root/include/elf/cris.h
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2004-11-04 14:53:19 +0000
committerHans-Peter Nilsson <hp@axis.com>2004-11-04 14:53:19 +0000
commitb676888f48385a82787956c6268550b1d7225feb (patch)
tree3dfc27c2923be4207ae72e63d1162937986a9726 /include/elf/cris.h
parent3f1d9edd103618ad098ee229e86c17b771308bd9 (diff)
downloadgdb-b676888f48385a82787956c6268550b1d7225feb.zip
gdb-b676888f48385a82787956c6268550b1d7225feb.tar.gz
gdb-b676888f48385a82787956c6268550b1d7225feb.tar.bz2
* cris.h (EF_CRIS_VARIANT_MASK, EF_CRIS_VARIANT_ANY_V0_V10)
(EF_CRIS_VARIANT_V32, EF_CRIS_VARIANT_COMMON_V10_V32): New macros.
Diffstat (limited to 'include/elf/cris.h')
-rw-r--r--include/elf/cris.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/elf/cris.h b/include/elf/cris.h
index 3bd03e8..ffb64db 100644
--- a/include/elf/cris.h
+++ b/include/elf/cris.h
@@ -98,4 +98,16 @@ END_RELOC_NUMBERS (R_CRIS_max)
/* User symbols in this file have a leading underscore. */
#define EF_CRIS_UNDERSCORE 0x00000001
+/* This is a mask for different incompatible machine variants. */
+#define EF_CRIS_VARIANT_MASK 0x0000000e
+
+/* Variant 0; may contain v0..10 object. */
+#define EF_CRIS_VARIANT_ANY_V0_V10 0x00000000
+
+/* Variant 1; contains v32 object. */
+#define EF_CRIS_VARIANT_V32 0x00000002
+
+/* Variant 2; contains object compatible with v32 and v10. */
+#define EF_CRIS_VARIANT_COMMON_V10_V32 0x00000004
+
#endif /* _ELF_CRIS_H */