[AArch64] Refactor generation of 835769 workaround stubs.
authorMarcus Shawcroft <marcus.shawcroft@gmail.com>
Fri, 20 Mar 2015 19:08:00 +0000 (19:08 +0000)
committerMarcus Shawcroft <marcus.shawcroft@arm.com>
Tue, 24 Mar 2015 12:03:46 +0000 (12:03 +0000)
commit5421cc6e55c7b3fba445c6085a05efb2a6f58505
tree4ef5ea75349f90b5e92d910f6157bbe79fea35e2
parente572930b96d8080ec80e65cfe85aaa8c4f7b2603
[AArch64] Refactor generation of 835769 workaround stubs.

This patch recognizes that we only need to perform one scan for the
835769 errata and that this scan can take place before we insert
branch stubs.  The erratum scan code is relocated and adjusted to
create stub entries directly rather than populating an intermediate
representation.  Since stub entries are created immediately we can
drop the adhoc stub size adjustment code and allow the generic stub
sizing code to deal with 835769 stub entries.

This patch restructures the code but does not change the workaround
used to deal with erratum 83679, the exact placement of workaround
stubs in the final image may change slightly after this patch due to
stubs being created in a different order.
bfd/ChangeLog
bfd/elfnn-aarch64.c
This page took 0.025737 seconds and 4 git commands to generate.