[ARC] Fix parsing leave_s and enter_s mnemonics.
[deliverable/binutils-gdb.git] / binutils / elfedit.c
index 1bcb48aba89bb87b9394fe27cd5ea7d971f36af3..20c5043c9aaf4fc95ee0ebb6824cf8f0d52ca046 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;
     }
 }
 
@@ -656,7 +655,7 @@ static struct option options[] =
   {0,                  no_argument, 0, 0}
 };
 
-static void
+ATTRIBUTE_NORETURN static void
 usage (FILE *stream, int exit_status)
 {
   fprintf (stream, _("Usage: %s <option(s)> elffile(s)\n"),
This page took 0.023166 seconds and 4 git commands to generate.