PowerPC64 ELFv2, allocate dynreloc space for ifunc
Alan Modra
amodra@gmail.com
Mon Nov 11 06:53:00 GMT 2013
This reverts a half-baked change I made a few days ago, thinking to
follow the elf32-ppc.c scheme for ELFv2 ifunc in elf64-ppc.c. That
turned out to be a bad idea.
* elf64-ppc.c (allocate_dynrelocs): Revert 2013-11-04 change.
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
--
Alan Modra
Australia Development Lab, IBM
More information about the Binutils
mailing list