diff options
author | Han Shen <shenhan@google.com> | 2015-06-10 14:50:26 -0700 |
---|---|---|
committer | Han Shen <shenhan@google.com> | 2015-06-12 14:34:14 -0700 |
commit | 2f0c79aa61e82cbc5da4b9ab399362b2cdd8ea2e (patch) | |
tree | 705dacdb84f5b24e22650ba0e9412220737ec060 /gold/options.h | |
parent | d309493c38fcef624f6f85aee4aa37f4f9e3e62a (diff) | |
download | gdb-2f0c79aa61e82cbc5da4b9ab399362b2cdd8ea2e.zip gdb-2f0c79aa61e82cbc5da4b9ab399362b2cdd8ea2e.tar.gz gdb-2f0c79aa61e82cbc5da4b9ab399362b2cdd8ea2e.tar.bz2 |
[gold][aarch64] Fix erratum 835769.
gold/ChangeLog:
* aarch64.cc (AArch64_insn_utilities::BYTES_PER_INSN): Move
defintion outside class definition.
(AArch64_insn_utilities::AARCH64_ZR): New static constant.
(AArch64_insn_utilities::aarch64_op31): New member.
(AArch64_insn_utilities::aarch64_ra): New member.
(AArch64_insn_utilities::aarch64_mac): New member.
(AArch64_insn_utilities::aarch64_mlxl): New member.
(ST_E_835769): New global enum member.
(Stub_table::relocate_stubs): Add 835769 handler.
(Stub_template_repertoire::Stub_template_repertoire): Install new
stub type.
(AArch64_relobj::scan_errata): This func is renamed from
scan_erratum_843419.
(AArch64_relobj::do_count_local_symbols): Add 835769 handler.
(AArch64_relobj::do_relocate_sections): Add 835769 handler.
(AArch64_relobj::scan_sections_for_stubs): Add 835769 handler.
(Target_aarch64::scan_erratum_835769_span): New method.
(Target_aarch64::create_erratum_stub): New method.
(Target_aarch64::is_erratum_835769_sequence): New method.
(Target_aarch64::scan_erratum_843419_sequence): Move part of the
code into create_erratum_stub.
* options.h (fix_cortex_a53_835769): New option.
Diffstat (limited to 'gold/options.h')
-rw-r--r-- | gold/options.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/gold/options.h b/gold/options.h index 658ad42..455a09d 100644 --- a/gold/options.h +++ b/gold/options.h @@ -805,9 +805,12 @@ class General_options N_("(ARM only) Do not fix binaries for Cortex-A8 erratum.")); DEFINE_bool(fix_cortex_a53_843419, options::TWO_DASHES, '\0', false, - N_("(AArch64 only) Scan binaries for Cortex-A53 errata 843419."), - N_("(AArch64 only) Do not scan binaries for Cortex-A53 " - "errata 843419.")); + N_("(AArch64 only) Fix Cortex-A53 erratum 843419."), + N_("(AArch64 only) Do not fix Cortex-A53 erratum 843419.")); + + DEFINE_bool(fix_cortex_a53_835769, options::TWO_DASHES, '\0', false, + N_("(AArch64 only) Fix Cortex-A53 erratum 835769."), + N_("(AArch64 only) Do not fix Cortex-A53 erratum 835769.")); DEFINE_bool(fix_arm1176, options::TWO_DASHES, '\0', true, N_("(ARM only) Fix binaries for ARM1176 erratum."), |