From: Alan Modra Date: Mon, 11 Nov 2013 03:16:26 +0000 (+1030) Subject: PowerPC64 ELFv2, allocate dynreloc space for ifunc X-Git-Tag: gdb-7.7-release~559 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=14b5f73fac0e34c2fca81aa0dfbc9c7eebc922f2;p=platform%2Fupstream%2Fbinutils.git PowerPC64 ELFv2, allocate dynreloc space for ifunc * elf64-ppc.c (allocate_dynrelocs): Revert 2013-11-04 change. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 5c7c7aa..a1974b4 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +2013-11-11 Alan Modra + + * elf64-ppc.c (allocate_dynrelocs): Revert 2013-11-04 change. + 2013-11-11 Ulrich Weigand * elf64-ppc.c (ppc64_elf_edit_toc): Use SYMBOL_REFERENCES_LOCAL 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