[GOLD] Further tidy to powerpc can_add_to_stub_group
authorAlan Modra <amodra@gmail.com>
Wed, 31 Aug 2016 07:36:32 +0000 (17:06 +0930)
committerAlan Modra <amodra@gmail.com>
Wed, 31 Aug 2016 09:52:43 +0000 (19:22 +0930)
commit8a37735f20f4cbd0cba49d49e57974faf8b9f19b
treeb196ba96a78a1d2f601101436201dcc43f8ce71c
parent09f92717713cfc7595b29caa3f017f88e7f7e279
[GOLD] Further tidy to powerpc can_add_to_stub_group

This patch adds a little more debug output, and replaces two variables
with one, tracking current max group size by group_size_ rather than
by has14_.

* powerpc.cc (class Stub_control): Delete stub14_group_size_
and has14_.  Add group_size_.
(Stub_control::can_add_to_stub_group): Adjust to suit.  Print
debug info when switching to adding sections before stubs.
gold/ChangeLog
gold/powerpc.cc