aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2009-04-30 18:49:37 +0000
committerDJ Delorie <dj@redhat.com>2009-04-30 18:49:37 +0000
commit4e38f72c0f2872a2fbbee5619009e572cf1338dc (patch)
treef04c48ebf8f7f8ac7157c18c06c715fdc086d962 /include
parent5091eb23aa99df6443dc559d2da403ba7a24c406 (diff)
downloadgdb-4e38f72c0f2872a2fbbee5619009e572cf1338dc.zip
gdb-4e38f72c0f2872a2fbbee5619009e572cf1338dc.tar.gz
gdb-4e38f72c0f2872a2fbbee5619009e572cf1338dc.tar.bz2
* mep.h (EF_MEP_COP_*): New.
(EF_MEP_ALL_FLAGS): Add them.
Diffstat (limited to 'include')
-rw-r--r--include/elf/ChangeLog5
-rw-r--r--include/elf/mep.h10
2 files changed, 14 insertions, 1 deletions
diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog
index 6afa1cf..dc2019c 100644
--- a/include/elf/ChangeLog
+++ b/include/elf/ChangeLog
@@ -1,3 +1,8 @@
+2009-04-30 DJ Delorie <dj@redhat.com>
+
+ * mep.h (EF_MEP_COP_*): New.
+ (EF_MEP_ALL_FLAGS): Add them.
+
2009-04-30 Nick Clifton <nickc@redhat.com>
* common.h (STT_GNU_IFUNC): Define.
diff --git a/include/elf/mep.h b/include/elf/mep.h
index 4565516..bf106cb 100644
--- a/include/elf/mep.h
+++ b/include/elf/mep.h
@@ -77,10 +77,18 @@ END_RELOC_NUMBERS(R_MEP_max)
#define EF_MEP_CPU_C5 0x08000000 /* MEP c5 */
#define EF_MEP_CPU_H1 0x10000000 /* MEP h1 */
+#define EF_MEP_COP_MASK 0x00ff0000
+#define EF_MEP_COP_NONE 0x00000000
+#define EF_MEP_COP_AVC 0x00010000
+#define EF_MEP_COP_AVC2 0x00020000
+#define EF_MEP_COP_FMAX 0x00030000
+/* 4..5 are reserved. */
+#define EF_MEP_COP_IVC2 0x00060000
+
#define EF_MEP_LIBRARY 0x00000100 /* Built as a library */
#define EF_MEP_INDEX_MASK 0x000000ff /* Configuration index */
-#define EF_MEP_ALL_FLAGS 0xff0001ff
+#define EF_MEP_ALL_FLAGS 0xffff01ff
#endif /* _ELF_MEP_H */