diff options
author | Han Shen <shenhan@google.com> | 2015-04-27 15:01:44 -0700 |
---|---|---|
committer | Han Shen <shenhan@google.com> | 2015-04-27 15:49:41 -0700 |
commit | 7a2a1c793578a8468604e661dda025ecb8d0bd20 (patch) | |
tree | 5cec2c73978bbc07418d1de66ab0428a70605d25 /gold/aarch64.cc | |
parent | cfbf0e3c5b637d66b2b1aeadecae9c187b825b2f (diff) | |
download | gdb-7a2a1c793578a8468604e661dda025ecb8d0bd20.zip gdb-7a2a1c793578a8468604e661dda025ecb8d0bd20.tar.gz gdb-7a2a1c793578a8468604e661dda025ecb8d0bd20.tar.bz2 |
[gold] Rename '--fix-cortex-a53' to '--fix-cortex-a53-843419'.
Keep gold consistent with bfd erratum-fixing option names, so as to
ease life in Makefile/scripts.
gold/
* options.h (--fix-cortex-a53-843419): Rename option.
* aarch64.cc (AArch64_relobj::do_count_local_symbols): Use renamed
option.
(AArch64_relobj::scan_sections_for_stubs): Use renamed option.
Diffstat (limited to 'gold/aarch64.cc')
-rw-r--r-- | gold/aarch64.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gold/aarch64.cc b/gold/aarch64.cc index 19c3aa0..2745776 100644 --- a/gold/aarch64.cc +++ b/gold/aarch64.cc @@ -1282,7 +1282,7 @@ AArch64_relobj<size, big_endian>::do_count_local_symbols( // Only erratum-fixing work needs mapping symbols, so skip this time consuming // processing if not fixing erratum. - if (!parameters->options().fix_cortex_a53()) + if (!parameters->options().fix_cortex_a53_843419()) return; const unsigned int loccount = this->local_symbol_count(); @@ -1590,7 +1590,7 @@ AArch64_relobj<size, big_endian>::scan_sections_for_stubs( for (unsigned int i = 1; i < shnum; ++i, p += shdr_size) { const elfcpp::Shdr<size, big_endian> shdr(p); - if (parameters->options().fix_cortex_a53()) + if (parameters->options().fix_cortex_a53_843419()) scan_erratum_843419(i, shdr, out_sections[i], symtab, target); if (this->section_needs_reloc_stub_scanning(shdr, out_sections, symtab, pshdrs)) |