assorted target messages
[binutils-gdb.git] / bfd / elf32-wasm32.c
index 5205bef608a5ed67f3543dc6e521fa5d942f69ac..b9f3cb2c45e14ee8088c5bf221e56c204331d8a3 100644 (file)
@@ -103,8 +103,8 @@ elf32_wasm32_rtype_to_howto (bfd *abfd, unsigned r_type)
   if (i >= ARRAY_SIZE (elf32_wasm32_howto_table))
     {
       /* xgettext:c-format */
-      _bfd_error_handler (_("%B: invalid relocation type %d"),
-                         abfd, (int) r_type);
+      _bfd_error_handler (_("%pB: unsupported relocation type %#x"),
+                         abfd, r_type);
       i = R_WASM32_NONE;
     }
 
@@ -117,7 +117,7 @@ elf32_wasm32_rtype_to_howto (bfd *abfd, unsigned r_type)
 /* Translate the ELF-internal relocation RELA into CACHE_PTR.  */
 
 static void
-elf32_wasm32_info_to_howto_rela (bfd *abfd ATTRIBUTE_UNUSED,
+elf32_wasm32_info_to_howto_rela (bfd *abfd,
                                arelent *cache_ptr,
                                Elf_Internal_Rela *dst)
 {