2010-04-08 Doug Kwan <dougkwan@google.com>
commit3e2884027c2e87f780c5108c9b595b1f91603c05
authorDoug Kwan <dougkwan@google.com>
Fri, 9 Apr 2010 00:04:30 +0000 (9 00:04 +0000)
committerDoug Kwan <dougkwan@google.com>
Fri, 9 Apr 2010 00:04:30 +0000 (9 00:04 +0000)
tree6a1e5e0206a52b0802688ba7594260ab84ea3541
parentcbee7dee5d32c27969d93511f0f9fb48925f9ff9
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