aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2018-10-29 18:09:59 +1030
committerAlan Modra <amodra@gmail.com>2018-10-29 18:21:05 +1030
commit5c87f94bb85e5b8e715aa7f947ecc602960f20ee (patch)
treefe4f4e705ac47e0e367b49ae56d44b6813fab582 /ld
parent55d5520ae35a2b0ce788bd6d43dd619043e887f7 (diff)
downloadgdb-5c87f94bb85e5b8e715aa7f947ecc602960f20ee.zip
gdb-5c87f94bb85e5b8e715aa7f947ecc602960f20ee.tar.gz
gdb-5c87f94bb85e5b8e715aa7f947ecc602960f20ee.tar.bz2
Remove some ld --trace output
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.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog6
-rw-r--r--ld/ldmain.c6
2 files changed, 9 insertions, 3 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index d2700bc..03b1b15 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,5 +1,11 @@
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=/".
2018-10-29 Alan Modra <amodra@gmail.com>
diff --git a/ld/ldmain.c b/ld/ldmain.c
index 6f3ce6f..36a6c60 100644
--- a/ld/ldmain.c
+++ b/ld/ldmain.c
@@ -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;