X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=opcodes%2Fmsp430-decode.opc;h=50e27bca30d655de6c484859c8eeccafe04392de;hb=beea5cc1bc2249389dc77ea0c86ab82dafd05bb5;hp=77f1e86f2faf4674e4ac73ac663d1e83d882f260;hpb=2571583aed598dd3f9651b53434e5f177a0e3cf7;p=deliverable%2Fbinutils-gdb.git diff --git a/opcodes/msp430-decode.opc b/opcodes/msp430-decode.opc index 77f1e86f2f..50e27bca30 100644 --- a/opcodes/msp430-decode.opc +++ b/opcodes/msp430-decode.opc @@ -1,5 +1,5 @@ /* -*- c -*- */ -/* Copyright (C) 2013-2017 Free Software Foundation, Inc. +/* Copyright (C) 2013-2020 Free Software Foundation, Inc. Contributed by Red Hat. Written by DJ Delorie. @@ -24,7 +24,8 @@ #include #include #include -#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;