From a20db47d825bd017d9b2f0c1d9931da76216cd73 Mon Sep 17 00:00:00 2001 From: Ettore Di Giacinto Date: Sat, 28 Nov 2015 15:50:28 +0100 Subject: [PATCH] [entropy.tools] add MIPS to elf_class_strtoint --- lib/entropy/tools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/entropy/tools.py b/lib/entropy/tools.py index 43bf0d925..2ab8e98df 100644 --- a/lib/entropy/tools.py +++ b/lib/entropy/tools.py @@ -2612,7 +2612,7 @@ def elf_class_strtoint(elf_class_str): """ if elf_class_str in ("X86_64", "ELFCLASS64", "PARISC", "SPARCV9", "AARCH64"): return 2 - elif elf_class_str in ("ARM", "386", "ELFCLASS32", "SPARC"): + elif elf_class_str in ("ARM", "386", "ELFCLASS32", "SPARC", "MIPS"): return 1 else: raise ValueError('unsupported %s' % (elf_class_str,))