]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
powerpc64-ld infinite loop binutils-2_31-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:39:38 +0000 (16:09 +1030)
commitd120ec38f2572fe87f38294e45f297d0e547f8b1
tree0c14e8def83f4efca698ada9e7f4c4b5de46ba08
parent34a30b6758db4fe53b2872d7bd3824c778f6118c
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