PowerPC64 ELFv2, allocate dynreloc space for ifunc
authorAlan Modra <amodra@gmail.com>
Mon, 11 Nov 2013 03:16:26 +0000 (13:46 +1030)
committerAlan Modra <amodra@gmail.com>
Mon, 11 Nov 2013 04:03:01 +0000 (14:33 +1030)
* elf64-ppc.c (allocate_dynrelocs): Revert 2013-11-04 change.

bfd/ChangeLog
bfd/elf64-ppc.c

index 5c7c7aa533d9dc762c4b66cf6d50e572bb8c056d..a1974b4e86c30ae3e32a8f492805db589b049a7e 100644 (file)
@@ -1,3 +1,7 @@
+2013-11-11  Alan Modra  <amodra@gmail.com>
+
+       * elf64-ppc.c (allocate_dynrelocs): Revert 2013-11-04 change.
+
 2013-11-11  Ulrich Weigand  <uweigand@de.ibm.com>
 
        * elf64-ppc.c (ppc64_elf_edit_toc): Use SYMBOL_REFERENCES_LOCAL
index ac7da56470c08b719223c305e58ef288996da34b..489ea79ea4a83f8333064617cce31cb293866e76 100644 (file)
@@ -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
This page took 0.034614 seconds and 4 git commands to generate.