2003-06-17 Roland McGrath <roland@redhat.com>

* elfxx-ia64.c (elfNN_ia64_relocate_section): Support
	segment-relative relocation between different segments.
This commit is contained in:
H.J. Lu 2003-06-17 23:43:18 +00:00
parent 0f84fde19e
commit 9f1c3a0af7
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2003-06-17 Roland McGrath <roland@redhat.com>
* elfxx-ia64.c (elfNN_ia64_relocate_section): Support
segment-relative relocation between different segments.
2003-06-17 Alan Modra <amodra@bigpond.net.au>
* elf64-ppc.c (ppc64_elf_relocate_section): Do unaligned reloc

View File

@ -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;