aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Ludd <solar@gentoo.org>2006-06-10 19:09:24 +0000
committerNed Ludd <solar@gentoo.org>2006-06-10 19:09:24 +0000
commit2d5d880b147ef9b2c688feff77a12695c1343257 (patch)
treedcb0d701f2ac3826bba17f4af1f15cd56f77ab74
parent- update copyright (diff)
downloadpax-utils-2d5d880b147ef9b2c688feff77a12695c1343257.tar.gz
pax-utils-2d5d880b147ef9b2c688feff77a12695c1343257.tar.bz2
pax-utils-2d5d880b147ef9b2c688feff77a12695c1343257.zip
- sync up 95-110 values for e_machine extentions.
-rw-r--r--elf.h19
-rw-r--r--paxelf.c18
2 files changed, 35 insertions, 2 deletions
diff --git a/elf.h b/elf.h
index 0f34dfa..3e204c6 100644
--- a/elf.h
+++ b/elf.h
@@ -242,7 +242,24 @@ typedef struct
#define EM_OPENRISC 92 /* OpenRISC 32-bit embedded processor */
#define EM_ARC_A5 93 /* ARC Cores Tangent-A5 */
#define EM_XTENSA 94 /* Tensilica Xtensa Architecture */
-#define EM_NUM 95
+#define EM_VIDEOCORE 95 /* Alphamosaic VideoCore processor */
+#define EM_TMM_GPP 96 /* Thompson Multimedia General Purpose Proc */
+#define EM_NS32K 97 /* National Semiconductor 32000 series */
+#define EM_TPC 98 /* Tenor Network TPC processor */
+#define EM_SNP1K 99 /* Trebia SNP 1000 processor */
+#define EM_ST200 100 /* STMicroelectronics ST200 microcontroller */
+#define EM_IP2K 101 /* Ubicom IP2xxx microcontroller family */
+#define EM_MAX 102 /* MAX Processor */
+#define EM_CR 103 /* NatSemi CompactRISC microprocessor */
+#define EM_F2MC16 104 /* Fujitsu F2MC16 */
+#define EM_MSP430 105 /* TI embedded microcontroller msp430 */
+#define EM_BLACKFIN 106 /* Analog Devices Blackfin (DSP) processor */
+#define EM_SE_C33 107 /* S1C33 Family of Seiko Epson processors */
+#define EM_SEP 108 /* Sharp embedded microprocessor */
+#define EM_ARCA 109 /* Arca RISC Microprocessor */
+#define EM_UNICORE 110 /* Microprocessor series from PKU-Unity Ltd. */
+ /* and MPRC of Peking University */
+#define EM_NUM 111
/* If it is necessary to assign new unofficial EM_* values, please
pick large random numbers (0x8523, 0xa7f2, etc.) to minimize the
diff --git a/paxelf.c b/paxelf.c
index bd6f959..2a2a837 100644
--- a/paxelf.c
+++ b/paxelf.c
@@ -1,7 +1,7 @@
/*
* Copyright 2003-2006 Gentoo Foundation
* Distributed under the terms of the GNU General Public License v2
- * $Header: /var/cvsroot/gentoo-projects/pax-utils/paxelf.c,v 1.48 2006/02/18 15:51:11 solar Exp $
+ * $Header: /var/cvsroot/gentoo-projects/pax-utils/paxelf.c,v 1.49 2006/06/10 19:09:24 solar Exp $
*
* Copyright 2005-2006 Ned Ludd - <solar@gentoo.org>
* Copyright 2005-2006 Mike Frysinger - <vapier@gentoo.org>
@@ -205,6 +205,22 @@ static pairtype elf_emtypes[] = {
QUERY(EM_OPENRISC),
QUERY(EM_ARC_A5),
QUERY(EM_XTENSA),
+ QUERY(EM_VIDEOCORE),
+ QUERY(EM_TMM_GPP),
+ QUERY(EM_NS32K),
+ QUERY(EM_TPC),
+ QUERY(EM_SNP1K),
+ QUERY(EM_ST200),
+ QUERY(EM_IP2K),
+ QUERY(EM_MAX),
+ QUERY(EM_CR),
+ QUERY(EM_F2MC16),
+ QUERY(EM_MSP430),
+ QUERY(EM_BLACKFIN),
+ QUERY(EM_SE_C33),
+ QUERY(EM_SEP),
+ QUERY(EM_ARCA),
+ QUERY(EM_UNICORE),
QUERY(EM_NUM),
QUERY(EM_ALPHA),
{ 0, 0 }