2007-12-31 H.J. Lu <hongjiu.lu@intel.com>
authorH.J. Lu <hjl.tools@gmail.com>
Mon, 31 Dec 2007 19:23:07 +0000 (19:23 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Mon, 31 Dec 2007 19:23:07 +0000 (19:23 +0000)
PR ld/5530
* elfxx-ia64.c (elfNN_ia64_relocate_section): Call
_bfd_elf_find_segment_containing_section with output_bfd,
instead of input_bfd.

bfd/ChangeLog
bfd/elfxx-ia64.c

index a5567b0ff210aee7c4fe2057b6463b5db9594ec6..be9425922ca627fa4f1fe385f2dd07c3649831e3 100644 (file)
@@ -1,3 +1,10 @@
+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.
+
 2007-12-31  Nick Clifton  <nickc@redhat.com>
 
        * elf-m10300.c (mn10300_elf_relax_section): Use
index 535b1bc23b1ecb3ec1269ab24832328a12a6fb4f..6bd6b8031ad5418b7a8032f00973ad77dc3cb285 100644 (file)
@@ -4896,7 +4896,7 @@ elfNN_ia64_relocate_section (bfd *output_bfd,
            {
              /* 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)
                {