unrecognized/unsupported reloc message
[deliverable/binutils-gdb.git] / bfd / elf32-mt.c
index 8ac873ca4e221e1bc5109ba8b571f4ee3afddfa5..efaaf6880b003052c6b812980350b5cf4c3f6d07 100644 (file)
@@ -228,10 +228,9 @@ mt_elf_relocate_hi16
 /* Set the howto pointer for a MT ELF reloc.  */
 
 static void
-mt_info_to_howto_rela
-    (bfd *              abfd ATTRIBUTE_UNUSED,
-     arelent *          cache_ptr,
-     Elf_Internal_Rela * dst)
+mt_info_to_howto_rela (bfd *abfd,
+                      arelent *cache_ptr,
+                      Elf_Internal_Rela *dst)
 {
   unsigned int r_type;
 
@@ -239,7 +238,8 @@ mt_info_to_howto_rela
   if (r_type >= (unsigned int) R_MT_max)
     {
       /* xgettext:c-format */
-      _bfd_error_handler (_("%pB: invalid MT reloc number: %d"), abfd, r_type);
+      _bfd_error_handler (_("%pB: unsupported relocation type %#x"),
+                         abfd, r_type);
       r_type = 0;
     }
   cache_ptr->howto = & mt_elf_howto_table [r_type];
This page took 0.024841 seconds and 4 git commands to generate.