This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

PATCH: PR ld/5530: Linux/ia64 linker is broken


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)
 		{


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]