Re: PowerPC PIC vs. DLL TLS issues
authorAlan Modra <amodra@gmail.com>
Mon, 7 Oct 2019 12:44:31 +0000 (23:14 +1030)
committerAlan Modra <amodra@gmail.com>
Tue, 8 Oct 2019 14:04:47 +0000 (00:34 +1030)
commit8aaf083b7fd848934b5f42e594d3bbbb73267950
treeede5d739a49831f0ef81ea7cddfc244923c66563
parent1b1bf9a89a20ab627dbe8d421d55fe32b27e7106
Re: PowerPC PIC vs. DLL TLS issues

A bug crept into commit f749f26eea, which could cause linker
segfaults when creating PIEs.  This patch fixes it.

* elf64-ppc.c (ppc64_elf_size_dynamic_sections): Do allocate
space for local got non-tls relocs when PIE.

(cherry picked from commit 93370e8e7b406cf0aeedcf57cf457c07d6a2c7e6)
bfd/ChangeLog
bfd/elf64-ppc.c