From 6fc6ea198c7feb48e378a490f5d227d625a340e4 Mon Sep 17 00:00:00 2001 From: Cary Coutant Date: Tue, 16 Nov 2010 18:40:28 +0000 Subject: PR gold/12220 * layout.cc (Layout::choose_output_section): Transform names of compressed sections even when using a script with a SECTIONS clause. (Layout::output_section_name): Remove code to transform compressed debug section names. * output.cc (Output_section::add_input_section): Use uncompressed section size when tracking input sections. --- gold/output.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gold/output.cc') diff --git a/gold/output.cc b/gold/output.cc index dda475d..766e0ff 100644 --- a/gold/output.cc +++ b/gold/output.cc @@ -2165,7 +2165,7 @@ Output_section::add_input_section(Layout* layout, || parameters->target().may_relax() || parameters->options().section_ordering_file()) { - Input_section isecn(object, shndx, shdr.get_sh_size(), addralign); + Input_section isecn(object, shndx, input_section_size, addralign); if (parameters->options().section_ordering_file()) { unsigned int section_order_index = -- cgit v1.1