diff options
Diffstat (limited to 'bfd/elf32-visium.c')
-rw-r--r-- | bfd/elf32-visium.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bfd/elf32-visium.c b/bfd/elf32-visium.c index 18c5f75..9310d42 100644 --- a/bfd/elf32-visium.c +++ b/bfd/elf32-visium.c @@ -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 (_("%pB: 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]; |