summaryrefslogtreecommitdiffstats
path: root/bfd/elfxx-ia64.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2003-06-17 23:43:18 +0000
committerH.J. Lu <hjl.tools@gmail.com>2003-06-17 23:43:18 +0000
commit9f1c3a0af772804f5e93ac3f2a72c30e286552bf (patch)
tree0b5f13c96f9724f9f6774532e28d0242b6d968c0 /bfd/elfxx-ia64.c
parent0f84fde19ee862ccc2f5161fedb9a4f773169e47 (diff)
downloadppe42-binutils-9f1c3a0af772804f5e93ac3f2a72c30e286552bf.tar.gz
ppe42-binutils-9f1c3a0af772804f5e93ac3f2a72c30e286552bf.zip
2003-06-17 Roland McGrath <roland@redhat.com>
* elfxx-ia64.c (elfNN_ia64_relocate_section): Support segment-relative relocation between different segments.
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 37fc968f53..5e8dadf889 100644
--- a/bfd/elfxx-ia64.c
+++ b/bfd/elfxx-ia64.c
@@ -4325,7 +4325,7 @@ elfNN_ia64_relocate_section (output_bfd, info, input_bfd, input_section,
{
int i;
for (i = m->count - 1; i >= 0; i--)
- if (m->sections[i] == sym_sec->output_section)
+ if (m->sections[i] == input_section->output_section)
break;
if (i >= 0)
break;
OpenPOWER on IntegriCloud