diff options
author | Han Shen <shenhan@google.com> | 2015-06-16 15:00:58 -0700 |
---|---|---|
committer | Dan Albert <danalbert@google.com> | 2015-07-29 10:58:40 -0700 |
commit | ec8f12bcfe31bcd5020c48c28c7b5247e3749647 (patch) | |
tree | 1c3f873615e246cb69bdc371765e70e075afbd03 /binutils-2.25/gold/ChangeLog | |
parent | 3f3b4a87d2780f36eddc287dd830478550f031c6 (diff) | |
download | toolchain_binutils-ec8f12bcfe31bcd5020c48c28c7b5247e3749647.tar.gz toolchain_binutils-ec8f12bcfe31bcd5020c48c28c7b5247e3749647.tar.bz2 toolchain_binutils-ec8f12bcfe31bcd5020c48c28c7b5247e3749647.zip |
Patch for gold internal error while fixing erratum 843419.
The crash reason is that the insn to be moved to stub may be a
relocation spot, so instead of placing the origin insn (that is insn
before-relocation) to the stub, I have to place the relocated one.
Note the relocation involved is non-pc-relative, so it is safe to move
the relocated insn.
gold/ChangeLog:
2015-06-29 Han Shen <shenhan@google.com>
* AArch64.cc (Erratum_stub::Insn_utilities): New typedef.
(Erratum_stub::update_erratum_insn): New method.
(Stub_table::relocate_stubs): Modified to place relocated insn.
(AArch64_relobj::fix_errata): Modified gold_assert.
Change-Id: I9d90ac6e569bbbab086f877c7446dc6f9ea96247
(cherry picked from commit 56b06706ebe6bb3decc674b788b6f5b243b8610d)
Diffstat (limited to 'binutils-2.25/gold/ChangeLog')
-rw-r--r-- | binutils-2.25/gold/ChangeLog | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/binutils-2.25/gold/ChangeLog b/binutils-2.25/gold/ChangeLog index fd3415ec..babb95ef 100644 --- a/binutils-2.25/gold/ChangeLog +++ b/binutils-2.25/gold/ChangeLog @@ -1,3 +1,12 @@ +2015-06-29 Han Shen <shenhan@google.com> + + Patch for erratum 843419 internal error. + + * AArch64.cc (Erratum_stub::Insn_utilities): New typedef. + (Erratum_stub::update_erratum_insn): New method. + (Stub_table::relocate_stubs): Modified to place relocated insn. + (AArch64_relobj::fix_errata): Modified gold_assert. + 2015-06-16 Yiran Wang <yiran@google.com> * resolve.cc disable the warning of a hidden symbol matches a reference to be resolved |