aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2006-01-09 17:21:17 +0000
committerNick Clifton <nickc@redhat.com>2006-01-09 17:21:17 +0000
commitfd50e04bf1436d5942a22029710a76520e021911 (patch)
tree1701a87d23770ddb25ed920dd1367c1f31c65cae
parente3786825c0ccb9c8117db88bdd21cdc61800c617 (diff)
downloadnewlib-fd50e04bf1436d5942a22029710a76520e021911.zip
newlib-fd50e04bf1436d5942a22029710a76520e021911.tar.gz
newlib-fd50e04bf1436d5942a22029710a76520e021911.tar.bz2
Define EM_ALTERA_NIOS2 and EM_NIOS32.
-rw-r--r--include/elf/ChangeLog4
-rw-r--r--include/elf/common.h8
2 files changed, 10 insertions, 2 deletions
diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog
index 55621dc..372bef5 100644
--- a/include/elf/ChangeLog
+++ b/include/elf/ChangeLog
@@ -1,3 +1,7 @@
+2006-01-09 Mike Frysinger <vapier@gentoo.org>:
+
+ * common.h (EM_ALTERA_NIOS2, EM_NIOS32) Define.
+
2005-12-16 Nathan Sidwell <nathan@codesourcery.com>
Second part of ms1 to mt renaming.
diff --git a/include/elf/common.h b/include/elf/common.h
index faed731..0108c4f 100644
--- a/include/elf/common.h
+++ b/include/elf/common.h
@@ -183,6 +183,7 @@
#define EM_CR 103 /* National Semiconductor CompactRISC */
#define EM_MSP430 105 /* TI msp430 micro controller */
#define EM_BLACKFIN 106 /* ADI Blackfin */
+#define EM_ALTERA_NIOS2 113 /* Altera Nios II soft-core processor */
#define EM_CRX 114 /* National Semiconductor CRX */
/* If it is necessary to assign new unofficial EM_* values, please pick large
@@ -267,11 +268,14 @@
Written in the absense everything. */
#define EM_MSP430_OLD 0x1059
+/* Old, unofficial value for Xtensa. */
+#define EM_XTENSA_OLD 0xabc7
+
/* Vitesse IQ2000. */
#define EM_IQ2000 0xFEBA
-/* Old, unofficial value for Xtensa. */
-#define EM_XTENSA_OLD 0xabc7
+/* NIOS magic number - no EABI available. */
+#define EM_NIOS32 0xFEBB
/* See the above comment before you add a new EM_* value here. */