PowerPC64, correct grouping of stubs for ld.bfd
authorAlan Modra <amodra@gmail.com>
Tue, 30 Aug 2016 11:32:58 +0000 (21:02 +0930)
committerAlan Modra <amodra@gmail.com>
Wed, 31 Aug 2016 09:52:31 +0000 (19:22 +0930)
commit09f92717713cfc7595b29caa3f017f88e7f7e279
treef6de0878a217d7f92872f190b467a0810d7a02ae
parent3e8c34ea9d6ede278cc1a49fab7ccac7971aa32f
PowerPC64, correct grouping of stubs for ld.bfd

Like 57f6d32d, this patch ensures that sections containing external
conditional branches limit the group size.

* elf64-ppc.c (group_sections): Delete stub14_group_size.  Instead,
track max group size with a new "group_size" var that is reduced
by a factor of 1024 from the 24-bit branch size whenever a 14-bit
branch is seen.
bfd/ChangeLog
bfd/elf64-ppc.c