]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
[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>
Tue, 21 Feb 2017 23:10:19 +0000 (09:40 +1030)
commitb118e4f8a2d6bc354ee728e484c03774acb2d54b
treecd061c58184bb389696b81cd1274079ee1e67e8b
parentd817edc29c8249520601ac62054c78254bf18f97
[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