PR gold/20529 - relaxing loop never ends.
authorHan Shen <shenhan@google.com>
Fri, 26 Aug 2016 22:50:15 +0000 (15:50 -0700)
committerHan Shen <shenhan@google.com>
Sun, 28 Aug 2016 21:17:31 +0000 (14:17 -0700)
commit6395d38b7ffd231a3b7b5a67b47e1bda947089ee
tree94665cb73359aee3aeb620660c692914ec255a09
parent8b2f3453b768a3ecd4c7f7d2ddcb138be7487a09
PR gold/20529 - relaxing loop never ends.

gold/ChangeLog

2016-08-26  Han Shen  <shenhan@google.com>

* powerpc.cc (Stub_table::min_size_threshold_): New member to
limit size.
(Stub_table::set_min_size_threshold): New member function.
(Stub_table::set_address_and_size): Add code to only allow size
increase.
(Target_powerpc::do_relax): Add code to record last size.
gold/ChangeLog
gold/powerpc.cc