aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-mt.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/elf32-mt.c')
-rw-r--r--bfd/elf32-mt.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/bfd/elf32-mt.c b/bfd/elf32-mt.c
index 8ac873c..efaaf68 100644
--- a/bfd/elf32-mt.c
+++ b/bfd/elf32-mt.c
@@ -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];