2009-07-24 Chris Demetriou <cgd@google.com>
authorChris Demetriou <cgd@google.com>
Fri, 24 Jul 2009 23:13:51 +0000 (23:13 +0000)
committerChris Demetriou <cgd@google.com>
Fri, 24 Jul 2009 23:13:51 +0000 (23:13 +0000)
        * layout.cc (is_compressible_debug_section): Fix incorrect
        comment about compressed section names.

gold/ChangeLog
gold/layout.cc

index 26e5bff..d56b934 100644 (file)
@@ -1,3 +1,8 @@
+2009-07-24  Chris Demetriou  <cgd@google.com>
+
+       * layout.cc (is_compressible_debug_section): Fix incorrect
+       comment about compressed section names.
+
 2009-07-20  Ian Lance Taylor  <ian@airs.com>
 
        PR 10419
index 0093c29..eb8aac7 100644 (file)
@@ -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)