]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - opcodes/msp430-decode.opc
Update year range in copyright notice of binutils files
[thirdparty/binutils-gdb.git] / opcodes / msp430-decode.opc
index 5afd3f346b5db548adee8cb368a872776fd0c7d2..b31b8df980bb13fe4e159d7af710a3ccd5239374 100644 (file)
@@ -1,5 +1,5 @@
 /* -*- c -*- */
-/* Copyright (C) 2013-2018 Free Software Foundation, Inc.
+/* Copyright (C) 2013-2019 Free Software Foundation, Inc.
    Contributed by Red Hat.
    Written by DJ Delorie.
 
@@ -24,7 +24,8 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
-#include "ansidecl.h"
+#include "bfd.h"
+#include "opintl.h"
 #include "opcode/msp430-decode.h"
 
 static int trace = 0;
@@ -140,9 +141,9 @@ immediate (int bytes, int sign_extend, LocalData *ld)
        i -= 0x100000000ULL;
       break;
     default:
-      fprintf (stderr,
-              "Programmer error: immediate() called with invalid byte count %d\n",
-              bytes);
+      opcodes_error_handler
+       (_("internal error: immediate() called with invalid byte count %d"),
+          bytes);
       abort ();
     }
   return i;