aboutsummaryrefslogtreecommitdiff
path: root/gold/layout.cc
diff options
context:
space:
mode:
authorChris Demetriou <cgd@google.com>2009-07-24 23:13:51 +0000
committerChris Demetriou <cgd@google.com>2009-07-24 23:13:51 +0000
commitc3b65ac4d0f98770c149f41a5a80a1b34a3a821a (patch)
tree628b624139b745ec0dd27d569507e40a5558e353 /gold/layout.cc
parent8fdcc58daafe1153d2edf18a2f106d2b247e1f01 (diff)
downloadgdb-c3b65ac4d0f98770c149f41a5a80a1b34a3a821a.zip
gdb-c3b65ac4d0f98770c149f41a5a80a1b34a3a821a.tar.gz
gdb-c3b65ac4d0f98770c149f41a5a80a1b34a3a821a.tar.bz2
2009-07-24 Chris Demetriou <cgd@google.com>
* layout.cc (is_compressible_debug_section): Fix incorrect comment about compressed section names.
Diffstat (limited to 'gold/layout.cc')
-rw-r--r--gold/layout.cc11
1 files changed, 5 insertions, 6 deletions
diff --git a/gold/layout.cc b/gold/layout.cc
index 0093c29..eb8aac7 100644
--- a/gold/layout.cc
+++ b/gold/layout.cc
@@ -748,12 +748,11 @@ Layout::section_flags_to_segment(elfcpp::Elf_Xword flags)
// Sometimes we compress sections. This is typically done for
// sections that are not part of normal program execution (such as
// .debug_* sections), and where the readers of these sections know
-// how to deal with compressed sections. (To make it easier for them,
-// we will rename the ouput section in such cases from .foo to
-// .foo.zlib.nnnn, where nnnn is the uncompressed size.) This routine
-// doesn't say for certain whether we'll compress -- it depends on
-// commandline options as well -- just whether this section is a
-// candidate for compression.
+// how to deal with compressed sections. This routine doesn't say for
+// certain whether we'll compress -- it depends on commandline options
+// as well -- just whether this section is a candidate for compression.
+// (The Output_compressed_section class decides whether to compress
+// a given section, and picks the name of the compressed section.)
static bool
is_compressible_debug_section(const char* secname)