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

index bf17264f67ec12f5d40f08baee46d4e2cf0e53cd..13a97b12db9d732eda6982ef8edfa7c6b144c94b 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 91610aae7e8782580395211a48fb491f932ec7f8..bf2a6d795f3e3103cba0a20221655c1e0d4fcee1 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;