PATCH: ld/1208: Print out unresolvable relocation name
H. J. Lu
hjl@lucon.org
Mon Aug 22 21:02:00 GMT 2005
In PR ld/1208, the linker is right. But the message is unclear. The
R_386_GOTOFF relocation is only for local symbols. This patch prints
out unresolvable relocation name.
H.J.
----
2005-08-22 H.J. Lu <hongjiu.lu@intel.com>
PR ld/1208
* elf32-i386.c (elf_i386_relocate_section): Print out the name
of unresolvable relocation.
--- bfd/elf32-i386.c.reloc 2005-08-21 13:51:38.000000000 -0700
+++ bfd/elf32-i386.c 2005-08-22 13:55:21.000000000 -0700
@@ -3058,10 +3058,11 @@ elf_i386_relocate_section (bfd *output_b
&& 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);
return FALSE;
}
More information about the Binutils
mailing list