This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[obvious gold patch] fix comment about compressed section names.
- From: Chris Demetriou <cgd at google dot com>
- To: binutils at sourceware dot org
- Date: Fri, 24 Jul 2009 16:13:24 -0700
- Subject: [obvious gold patch] fix comment about compressed section names.
Checked in as obvious. (I debated whether to remove the comment,
update it for the new names, or point people at the class responsible
for picking the names. The latter seemed like the best choice.)
chris
--
2009-07-24 Chris Demetriou <cgd@google.com>
* layout.cc (is_compressible_debug_section): Fix incorrect
comment about compressed section names.
2009-07-24 Chris Demetriou <cgd@google.com>
* layout.cc (is_compressible_debug_section): Fix comment about
compressed section names.
Index: layout.cc
===================================================================
RCS file: /cvs/src/src/gold/layout.cc,v
retrieving revision 1.132
diff -u -u -p -r1.132 layout.cc
--- layout.cc 17 Jul 2009 01:07:33 -0000 1.132
+++ layout.cc 24 Jul 2009 22:58:16 -0000
@@ -748,12 +748,9 @@ Layout::section_flags_to_segment(elfcpp:
// 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.
static bool
is_compressible_debug_section(const char* secname)