]> 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>
Sat, 17 Aug 2019 08:46:53 +0000 (18:16 +0930)
commit86bee50d3c32db6e626149525af6ab241705a1b4
tree5d0fb3595bf918b2b77e2a95eeaa28893550e3d7
parent87cae3526585294fdd7c3799b6c6b9c0e6318444
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.

(cherry picked from commit 7df6aecc97b96843da080d54414052b1c954ddca)
ld/ChangeLog
ld/emultempl/ppc32elf.em