aboutsummaryrefslogtreecommitdiff
path: root/gold/layout.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gold/layout.cc')
-rw-r--r--gold/layout.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/gold/layout.cc b/gold/layout.cc
index 71e3ab4..ff0425d 100644
--- a/gold/layout.cc
+++ b/gold/layout.cc
@@ -2062,6 +2062,11 @@ Layout::print_stats() const
this->namepool_.print_stats("section name pool");
this->sympool_.print_stats("output symbol name pool");
this->dynpool_.print_stats("dynamic name pool");
+
+ for (Section_list::const_iterator p = this->section_list_.begin();
+ p != this->section_list_.end();
+ ++p)
+ (*p)->print_merge_stats();
}
// Write_sections_task methods.