* elf64-ppc.c (ppc64_elf_build_stubs): Clear relbrlt reloc_count

after stubs have been built.
This commit is contained in:
Alan Modra 2006-08-08 14:21:46 +00:00
parent 209c9a1352
commit aa8a70744d
2 changed files with 8 additions and 0 deletions

View 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

View 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)