aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2007-12-31 19:23:07 +0000
committerH.J. Lu <hjl.tools@gmail.com>2007-12-31 19:23:07 +0000
commit992824d50ed0d22dfa78494b8aa5dff0d6330a66 (patch)
tree8e7cdc343f34b34b5c952b3ce4a5939a151d5b08
parentb7589f7df4a6b1c7c7a3948cc006e2c4fcdee4d6 (diff)
downloadfsf-binutils-gdb-992824d50ed0d22dfa78494b8aa5dff0d6330a66.zip
fsf-binutils-gdb-992824d50ed0d22dfa78494b8aa5dff0d6330a66.tar.gz
fsf-binutils-gdb-992824d50ed0d22dfa78494b8aa5dff0d6330a66.tar.bz2
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.
-rw-r--r--bfd/ChangeLog7
-rw-r--r--bfd/elfxx-ia64.c2
2 files changed, 8 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index a5567b0..be94259 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -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
diff --git a/bfd/elfxx-ia64.c b/bfd/elfxx-ia64.c
index 535b1bc..6bd6b80 100644
--- a/bfd/elfxx-ia64.c
+++ b/bfd/elfxx-ia64.c
@@ -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)
{