aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-moxie.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/elf32-moxie.c')
-rw-r--r--bfd/elf32-moxie.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/bfd/elf32-moxie.c b/bfd/elf32-moxie.c
index 579aae2..7a617a8 100644
--- a/bfd/elf32-moxie.c
+++ b/bfd/elf32-moxie.c
@@ -124,7 +124,7 @@ moxie_reloc_name_lookup (bfd *abfd ATTRIBUTE_UNUSED, const char *r_name)
/* Set the howto pointer for an MOXIE ELF reloc. */
static void
-moxie_info_to_howto_rela (bfd *abfd ATTRIBUTE_UNUSED,
+moxie_info_to_howto_rela (bfd *abfd,
arelent *cache_ptr,
Elf_Internal_Rela *dst)
{
@@ -134,7 +134,8 @@ moxie_info_to_howto_rela (bfd *abfd ATTRIBUTE_UNUSED,
if (r_type >= (unsigned int) R_MOXIE_max)
{
/* xgettext:c-format */
- _bfd_error_handler (_("%pB: invalid Moxie reloc number: %d"), abfd, r_type);
+ _bfd_error_handler (_("%pB: unsupported relocation type %#x"),
+ abfd, r_type);
r_type = 0;
}
cache_ptr->howto = & moxie_elf_howto_table [r_type];