gdb: add target_ops::supports_displaced_step
[deliverable/binutils-gdb.git] / bfd / coff-mcore.c
index f4ef53bace52c4c98edc1c7397ae56c7b52e89c3..fedcb0ab801df510c34e1d1d37d1e0dc6f646cfd 100644 (file)
@@ -1,5 +1,5 @@
 /* BFD back-end for Motorola MCore COFF/PE
-   Copyright (C) 1999-2017 Free Software Foundation, Inc.
+   Copyright (C) 1999-2020 Free Software Foundation, Inc.
 
    This file is part of BFD, the Binary File Descriptor library.
 
@@ -242,7 +242,7 @@ mcore_coff_unsupported_reloc (bfd * abfd,
   BFD_ASSERT (reloc_entry->howto != (reloc_howto_type *)0);
 
   /* xgettext: c-format */
-  _bfd_error_handler (_("%B: Relocation %s (%d) is not currently supported.\n"),
+  _bfd_error_handler (_("%pB: Relocation %s (%d) is not currently supported.\n"),
                      abfd,
                      reloc_entry->howto->name,
                      reloc_entry->howto->type);
@@ -368,7 +368,7 @@ coff_mcore_relocate_section (bfd * output_bfd,
     {
       _bfd_error_handler
        /* xgettext: c-format */
-       (_("%B: compiled for a %s system and target is %s.\n"),
+       (_("%pB: compiled for a %s system and target is %s.\n"),
         input_bfd,
         bfd_big_endian (input_bfd) ? _("big endian") : _("little endian"),
         bfd_big_endian (output_bfd) ? _("big endian") : _("little endian"));
@@ -470,7 +470,7 @@ coff_mcore_relocate_section (bfd * output_bfd,
        {
        default:
          /* xgettext: c-format */
-         _bfd_error_handler (_("%B: unsupported relocation type 0x%02x"),
+         _bfd_error_handler (_("%pB: unsupported relocation type %#x"),
                              input_bfd, r_type);
          bfd_set_error (bfd_error_bad_value);
          return FALSE;
@@ -478,10 +478,11 @@ coff_mcore_relocate_section (bfd * output_bfd,
        case IMAGE_REL_MCORE_ABSOLUTE:
          _bfd_error_handler
            /* xgettext: c-format */
-           (_("Warning: unsupported reloc %s <file %B, section %A>\n"
-              "sym %ld (%s), r_vaddr %Ld (%#Lx)"),
+           (_("warning: unsupported reloc %s <file %pB, section %pA>\n"
+              "sym %ld (%s), r_vaddr %" PRId64 " (%#" PRIx64 ")"),
             howto->name, input_bfd, input_section,
-            rel->r_symndx, my_name, rel->r_vaddr, rel->r_vaddr);
+            rel->r_symndx, my_name, (int64_t) rel->r_vaddr,
+            (uint64_t) rel->r_vaddr);
          break;
 
        case IMAGE_REL_MCORE_PCREL_IMM8BY4:
This page took 0.032632 seconds and 4 git commands to generate.