aboutsummaryrefslogtreecommitdiff
path: root/gold/main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gold/main.cc')
-rw-r--r--gold/main.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/gold/main.cc b/gold/main.cc
index 3577283..e10600b 100644
--- a/gold/main.cc
+++ b/gold/main.cc
@@ -237,6 +237,10 @@ main(int argc, char** argv)
if (mapfile != NULL)
mapfile->close();
+ // Issue defined symbol report.
+ if (command_line.options().user_set_print_symbol_counts())
+ input_objects.print_symbol_counts(&symtab);
+
if (parameters->options().fatal_warnings()
&& errors.warning_count() > 0
&& errors.error_count() == 0)