Print unattached sections in the link map.

gold/
	PR gold/16980
	* layout.cc (Layout::print_to_mapfile): Print unattached sections in
	map.
This commit is contained in:
Cary Coutant 2014-06-09 12:57:31 -07:00
parent dd5d5494f4
commit 8f89af0abe
2 changed files with 10 additions and 0 deletions

View File

@ -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.

View File

@ -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.