Commits

Anonymous committed e111dd6

Comments (0)

Files changed (1)

elftools/elf/enums.py

 )
 
 # 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,
     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,
+    EM_L10M=180,
     _default_=Pass,
 )