public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* PowerPC64 ELFv2, allocate dynreloc space for ifunc
@ 2013-11-11  6:53 Alan Modra
  0 siblings, 0 replies; only message in thread
From: Alan Modra @ 2013-11-11  6:53 UTC (permalink / raw)
  To: binutils

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-11-11  6:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-11  6:53 PowerPC64 ELFv2, allocate dynreloc space for ifunc Alan Modra

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).