summaryrefslogtreecommitdiff
path: root/bfd/elf32-wasm32.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/elf32-wasm32.c')
-rw-r--r--bfd/elf32-wasm32.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bfd/elf32-wasm32.c b/bfd/elf32-wasm32.c
index 501dca84390..b9f3cb2c45e 100644
--- a/bfd/elf32-wasm32.c
+++ b/bfd/elf32-wasm32.c
@@ -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 (_("%pB: 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)
{