aboutsummaryrefslogtreecommitdiff
path: root/gold
diff options
context:
space:
mode:
Diffstat (limited to 'gold')
-rw-r--r--gold/ChangeLog6
-rw-r--r--gold/layout.cc4
2 files changed, 10 insertions, 0 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog
index 385fef1..59661a0 100644
--- a/gold/ChangeLog
+++ b/gold/ChangeLog
@@ -1,3 +1,9 @@
+2014-06-09 Cary Coutant <ccoutant@google.com>
+
+ PR gold/16980
+ * layout.cc (Layout::print_to_mapfile): Print unattached sections in
+ map.
+
2014-06-07 Alan Modra <amodra@gmail.com>
* powerpc.cc (relocate): Treat field of cmpli insn as a bitfield.
diff --git a/gold/layout.cc b/gold/layout.cc
index c5c3b57..82db775 100644
--- a/gold/layout.cc
+++ b/gold/layout.cc
@@ -5494,6 +5494,10 @@ Layout::print_to_mapfile(Mapfile* mapfile) const
p != this->segment_list_.end();
++p)
(*p)->print_sections_to_mapfile(mapfile);
+ for (Section_list::const_iterator p = this->unattached_section_list_.begin();
+ p != this->unattached_section_list_.end();
+ ++p)
+ (*p)->print_to_mapfile(mapfile);
}
// Print statistical information to stderr. This is used for --stats.