PR 10450
authorIan Lance Taylor <ian@airs.com>
Wed, 30 Dec 2009 04:00:21 +0000 (04:00 +0000)
committerIan Lance Taylor <ian@airs.com>
Wed, 30 Dec 2009 04:00:21 +0000 (04:00 +0000)
commite8cd95c71e5a6ea455f60d6428a34c621d11d3bf
tree0f031d13181414fbfa32b0d6bce82891f01dcb07
parent9037e078d45ef6c97475b74f46e017a33416f11c
PR 10450
* output.h (class Output_section): Add is_entsize_zero_ field.
* output.cc (Output_section::Output_section): Initialize
is_entsize_zero_.
(Output_section::set_entsize): If two different entsizes are
requested, force it to zero.
(Output_section::add_input_section): Set flags for .debug_str
before updating section flags.  Set entsize.
(Output_section::update_flags_for_input_section): Set SHF_MERGE
and SHF_STRING if all input sections have those flags.
gold/ChangeLog
gold/output.cc
gold/output.h