* layout.cc (Layout::section_name_mapping): New array, replacing
authorIan Lance Taylor <ian@airs.com>
Thu, 4 Jun 2009 00:43:11 +0000 (00:43 +0000)
committerIan Lance Taylor <ian@airs.com>
Thu, 4 Jun 2009 00:43:11 +0000 (00:43 +0000)
commitdff1629750aa81c871e137a1bef34ecb3aed32c9
treebc01acd3e86057e3efd6aad6f697f81f83bc33bb
parentdb468abb98d4763f86894877a7c05bf25ef974b5
* layout.cc (Layout::section_name_mapping): New array, replacing
Layout::linkonce_mapping.
(Layout::section_name_mapping_count): New variable, replacing
Layout::linkonce_mapping_count.
(Layout::linkonce_output_name): Remove.
(Layout::output_section_name): Rewrite.
* layout.h (class Layout): Rename Linkonce_mapping to
Section_name_mapping, linkonce_mapping to section_name_mapping,
linkonce_mapping_count to section_name_mapping_count.  Don't
declare linkonce_output_name.
gold/ChangeLog
gold/layout.cc
gold/layout.h