Remove some ld --trace output
authorAlan Modra <amodra@gmail.com>
Mon, 29 Oct 2018 07:39:59 +0000 (18:09 +1030)
committerAlan Modra <amodra@gmail.com>
Mon, 29 Oct 2018 07:51:05 +0000 (18:21 +1030)
This output really belongs in ld --verbose.

* ldmain.c (main): Print emulation mode and "deleting executable"
for --verbose, not --trace.
(add_archive_element): Only print "no new IR symbols" for --verbose.

ld/ChangeLog
ld/ldmain.c

index d2700bcf562a1dcd689187075be0231ed9c8c36d..03b1b15e2150650da6f609d3f7c5266f08a9f1a9 100644 (file)
@@ -1,3 +1,9 @@
+2018-10-29  Alan Modra  <amodra@gmail.com>
+
+       * ldmain.c (main): Print emulation mode and "deleting executable"
+       for --verbose, not --trace.
+       (add_archive_element): Only print "no new IR symbols" for --verbose.
+
 2018-10-29  Alan Modra  <amodra@gmail.com>
 
        * ldmain.c (get_sysroot): Return "" for "--sysroot=/".
index 6f3ce6f81004ac0039c63d8c8a44e2240b212d53..36a6c6033e0351e0c346b41311fb882aea343f87 100644 (file)
@@ -413,7 +413,7 @@ main (int argc, char **argv)
       einfo (_("%F%P: no input files\n"));
     }
 
-  if (trace_files)
+  if (verbose)
     info_msg (_("%P: mode %s\n"), emulation);
 
   ldemul_after_parse ();
@@ -478,7 +478,7 @@ main (int argc, char **argv)
      want to ignore for relocatable output?)  */
   if (!config.make_executable && !force_make_executable)
     {
-      if (trace_files)
+      if (verbose)
        einfo (_("%P: link errors found, deleting executable `%s'\n"),
               output_filename);
 
@@ -833,7 +833,7 @@ add_archive_element (struct bfd_link_info *info,
            {
              /* Don't claim new IR symbols after all IR symbols have
                 been claimed.  */
-             if (trace_files || verbose)
+             if (verbose)
                info_msg ("%pI: no new IR symbols to claimi\n",
                          &orig_input);
              input->flags.claimed = 0;
This page took 0.039626 seconds and 4 git commands to generate.