aboutsummaryrefslogtreecommitdiff
path: root/bfd/ChangeLog
diff options
context:
space:
mode:
authorMarcus Shawcroft <marcus.shawcroft@gmail.com>2015-03-20 19:08:00 +0000
committerMarcus Shawcroft <marcus.shawcroft@arm.com>2015-03-24 12:03:46 +0000
commit5421cc6e55c7b3fba445c6085a05efb2a6f58505 (patch)
tree4ef5ea75349f90b5e92d910f6157bbe79fea35e2 /bfd/ChangeLog
parente572930b96d8080ec80e65cfe85aaa8c4f7b2603 (diff)
downloadgdb-5421cc6e55c7b3fba445c6085a05efb2a6f58505.zip
gdb-5421cc6e55c7b3fba445c6085a05efb2a6f58505.tar.gz
gdb-5421cc6e55c7b3fba445c6085a05efb2a6f58505.tar.bz2
[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.
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r--bfd/ChangeLog13
1 files changed, 13 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 0f462ea..47afb5c 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,5 +1,18 @@
2015-03-24 Marcus Shawcroft <marcus.shawcroft@arm.com>
+ * elfnn-aarch64.c (struct aarch64_erratum_835769_fix) Remove.
+ (erratum_835769_scan) Drop fix_table_size_p and fixes_p arguments.
+ Delete fixes, fix_table_size and associated code. Call
+ _bfd_aarch64_add_stub_entry_in_group. Rename to...
+ (bfd_aarch64_erratum_835769_scan): Define.
+ (elfNN_aarch64_size_stubs): Delete erratum_835769_fixes,
+ erratum_835769_fix_table_size, i and associated code. Relocate
+ call to _bfd_aarch64_erratum_835769_scan. Delete adhoc stub size
+ correction. Delete construction of stub entry from
+ erratum_835769_fixes array.
+
+2015-03-24 Marcus Shawcroft <marcus.shawcroft@arm.com>
+
* elfnn-aarch64.c (elfNN_aarch64_size_stubs): Use
_bfd_aarch64_add_stub_entry_in_group.