PR 19264 looping in ppc64_elf_size_stubs
authorAlan Modra <amodra@gmail.com>
Mon, 27 Jun 2016 10:30:09 +0000 (20:00 +0930)
committerAlan Modra <amodra@gmail.com>
Mon, 27 Jun 2016 10:34:53 +0000 (20:04 +0930)
commitc9301e31817019c38ab52da0e72fa1e3bf75332c
tree1e6d9312d484f425d59dd9486b5ea6bed21b2149
parentf4952523968703caa027a5922263eb97b88bedc3
PR 19264 looping in ppc64_elf_size_stubs

b399102 fixed the testcase in this PR but it may be possible to
trigger the problem in other ways.

PR ld/19264
* elf64-ppc.c (STUB_SHRINK_ITER): Define.
(ppc64_elf_size_stubs): Exit stub sizing loop past STUB_SHRINK_ITER
if shrinking stubs.
(ppc64_elf_size_stubs): Adjust to suit.
bfd/ChangeLog
bfd/elf64-ppc.c