[AArch64] Implement branch over stub section.
authorMarcus Shawcroft <marcus.shawcroft@gmail.com>
Sun, 22 Mar 2015 08:31:18 +0000 (08:31 +0000)
committerMarcus Shawcroft <marcus.shawcroft@arm.com>
Wed, 25 Mar 2015 15:16:04 +0000 (15:16 +0000)
commit618655192fca05a9aaebbd395b0960626cbfdebe
tree2b37bb4f932147c9a22b9bcde4a3df3115dd3161
parentd9ced15d6ea875aadd3e7395990eb37319454d71
[AArch64] Implement branch over stub section.

Ensure that injection of a stub section does not break a link where
there is an xpectation that flow of control can pass from one input
section to another simply by linking the input sections in series.

The solution here is to allow stub sections to be inserted after any
input section (existing behaviour), but inject an additional branch at
the start of each stub section such that control flow falling into the
stub section will branch over the stub section.
bfd/ChangeLog
bfd/elfnn-aarch64.c
ld/testsuite/ChangeLog
ld/testsuite/ld-aarch64/erratum835769.d
ld/testsuite/ld-aarch64/farcall-b.d
ld/testsuite/ld-aarch64/farcall-back.d
ld/testsuite/ld-aarch64/farcall-bl.d
This page took 0.026802 seconds and 4 git commands to generate.