OSDN Git Service

PR 10450
authorian <ian>
Wed, 30 Dec 2009 04:00:21 +0000 (04:00 +0000)
committerian <ian>
Wed, 30 Dec 2009 04:00:21 +0000 (04:00 +0000)
commitf6ab5a4f55c8e52502e4c47cbf63cd5314a27d5a
treeac920ad1490c6cc9b4e08bd1973afe15a801cde3
parent76940c5e527d8e4be4a9900026ca582c8bdbd590
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