aboutsummaryrefslogtreecommitdiff
path: root/bfd/elfxx-sparc.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2005-08-25 02:32:11 +0000
committerH.J. Lu <hjl.tools@gmail.com>2005-08-25 02:32:11 +0000
commit843fe662b9589a111d4ac7cb8f94e79a7326b0e8 (patch)
tree64c83e577ef6c28a7ce6acd683264d03baf73e5d /bfd/elfxx-sparc.c
parentbd0b04d84eb137f8879308b4e214ce97cbfd6d19 (diff)
downloadgdb-843fe662b9589a111d4ac7cb8f94e79a7326b0e8.zip
gdb-843fe662b9589a111d4ac7cb8f94e79a7326b0e8.tar.gz
gdb-843fe662b9589a111d4ac7cb8f94e79a7326b0e8.tar.bz2
2005-08-24 H.J. Lu <hongjiu.lu@intel.com>
PR ld/1208 * elf-hppa.h (elf_hppa_relocate_section): Print out the name of unresolvable relocation. * elf-m10300.c (mn10300_elf_relocate_section): Likewise. * elf32-arm.c (elf32_arm_relocate_section): Likewise. * elf32-i386.c (elf_i386_relocate_section): Likewise. * elf32-m32r.c (m32r_elf_relocate_section): Likewise. * elf32-m68k.c (elf_m68k_relocate_section): Likewise. * elf32-s390.c (elf_s390_relocate_section): Likewise. * elf32-sh.c (sh_elf_relocate_section): Likewise. * elf32-xtensa.c (elf_xtensa_relocate_section): Likewise. * elf64-s390.c (elf_s390_relocate_section): Likewise. * elf64-sh64.c (sh_elf64_relocate_section): Likewise. * elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise. * elfxx-sparc.c (_bfd_sparc_elf_relocate_section): Likewise.
Diffstat (limited to 'bfd/elfxx-sparc.c')
-rw-r--r--bfd/elfxx-sparc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/bfd/elfxx-sparc.c b/bfd/elfxx-sparc.c
index b83cd14..264f262 100644
--- a/bfd/elfxx-sparc.c
+++ b/bfd/elfxx-sparc.c
@@ -3138,10 +3138,11 @@ _bfd_sparc_elf_relocate_section (bfd *output_bfd, struct bfd_link_info *info,
&& !((input_section->flags & SEC_DEBUGGING) != 0
&& h->def_dynamic))
(*_bfd_error_handler)
- (_("%B(%A+0x%lx): unresolvable relocation against symbol `%s'"),
+ (_("%B(%A+0x%lx): unresolvable %s relocation against symbol `%s'"),
input_bfd,
input_section,
(long) rel->r_offset,
+ howto->name,
h->root.root.string);
r = bfd_reloc_continue;