aboutsummaryrefslogtreecommitdiff
path: root/gold/output.cc
diff options
context:
space:
mode:
authorCary Coutant <ccoutant@google.com>2010-11-16 18:40:28 +0000
committerCary Coutant <ccoutant@google.com>2010-11-16 18:40:28 +0000
commit6fc6ea198c7feb48e378a490f5d227d625a340e4 (patch)
tree02aa19e7f2893c86b5d8a43792f840fcfa596589 /gold/output.cc
parenta0692e366ae31b249502c7c60d7091211f680c68 (diff)
downloadgdb-6fc6ea198c7feb48e378a490f5d227d625a340e4.zip
gdb-6fc6ea198c7feb48e378a490f5d227d625a340e4.tar.gz
gdb-6fc6ea198c7feb48e378a490f5d227d625a340e4.tar.bz2
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.
Diffstat (limited to 'gold/output.cc')
-rw-r--r--gold/output.cc2
1 files changed, 1 insertions, 1 deletions
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 =