2003-06-17 Roland McGrath <roland@redhat.com>
authorH.J. Lu <hjl.tools@gmail.com>
Tue, 17 Jun 2003 23:43:18 +0000 (23:43 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Tue, 17 Jun 2003 23:43:18 +0000 (23:43 +0000)
* elfxx-ia64.c (elfNN_ia64_relocate_section): Support
segment-relative relocation between different segments.

bfd/ChangeLog
bfd/elfxx-ia64.c

index ecfbeb0df641a31c1519c2c6285cb12fee9ec38d..f799d2ed9882fdcb596a593fecff9f75ca354850 100644 (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
index 37fc968f53b1434c7282deaaa0a510ebf6e2ea33..5e8dadf889ec729b91145155659e44127a446d0b 100644 (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;