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.
This commit is contained in:
Cary Coutant
2010-11-16 18:40:28 +00:00
parent a0692e366a
commit 6fc6ea198c
3 changed files with 54 additions and 41 deletions

View File

@@ -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 =