aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-epiphany.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/elf32-epiphany.c')
-rw-r--r--bfd/elf32-epiphany.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/bfd/elf32-epiphany.c b/bfd/elf32-epiphany.c
index a6b7038..8c24541 100644
--- a/bfd/elf32-epiphany.c
+++ b/bfd/elf32-epiphany.c
@@ -363,7 +363,7 @@ epiphany_elf_relax_section (bfd *abfd, asection *sec,
/* Set the howto pointer for a EPIPHANY ELF reloc. */
static void
-epiphany_info_to_howto_rela (bfd * abfd ATTRIBUTE_UNUSED,
+epiphany_info_to_howto_rela (bfd * abfd,
arelent * cache_ptr,
Elf_Internal_Rela * dst)
{
@@ -373,7 +373,8 @@ epiphany_info_to_howto_rela (bfd * abfd ATTRIBUTE_UNUSED,
if (r_type >= (unsigned int) R_EPIPHANY_max)
{
/* xgettext:c-format */
- _bfd_error_handler (_("%pB: invalid Epiphany reloc number: %d"), abfd, r_type);
+ _bfd_error_handler (_("%pB: unsupported relocation type %#x"),
+ abfd, r_type);
r_type = 0;
}
cache_ptr->howto = & epiphany_elf_howto_table [r_type];