sim: allow the environment configure option everywhere
[binutils-gdb.git] / binutils / elfedit.c
index 1bcb48aba89bb87b9394fe27cd5ea7d971f36af3..1223b25a657ba2073027e4c9cfe844828ff6d60b 100644 (file)
@@ -1,5 +1,5 @@
 /* elfedit.c -- Update the ELF header of an ELF format file
-   Copyright (C) 2010-2015 Free Software Foundation, Inc.
+   Copyright (C) 2010-2016 Free Software Foundation, Inc.
 
    This file is part of GNU Binutils.
 
@@ -82,8 +82,7 @@ elf_class (int mach)
     case EM_NONE:
       return ELF_CLASS_BOTH;
     default:
-      error (_("Unknown machine type: %d\n"), mach);
-      return ELF_CLASS_UNKNOWN;
+      return ELF_CLASS_BOTH;
     }
 }