PATCH: PR ld/5530: Linux/ia64 linker is broken
H.J. Lu
hjl@lucon.org
Mon Dec 31 19:34:00 GMT 2007
I am checking in this patch as an obvious fix.
H.J.
----
2007-12-31 H.J. Lu <hongjiu.lu@intel.com>
PR ld/5530
* elfxx-ia64.c (elfNN_ia64_relocate_section): Call
_bfd_elf_find_segment_containing_section with output_bfd,
instead of input_bfd.
--- ./elfxx-ia64.c.find 2007-12-31 11:04:02.000000000 -0800
+++ ./elfxx-ia64.c 2007-12-31 11:11:02.000000000 -0800
@@ -4897,7 +4897,7 @@ elfNN_ia64_relocate_section (bfd *output
{
/* Find the segment that contains the output_section. */
Elf_Internal_Phdr *p = _bfd_elf_find_segment_containing_section
- (input_bfd, input_section->output_section);
+ (output_bfd, input_section->output_section);
if (p == NULL)
{
More information about the Binutils
mailing list