X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=opcodes%2Fmsp430-decode.opc;h=50e27bca30d655de6c484859c8eeccafe04392de;hb=5aae9ae97f65f6651cf91db856a1f8b4bef5e896;hp=9428467ed13d92cce28ddaccc0aae51ad251268e;hpb=2b804145796e948fa4c025c07eb201e700281e6b;p=deliverable%2Fbinutils-gdb.git diff --git a/opcodes/msp430-decode.opc b/opcodes/msp430-decode.opc index 9428467ed1..50e27bca30 100644 --- a/opcodes/msp430-decode.opc +++ b/opcodes/msp430-decode.opc @@ -1,5 +1,5 @@ /* -*- c -*- */ -/* Copyright (C) 2013-2016 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;