]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
powerpc64-ld infinite loop
authorAlan Modra <amodra@gmail.com>
Wed, 11 Mar 2020 04:13:16 +0000 (14:43 +1030)
committerAlan Modra <amodra@gmail.com>
Wed, 11 Mar 2020 05:25:34 +0000 (15:55 +1030)
commit5251ab5f608ef47b83cc39625191cad9884a4581
tree9f870c42d839873c0ecce38a95434f6f41f63f79
parent4dd834659fb94758e7496661a2f03f4426161b27
powerpc64-ld infinite loop

If this code dealing with possible conversion of inline plt sequences
is ever executed, ld will hang.  A binary with such sequences and of
code size larger than approximately 90% the reach of an unconditional
branch is the trigger.  Oops.

* elf64-ppc.c (ppc64_elf_inline_plt): Do increment rel in for loop.

(cherry picked from commit 435edf0bf231240ccecb474b74ebb49dc8db2633)
bfd/ChangeLog
bfd/elf64-ppc.c