summaryrefslogtreecommitdiff
path: root/bfd/elf-hppa.h
diff options
context:
space:
mode:
authorH.J. Lu <hjl@lucon.org>2005-08-25 02:32:11 +0000
committerH.J. Lu <hjl@lucon.org>2005-08-25 02:32:11 +0000
commit7a7fb5c51c8afb22a7558b432fccdf2ffe631f73 (patch)
tree44d10670f64ac925d3c6770b22ede8446301f5a1 /bfd/elf-hppa.h
parent47ac2b98338708ca73d49226ee9d6058107b53c3 (diff)
downloadbinutils-redhat-7a7fb5c51c8afb22a7558b432fccdf2ffe631f73.tar.gz
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/elf-hppa.h')
-rw-r--r--bfd/elf-hppa.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/bfd/elf-hppa.h b/bfd/elf-hppa.h
index 92f13e682c..c4ad5ad712 100644
--- a/bfd/elf-hppa.h
+++ b/bfd/elf-hppa.h
@@ -1410,8 +1410,12 @@ elf_hppa_relocate_section (bfd *output_bfd,
if (sym_sec->output_section == NULL && dyn_h == NULL)
{
(*_bfd_error_handler)
- (_("%B(%A): warning: unresolvable relocation against symbol `%s'"),
- input_bfd, input_section, h->root.root.string);
+ (_("%B(%A+0x%lx): unresolvable %s relocation against symbol `%s'"),
+ input_bfd,
+ input_section,
+ (long) rel->r_offset,
+ howto->name,
+ h->root.root.string);
relocation = 0;
}
else if (sym_sec->output_section)