From 29e2f8467cd188e949e7271fd79e659a72ba8630 Mon Sep 17 00:00:00 2001 From: Han Shen Date: Mon, 27 Apr 2015 15:01:44 -0700 Subject: 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. Change-Id: I8941fb38ef34fa5eb297e83725d87fdee994fc3a --- binutils-2.25/gold/aarch64.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'binutils-2.25/gold/aarch64.cc') diff --git a/binutils-2.25/gold/aarch64.cc b/binutils-2.25/gold/aarch64.cc index d31f0cc..7498273 100644 --- a/binutils-2.25/gold/aarch64.cc +++ b/binutils-2.25/gold/aarch64.cc @@ -1282,7 +1282,7 @@ AArch64_relobj::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::scan_sections_for_stubs( for (unsigned int i = 1; i < shnum; ++i, p += shdr_size) { const elfcpp::Shdr 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)) -- cgit v1.1