OSDN Git Service

* elf64-ppc.c (ppc64_elf_build_stubs): Increment .glink indx.
authorAlan Modra <amodra@bigpond.net.au>
Mon, 7 Oct 2002 00:06:01 +0000 (00:06 +0000)
committerAlan Modra <amodra@bigpond.net.au>
Mon, 7 Oct 2002 00:06:01 +0000 (00:06 +0000)
bfd/ChangeLog
bfd/elf64-ppc.c

index bf17264..13a97b1 100644 (file)
@@ -1,3 +1,7 @@
+2002-10-07  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf64-ppc.c (ppc64_elf_build_stubs): Increment .glink indx.
+
 2002-10-06  Alan Modra  <amodra@bigpond.net.au>
 
        * opncls.c: Formatting.
index 91610aa..bf2a6d7 100644 (file)
@@ -5161,6 +5161,7 @@ ppc64_elf_build_stubs (info)
            }
          bfd_put_32 (htab->sglink->owner,
                      B_DOT | ((htab->sglink->contents - p) & 0x3fffffc), p);
+         indx++;
          p += 4;
        }
       htab->sglink->_cooked_size = p - htab->sglink->contents;