forked from Imagelibrary/binutils-gdb
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:
@@ -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 =
|
||||
|
||||
Reference in New Issue
Block a user