aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf64-ppc.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2013-11-11 13:46:26 +1030
committerAlan Modra <amodra@gmail.com>2013-11-11 14:33:01 +1030
commit14b5f73fac0e34c2fca81aa0dfbc9c7eebc922f2 (patch)
tree05b0b4dd219011619aea4cc3bff2bbae7c2d1ea0 /bfd/elf64-ppc.c
parentafe397ea85a3d09d936c93328a1f6bf640577cf3 (diff)
downloadgdb-14b5f73fac0e34c2fca81aa0dfbc9c7eebc922f2.zip
gdb-14b5f73fac0e34c2fca81aa0dfbc9c7eebc922f2.tar.gz
gdb-14b5f73fac0e34c2fca81aa0dfbc9c7eebc922f2.tar.bz2
PowerPC64 ELFv2, allocate dynreloc space for ifunc
* elf64-ppc.c (allocate_dynrelocs): Revert 2013-11-04 change.
Diffstat (limited to 'bfd/elf64-ppc.c')
-rw-r--r--bfd/elf64-ppc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/bfd/elf64-ppc.c b/bfd/elf64-ppc.c
index ac7da56..489ea79 100644
--- a/bfd/elf64-ppc.c
+++ b/bfd/elf64-ppc.c
@@ -9417,8 +9417,7 @@ allocate_dynrelocs (struct elf_link_hash_entry *h, void *inf)
if (eh->dyn_relocs == NULL
|| (!htab->elf.dynamic_sections_created
- && (h->type != STT_GNU_IFUNC
- || !htab->opd_abi)))
+ && h->type != STT_GNU_IFUNC))
return TRUE;
/* In the shared -Bsymbolic case, discard space allocated for