This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[gold][aarch64]: Use "gold_info" instead of "gold_warning" for erratum fix


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));


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]