From 9f1c3a0af772804f5e93ac3f2a72c30e286552bf Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Tue, 17 Jun 2003 23:43:18 +0000 Subject: [PATCH] 2003-06-17 Roland McGrath * elfxx-ia64.c (elfNN_ia64_relocate_section): Support segment-relative relocation between different segments. --- bfd/ChangeLog | 5 +++++ bfd/elfxx-ia64.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index ecfbeb0df64..f799d2ed988 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2003-06-17 Roland McGrath + + * elfxx-ia64.c (elfNN_ia64_relocate_section): Support + segment-relative relocation between different segments. + 2003-06-17 Alan Modra * elf64-ppc.c (ppc64_elf_relocate_section): Do unaligned reloc diff --git a/bfd/elfxx-ia64.c b/bfd/elfxx-ia64.c index 37fc968f53b..5e8dadf889e 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; -- 2.30.2