From e8f5af786c7665141f6644998b8c427ad466d474 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 27 Feb 2018 12:16:04 +0000 Subject: 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. --- bfd/aout-cris.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bfd/aout-cris.c') diff --git a/bfd/aout-cris.c b/bfd/aout-cris.c index 6a3480e..2b150cd 100644 --- a/bfd/aout-cris.c +++ b/bfd/aout-cris.c @@ -197,7 +197,7 @@ MY (swap_ext_reloc_out) (bfd *abfd, if (r_type > 2) { /* xgettext:c-format */ - _bfd_error_handler (_("%pB: invalid relocation type exported: %d"), + _bfd_error_handler (_("%pB: unsupported relocation type exported: %#x"), abfd, r_type); bfd_set_error (bfd_error_wrong_format); @@ -241,7 +241,7 @@ MY (swap_ext_reloc_in) (bfd *abfd, if (r_type > 2) { /* xgettext:c-format */ - _bfd_error_handler (_("%pB: invalid relocation type imported: %d"), + _bfd_error_handler (_("%pB: unsupported relocation type imported: %#x"), abfd, r_type); bfd_set_error (bfd_error_wrong_format); -- cgit v1.1