Commit ac6f50a1 authored by Alan Modra's avatar Alan Modra

PowerPC64 ELFv2, allocate dynreloc space for ifunc

(cherry picked from commit 14b5f73fac0e34c2fca81aa0dfbc9c7eebc922f2)
parent 4e525783
2013-11-15 Alan Modra <amodra@gmail.com>
Apply changes from mainline to 2.24
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
here, not SYMBOL_CALLS_LOCAL.
......
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment