summaryrefslogtreecommitdiff
path: root/bfd/elfxx-ia64.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl@lucon.org>2007-12-31 19:23:07 +0000
committerH.J. Lu <hjl@lucon.org>2007-12-31 19:23:07 +0000
commit5ebb1d66b82e60e5fa37be1593be3335ab4b748f (patch)
tree74dab7196ab6575f436728872586d4a8967b6439 /bfd/elfxx-ia64.c
parent168d0200011dee8ddd9c08c1e9fa866c8a2c334c (diff)
downloadbinutils-redhat-5ebb1d66b82e60e5fa37be1593be3335ab4b748f.tar.gz
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.
Diffstat (limited to 'bfd/elfxx-ia64.c')
-rw-r--r--bfd/elfxx-ia64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elfxx-ia64.c b/bfd/elfxx-ia64.c
index 535b1bc23b..6bd6b8031a 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)
{