unrecognized/unsupported reloc message
[deliverable/binutils-gdb.git] / bfd / elf32-visium.c
index 45f3337d4d67ee450587e47e03a0744e3a40acfd..9310d421207042177462719333784398a8bf107c 100644 (file)
@@ -459,7 +459,7 @@ visium_reloc_name_lookup (bfd *abfd ATTRIBUTE_UNUSED, const char *r_name)
 /* Set the howto pointer for a VISIUM ELF reloc.  */
 
 static void
-visium_info_to_howto_rela (bfd *abfd ATTRIBUTE_UNUSED, arelent *cache_ptr,
+visium_info_to_howto_rela (bfd *abfd, arelent *cache_ptr,
                           Elf_Internal_Rela *dst)
 {
   unsigned int r_type = ELF32_R_TYPE (dst->r_info);
@@ -478,7 +478,8 @@ visium_info_to_howto_rela (bfd *abfd ATTRIBUTE_UNUSED, arelent *cache_ptr,
       if (r_type >= (unsigned int) R_VISIUM_max)
        {
          /* xgettext:c-format */
-         _bfd_error_handler (_("%B: invalid Visium reloc number: %d"), abfd, r_type);
+         _bfd_error_handler (_("%pB: unsupported relocation type %#x"),
+                             abfd, r_type);
          r_type = 0;
        }
       cache_ptr->howto = &visium_elf_howto_table[r_type];
@@ -814,7 +815,7 @@ visium_elf_merge_private_bfd_data (bfd *ibfd, struct bfd_link_info *info)
       if (mismatch)
        _bfd_error_handler
          /* xgettext:c-format */
-         (_("%B: compiled %s -mtune=%s and linked with modules"
+         (_("%pB: compiled %s -mtune=%s and linked with modules"
             " compiled %s -mtune=%s"),
           ibfd, new_opt_with, opt_arch, old_opt_with, opt_arch);
     }
This page took 0.024673 seconds and 4 git commands to generate.