Blame SOURCES/gdb-rhbz1125820-ppc64le-enablement-16of37.patch

7ab123
commit 14b5f73fac0e34c2fca81aa0dfbc9c7eebc922f2
7ab123
Author: Alan Modra <amodra@gmail.com>
7ab123
Date:   Mon Nov 11 13:46:26 2013 +1030
7ab123
7ab123
    PowerPC64 ELFv2, allocate dynreloc space for ifunc
7ab123
    
7ab123
    	* elf64-ppc.c (allocate_dynrelocs): Revert 2013-11-04 change.
7ab123
7ab123
Index: gdb-7.6.1/bfd/elf64-ppc.c
7ab123
===================================================================
7ab123
--- gdb-7.6.1.orig/bfd/elf64-ppc.c
7ab123
+++ gdb-7.6.1/bfd/elf64-ppc.c
7ab123
@@ -9216,8 +9216,7 @@ allocate_dynrelocs (struct elf_link_hash
7ab123
 
7ab123
   if (eh->dyn_relocs == NULL
7ab123
       || (!htab->elf.dynamic_sections_created
7ab123
-	  && (h->type != STT_GNU_IFUNC
7ab123
-	      || !htab->opd_abi)))
7ab123
+	  && h->type != STT_GNU_IFUNC))
7ab123
     return TRUE;
7ab123
 
7ab123
   /* In the shared -Bsymbolic case, discard space allocated for