[GOLD] PowerPC relaxation corner case
authorAlan Modra <amodra@gmail.com>
Tue, 25 Nov 2014 23:36:07 +0000 (10:06 +1030)
committerAlan Modra <amodra@gmail.com>
Wed, 26 Nov 2014 00:20:33 +0000 (10:50 +1030)
commita20605cf85452f051434296ddfd8ed109577bb6b
treef54e425f77a0e65d8a0c8f2b3641c1b3f689b574
parent38bd618497d57d118160976867397e8bb22732d8
[GOLD] PowerPC relaxation corner case

It's possible for the section grouping code to decide that the last
section looked at (the first section by address) doesn't fit into a
group.  In one case that section is already a group owner and that is
handled correctly.  In other cases the section should be put into its
own group.  Like this:

* powerpc.cc (Stub_control::set_output_and_owner): New function.
(Target_powerpc::group_sections): Use it.
gold/ChangeLog
gold/powerpc.cc