This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[mep] add coprocessor flags
- From: DJ Delorie <dj at redhat dot com>
- To: binutils at sourceware dot org
- Date: Thu, 30 Apr 2009 14:58:32 -0400
- Subject: [mep] add coprocessor flags
Committed.
2009-04-30 DJ Delorie <dj@redhat.com>
* mep.h (EF_MEP_COP_*): New.
(EF_MEP_ALL_FLAGS): Add them.
Index: mep.h
===================================================================
RCS file: /cvs/src/src/include/elf/mep.h,v
retrieving revision 1.2
diff -p -U3 -r1.2 mep.h
--- mep.h 8 Apr 2009 02:24:19 -0000 1.2
+++ mep.h 30 Apr 2009 18:49:07 -0000
@@ -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 */