From 4e38f72c0f2872a2fbbee5619009e572cf1338dc Mon Sep 17 00:00:00 2001 From: DJ Delorie Date: Thu, 30 Apr 2009 18:49:37 +0000 Subject: [PATCH] * mep.h (EF_MEP_COP_*): New. (EF_MEP_ALL_FLAGS): Add them. --- include/elf/ChangeLog | 5 +++++ include/elf/mep.h | 10 +++++++++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog index 6afa1cf1c38..dc2019c705f 100644 --- a/include/elf/ChangeLog +++ b/include/elf/ChangeLog @@ -1,3 +1,8 @@ +2009-04-30 DJ Delorie + + * mep.h (EF_MEP_COP_*): New. + (EF_MEP_ALL_FLAGS): Add them. + 2009-04-30 Nick Clifton * common.h (STT_GNU_IFUNC): Define. diff --git a/include/elf/mep.h b/include/elf/mep.h index 456551669ac..bf106cb06db 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 */ -- 2.30.2