diff options
author | Alan Modra <amodra@gmail.com> | 2006-10-01 13:59:21 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2006-10-01 13:59:21 +0000 |
commit | 23eb7e01cff866b91d2ef5fb5507c587e057c577 (patch) | |
tree | 18882d36bb3edb5cf602ea3d5951acd0e19eab64 /bfd/elf64-ppc.c | |
parent | bac25e5b7ae5fb0d59dcc30d27f53574e4ce5427 (diff) | |
download | gdb-23eb7e01cff866b91d2ef5fb5507c587e057c577.zip gdb-23eb7e01cff866b91d2ef5fb5507c587e057c577.tar.gz gdb-23eb7e01cff866b91d2ef5fb5507c587e057c577.tar.bz2 |
* elf64-ppc.c (ppc64_elf_build_stubs): Test glink size for
existence of PLT.
Diffstat (limited to 'bfd/elf64-ppc.c')
-rw-r--r-- | bfd/elf64-ppc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf64-ppc.c b/bfd/elf64-ppc.c index 6917623..d87a1b2 100644 --- a/bfd/elf64-ppc.c +++ b/bfd/elf64-ppc.c @@ -9451,7 +9451,7 @@ ppc64_elf_build_stubs (bfd_boolean emit_stub_syms, stub_sec->size = 0; } - if (htab->plt != NULL) + if (htab->glink != NULL && htab->glink->size != 0) { unsigned int indx; bfd_vma plt0; |