2010-04-08 Doug Kwan <dougkwan@google.com>
authorDoug Kwan <dougkwan@google.com>
Fri, 9 Apr 2010 00:04:30 +0000 (00:04 +0000)
committerDoug Kwan <dougkwan@google.com>
Fri, 9 Apr 2010 00:04:30 +0000 (00:04 +0000)
commit6bf924b0ab37b8fd62d11262e93f34902ed5e457
tree8ffd987c75364592ecd5eb45c4192ec315bbaba6
parent1c1955e56553851937da2034da6a4ca9f07688aa
2010-04-08  Doug Kwan  <dougkwan@google.com>

* merge.cc (Output_merge_data::set_final_data_size): Handle empty
Output_merge_data.
* output.cc (Output_section::add_merge_input_section): Simplify
code and return status of Output_merge_base::add_input_section.
Update merge section map only if Output_merge_base::add_input_section
returns true.
gold/ChangeLog
gold/merge.cc
gold/output.cc