]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
PowerPC gcc bootstrap fail with bss-plt
authorAlan Modra <amodra@gmail.com>
Fri, 16 Aug 2019 03:50:28 +0000 (13:20 +0930)
committerAlan Modra <amodra@gmail.com>
Fri, 16 Aug 2019 04:08:11 +0000 (13:38 +0930)
commit7df6aecc97b96843da080d54414052b1c954ddca
treebb2ad6a0496da49fe2613d52615b31ca59256885
parent63f6e94fb3cc5b6a2cfb8c28686f150e7226ab7e
PowerPC gcc bootstrap fail with bss-plt

git commit 3e04d7655b introduced a bug by sizing output sections
earlier in ppc_before_allocation.  That meant PLT (and GOT) sizes were
not included when calculating total executable section sizes.

* emultempl/ppc32elf.em (ppc_before_allocation): Force running
prelim_size_sections before deciding whether branch trampolines
might be needed.
ld/ChangeLog
ld/emultempl/ppc32elf.em