This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[gold][aarch64]: Use "gold_info" instead of "gold_warning" for erratum fix
- From: Han Shen <shenhan at google dot com>
- To: Cary Coutant <ccoutant at gmail dot com>, binutils <binutils at sourceware dot org>
- Cc: Egor Pasko <pasko at google dot com>, Luis Lozano <llozano at google dot com>
- Date: Thu, 9 Jul 2015 16:06:03 -0700
- Subject: [gold][aarch64]: Use "gold_info" instead of "gold_warning" for erratum fix
- Authentication-results: sourceware.org; auth=none
Hi Cary, per our early discussion, this CL changes 'gold_warning' to
'gold_info' for aarch64 erratum fix. It's not reasonable why these
messages should be warnings -- we've asked the linker to fix errata
that are fully expected.
Test - Opt build locally.
Ok for trunk?
gold/ChangeLog:
* aarch64.cc (Target_aarch64::scan_erratum_843419_span): Use
'gold_info'.
(Target_aarch64::scan_erratum_835769_span): Use 'gold_info'.
diff --git a/gold/aarch64.cc b/gold/aarch64.cc
index b9d04cd..bc86f68 100644
--- a/gold/aarch64.cc
+++ b/gold/aarch64.cc
@@ -7931,7 +7931,7 @@ Target_aarch64<size,
big_endian>::scan_erratum_835769_span(
// "span_start + offset + BPI".
section_size_type erratum_insn_offset = span_start + offset + BPI;
Address erratum_address = output_address + offset + BPI;
- gold_warning(_("Erratum 835769 found and fixed at \"%s\", "
+ gold_info(_("Erratum 835769 found and fixed at \"%s\", "
"section %d, offset 0x%08x."),
relobj->name().c_str(), shndx,
(unsigned int)(span_start + offset));
@@ -8017,7 +8017,7 @@ Target_aarch64<size,
big_endian>::scan_erratum_843419_span(
}
if (do_report)
{
- gold_warning(_("Erratum 843419 found and fixed at \"%s\", "
+ gold_info(_("Erratum 843419 found and fixed at \"%s\", "
"section %d, offset 0x%08x."),
relobj->name().c_str(), shndx,
(unsigned int)(span_start + offset));