PR 10450
commit747c5a8311acf7c75fc700eeea1a184d5ba29b2e
authorIan Lance Taylor <ian@airs.com>
Wed, 30 Dec 2009 04:00:21 +0000 (30 04:00 +0000)
committerIan Lance Taylor <ian@airs.com>
Wed, 30 Dec 2009 04:00:21 +0000 (30 04:00 +0000)
tree55ff55fe71856ca60a10ab013a9dfaf21f1b3f5d
parent53d2795ac1c5245e8e59746ffbd8dc7e197376d6
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