diff options
author | Alan Modra <amodra@bigpond.net.au> | 2006-08-08 14:21:46 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2006-08-08 14:21:46 +0000 |
commit | 5bf01eb307163a72638d3e21525dc6a39ce31c6d (patch) | |
tree | 38c36b94dfbfe4af5de949d23e161526ef42adc4 /bfd/elf64-ppc.c | |
parent | 7e193d125b0b87124d0bb77a3427fcf5a04329ef (diff) | |
download | gdb-5bf01eb307163a72638d3e21525dc6a39ce31c6d.tar.gz |
* elf64-ppc.c (ppc64_elf_build_stubs): Clear relbrlt reloc_count
after stubs have been built.
Diffstat (limited to 'bfd/elf64-ppc.c')
-rw-r--r-- | bfd/elf64-ppc.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bfd/elf64-ppc.c b/bfd/elf64-ppc.c index b5b5fbefb13..525a72f831a 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) |