aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf-hppa.h
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2018-02-27 12:16:04 +0000
committerNick Clifton <nickc@redhat.com>2018-02-27 12:16:04 +0000
commite8f5af786c7665141f6644998b8c427ad466d474 (patch)
treed0130ae5b9717622ba39b91b4847f9c6a9f1c654 /bfd/elf-hppa.h
parentf3185997ac0951edac802e29df03dfc0844fda34 (diff)
downloadgdb-e8f5af786c7665141f6644998b8c427ad466d474.zip
gdb-e8f5af786c7665141f6644998b8c427ad466d474.tar.gz
gdb-e8f5af786c7665141f6644998b8c427ad466d474.tar.bz2
Use standardized error message for unrecognized relocs.
bfd * aout-cris.c (swap_ext_reloc_out): Standadize error/warning message. * elf-hppa.h (elf_hppa_info_to_howto_rel): Likewise. * elf32-i386.c (elf_i386_reloc_type_lookup): Likewise. * elf32-xtensa.c (elf_xtensa_reloc_type_lookup): Likewise. * elf64-ppc.c (ppc64_elf_reloc_type_lookup): Likewise. * elf64-s390.c (elf_s390_reloc_type_lookup): Likewise. * elf64-sh64.c (sh_elf64_info_to_howto): Likewise. * elfxx-ia64.c (ia64_elf_reloc_type_lookup): Likewise. * elfxx-sparc.c (_bfd_sparc_elf_reloc_type_lookup): Likewise. * elfxx-tilegx.c (tilegx_reloc_type_lookup): Likewise.
Diffstat (limited to 'bfd/elf-hppa.h')
-rw-r--r--bfd/elf-hppa.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf-hppa.h b/bfd/elf-hppa.h
index 75b4e26..95ac96c 100644
--- a/bfd/elf-hppa.h
+++ b/bfd/elf-hppa.h
@@ -1051,7 +1051,7 @@ elf_hppa_info_to_howto_rel (bfd *abfd,
if (r_type >= (unsigned int) R_PARISC_UNIMPLEMENTED)
{
/* xgettext:c-format */
- _bfd_error_handler (_("%pB: invalid relocation type %d"), abfd, r_type);
+ _bfd_error_handler (_("%pB: unsupported relocation type %#x"), abfd, r_type);
bfd_set_error (bfd_error_bad_value);
return FALSE;
}