From 618655192fca05a9aaebbd395b0960626cbfdebe Mon Sep 17 00:00:00 2001 From: Marcus Shawcroft Date: Sun, 22 Mar 2015 08:31:18 +0000 Subject: [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 | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'bfd/ChangeLog') diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 6642b4b..014e30d 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,5 +1,13 @@ 2015-03-25 Marcus Shawcroft + * elfnn-aarch64.c (_bfd_aarch64_resize_stubs): Adjust stub section + size for initial branch. + (elfNN_aarch64_build_stubs): Write initial branch. + _bfd_aarch64_decode_(elfNN_aarch64_output_arch_local_syms): Write + mapping symbol on initial branch. + +2015-03-25 Marcus Shawcroft + * elfnn-aarch64.c (_bfd_aarch64_erratum_835769_scan): Update erratum count. -- cgit v1.1