]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
powerpc64-ld infinite loop binutils-2_32-branch
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:33:35 +0000 (16:03 +1030)
commit2846942c7c83d007106cdcf1108ceedb50e1d4ec
tree1f7b8c5329a52da310ffc49e68725200a5404076
parentb681dd46d55a0666cb689acf0a01a9efae589978
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