[csw-devel] SF.net SVN: gar:[20709] csw/mgar/pkg/lang-python/pyelftools/trunk
wahwah at users.sourceforge.net
wahwah at users.sourceforge.net
Mon Apr 15 00:55:11 CEST 2013
Revision: 20709
http://gar.svn.sourceforge.net/gar/?rev=20709&view=rev
Author: wahwah
Date: 2013-04-14 22:55:09 +0000 (Sun, 14 Apr 2013)
Log Message:
-----------
lang-python/pyelftools/trunk: Add more machine types (most importantly, number 18, EM_SPARC32PLUS)
Modified Paths:
--------------
csw/mgar/pkg/lang-python/pyelftools/trunk/Makefile
Added Paths:
-----------
csw/mgar/pkg/lang-python/pyelftools/trunk/files/0001-Updated-list-of-e_machine-values.patch
Modified: csw/mgar/pkg/lang-python/pyelftools/trunk/Makefile
===================================================================
--- csw/mgar/pkg/lang-python/pyelftools/trunk/Makefile 2013-04-14 20:48:30 UTC (rev 20708)
+++ csw/mgar/pkg/lang-python/pyelftools/trunk/Makefile 2013-04-14 22:55:09 UTC (rev 20709)
@@ -10,10 +10,10 @@
endef
CATEGORIES = python
-MASTER_SITES = $(PYPI_MIRROR)
DISTFILES = $(DISTNAME).tar.gz
-CONFIGURE_ARGS = $(DIRPATHS)
+PATCHFILES += 0001-Updated-list-of-e_machine-values.patch
+
TEST_SCRIPTS =
ARCHALL_CSWpy-pyelftools = 1
Added: csw/mgar/pkg/lang-python/pyelftools/trunk/files/0001-Updated-list-of-e_machine-values.patch
===================================================================
--- csw/mgar/pkg/lang-python/pyelftools/trunk/files/0001-Updated-list-of-e_machine-values.patch (rev 0)
+++ csw/mgar/pkg/lang-python/pyelftools/trunk/files/0001-Updated-list-of-e_machine-values.patch 2013-04-14 22:55:09 UTC (rev 20709)
@@ -0,0 +1,117 @@
+From e384aee31c66e285fe0404d54e633ba2f82a0c69 Mon Sep 17 00:00:00 2001
+From: Maciej Blizinski <maciej at opencsw.org>
+Date: Mon, 15 Apr 2013 00:53:00 +0200
+Subject: [PATCH] Updated list of e_machine values.
+
+Source:
+http://www.scs.stanford.edu/11wi-cs140/pintos/specs/sysv-abi-update.html/ch4.eheader.html
+
+Also for Solaris-relevant stuff:
+http://docs.oracle.com/cd/E26505_01/html/E26506/chapter6-43405.html
+---
+ elftools/elf/enums.py | 76 ++++++++++++++++++++++++++++++++++++++++++++++++---
+ 1 file changed, 72 insertions(+), 4 deletions(-)
+
+diff --git a/elftools/elf/enums.py b/elftools/elf/enums.py
+index 78302ae..72f4fa0 100644
+--- a/elftools/elf/enums.py
++++ b/elftools/elf/enums.py
+@@ -65,7 +65,8 @@ ENUM_E_TYPE = dict(
+ )
+
+ # e_machine in the ELF header
+-# (this list is currently somewhat partial...)
++# Source:
++# http://www.scs.stanford.edu/11wi-cs140/pintos/specs/sysv-abi-update.html/ch4.eheader.html
+ ENUM_E_MACHINE = dict(
+ EM_NONE=0,
+ EM_M32=1,
+@@ -73,15 +74,82 @@ ENUM_E_MACHINE = dict(
+ EM_386=3,
+ EM_68K=4,
+ EM_88K=5,
+- EM_486=6,
+ EM_860=7,
+ EM_MIPS=8,
+ EM_S370=9,
+- EM_MIPS_RS4_BE=10,
++ EM_MIPS_RS3_LE=10,
++ EM_PARISC=15,
++ EM_VPP500=17,
++ EM_SPARC32PLUS=18,
++ EM_960=19,
++ EM_PPC=20,
++ EM_PPC64=21,
++ EM_S390=22,
++ EM_V800=36,
++ EM_FR20=37,
++ EM_RH32=38,
++ EM_RCE=39,
++ EM_ARM=40,
++ EM_ALPHA=41,
++ EM_SH=42,
++ EM_SPARCV9=43,
++ EM_TRICORE=44,
++ EM_ARC=45,
++ EM_H8_300=46,
++ EM_H8_300H=47,
++ EM_H8S=48,
++ EM_H8_500=49,
+ EM_IA_64=50,
++ EM_MIPS_X=51,
++ EM_COLDFIRE=52,
++ EM_68HC12=53,
++ EM_MMA=54,
++ EM_PCP=55,
++ EM_NCPU=56,
++ EM_NDR1=57,
++ EM_STARCORE=58,
++ EM_ME16=59,
++ EM_ST100=60,
++ EM_TINYJ=61,
+ EM_X86_64=62,
++ EM_PDSP=63,
++ EM_PDP10=64,
++ EM_PDP11=65,
++ EM_FX66=66,
++ EM_ST9PLUS=67,
++ EM_ST7=68,
++ EM_68HC16=69,
++ EM_68HC11=70,
++ EM_68HC08=71,
++ EM_68HC05=72,
++ EM_SVX=73,
++ EM_ST19=74,
++ EM_VAX=75,
++ EM_CRIS=76,
++ EM_JAVELIN=77,
++ EM_FIREPATH=78,
++ EM_ZSP=79,
++ EM_MMIX=80,
++ EM_HUANY=81,
++ EM_PRISM=82,
+ EM_AVR=83,
+- EM_L10M=180,
++ EM_FR30=84,
++ EM_D10V=85,
++ EM_D30V=86,
++ EM_V850=87,
++ EM_M32R=88,
++ EM_MN10300=89,
++ EM_MN10200=90,
++ EM_PJ=91,
++ EM_OPENRISC=92,
++ EM_ARC_A5=93,
++ EM_XTENSA=94,
++ EM_VIDEOCORE=95,
++ EM_TMM_GPP=96,
++ EM_NS32K=97,
++ EM_TPC=98,
++ EM_SNP1K=99,
++ EM_ST200=100,
+ _default_=Pass,
+ )
+
+--
+1.8.1.4
+
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list