diff options
author | Alan Modra <amodra@bigpond.net.au> | 2005-07-12 12:03:57 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2005-07-12 12:03:57 +0000 |
commit | 3bce3755f26249da3acd71b754265a269a195cd2 (patch) | |
tree | 116b63470505aeb5d5799e9a222bb2ef7ac65460 /bfd/elf64-ppc.c | |
parent | d36a26bef8953c1277099f3810973238273d8914 (diff) | |
download | gdb-3bce3755f26249da3acd71b754265a269a195cd2.tar.gz |
* elf64-ppc.c (ppc64_elf_relocate_section): Don't use a plt stub
when !can_plt_call.
Diffstat (limited to 'bfd/elf64-ppc.c')
-rw-r--r-- | bfd/elf64-ppc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bfd/elf64-ppc.c b/bfd/elf64-ppc.c index 402e859756f..545fae83503 100644 --- a/bfd/elf64-ppc.c +++ b/bfd/elf64-ppc.c @@ -9998,6 +9998,8 @@ ppc64_elf_relocate_section (bfd *output_bfd, br = bfd_get_32 (input_bfd, contents + rel->r_offset); if ((br & 1) == 0) can_plt_call = TRUE; + else + stub_entry = NULL; } else if (h != NULL && strcmp (h->elf.root.root.string, |