[AArch64] Refactor section_group[] representation.
authorMarcus Shawcroft <marcus.shawcroft@arm.com>
Sat, 28 Feb 2015 00:17:22 +0000 (00:17 +0000)
committerMarcus Shawcroft <marcus.shawcroft@arm.com>
Tue, 24 Mar 2015 14:10:43 +0000 (14:10 +0000)
commit30068a6d2da1ba4b0248a270c7c958ef24a80416
treeeda87258cb75d04ba89ac0b40313cafedb1cea66
parent369f6daa21bf33a09ef67b002e4cec3595eddfe7
[AArch64] Refactor section_group[] representation.

Change the behaviour of section_group[] such that .stub_sec points to
the stub section attached to the indexed section rather than the stub
section attached to the link_section pointed to be the index section.

This provides a mechanism to get to the stub section following any
input section.  While still allowing the section grouping mechanism to
find the section group stub section associated with an input section
by first following the link_sec pointer.
bfd/ChangeLog
bfd/elfnn-aarch64.c