From f96e4c7fd52673d1575e6585df09e5586152a9fd Mon Sep 17 00:00:00 2001
From: M R Swami Reddy <MR.Swami.Reddy@nsc.com>
Date: Wed, 18 Jun 2008 11:03:03 +0000
Subject: [PATCH]    common.h (EM_CR16): Correct value.    (EM_CR16): Rename to
 EM_CR16_OLD.

---
 include/elf/common.h | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/include/elf/common.h b/include/elf/common.h
index bd28ebd4d31..91759405034 100644
--- a/include/elf/common.h
+++ b/include/elf/common.h
@@ -235,6 +235,7 @@
 #define EM_METAG	174	/* Imagination Technologies META processor architecture */
 #define EM_MCST_ELBRUS	175	/* MCST Elbrus general purpose hardware architecture */
 #define EM_ECOG16	176	/* Cyan Technology eCOG16 family */
+#define EM_CR16		177	/* National Semiconductor CompactRISC 16-bit processor */
 
 /* If it is necessary to assign new unofficial EM_* values, please pick large
    random numbers (0x8523, 0xa7f2, etc.) to minimize the chances of collision
@@ -258,8 +259,8 @@
 /* picoJava */
 #define EM_PJ_OLD      		99
 
-/* National Semiconductor CompactRISC - CR16 */
-#define EM_CR16			115
+/* Old, unofficial value for National Semiconductor CompactRISC - CR16 */
+#define EM_CR16_OLD		115
 
 /* AVR magic number.  Written in the absense of an ABI.  */
 #define EM_AVR_OLD		0x1057