]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* elf64-ppc.c (ppc64_elf_build_stubs): Clear relbrlt reloc_count
authorAlan Modra <amodra@gmail.com>
Tue, 8 Aug 2006 14:21:46 +0000 (14:21 +0000)
committerAlan Modra <amodra@gmail.com>
Tue, 8 Aug 2006 14:21:46 +0000 (14:21 +0000)
after stubs have been built.

bfd/ChangeLog
bfd/elf64-ppc.c

index a30f240e1f578d78609fe8eaf3553c8ecb60a0fd..7270c5ff5418ac760cb4aa5191c4e70185b310fc 100644 (file)
@@ -1,3 +1,8 @@
+2006-08-08  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf64-ppc.c (ppc64_elf_build_stubs): Clear relbrlt reloc_count
+       after stubs have been built.
+
 2006-08-07  Nick Clifton  <nickc@redhat.com>
 
        * elf32-sh.c (vxworks_object_p): Only check for vxworks target
index b5b5fbefb13c761786b986fc55047b2e40ed37eb..525a72f831adc10285e4c80f9203bc9a81d30c67 100644 (file)
@@ -9561,6 +9561,9 @@ ppc64_elf_build_stubs (bfd_boolean emit_stub_syms,
   /* Build the stubs as directed by the stub hash table.  */
   bfd_hash_traverse (&htab->stub_hash_table, ppc_build_one_stub, info);
 
+  if (htab->relbrlt != NULL)
+    htab->relbrlt->reloc_count = 0;
+
   for (stub_sec = htab->stub_bfd->sections;
        stub_sec != NULL;
        stub_sec = stub_sec->next)