diff options
author | Alan Modra <amodra@gmail.com> | 2006-08-08 14:21:46 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2006-08-08 14:21:46 +0000 |
commit | aa8a70744d67552f59f23834bc7d3d5cd888127b (patch) | |
tree | 2f31cb9186c246c2aa97ce2152f3e4c7818a194b | |
parent | 209c9a1352c5a1d1b27b7d61883055fa60de6457 (diff) | |
download | gdb-aa8a70744d67552f59f23834bc7d3d5cd888127b.zip gdb-aa8a70744d67552f59f23834bc7d3d5cd888127b.tar.gz gdb-aa8a70744d67552f59f23834bc7d3d5cd888127b.tar.bz2 |
* elf64-ppc.c (ppc64_elf_build_stubs): Clear relbrlt reloc_count
after stubs have been built.
-rw-r--r-- | bfd/ChangeLog | 5 | ||||
-rw-r--r-- | bfd/elf64-ppc.c | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index a30f240..7270c5f 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -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 diff --git a/bfd/elf64-ppc.c b/bfd/elf64-ppc.c index b5b5fbe..525a72f 100644 --- a/bfd/elf64-ppc.c +++ b/bfd/elf64-ppc.c @@ -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) |