aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCary Coutant <ccoutant@google.com>2010-03-24 01:27:57 +0000
committerCary Coutant <ccoutant@google.com>2010-03-24 01:27:57 +0000
commit4a599bdd836c8c06783282219c1f4f3e8032dd4f (patch)
treed01e3bd6574971f6f839d7b42fb86b0ef328841d
parent4a5e7a5b0ae022b3cd116e64a45d84f8ad51bc0d (diff)
downloadgdb-4a599bdd836c8c06783282219c1f4f3e8032dd4f.zip
gdb-4a599bdd836c8c06783282219c1f4f3e8032dd4f.tar.gz
gdb-4a599bdd836c8c06783282219c1f4f3e8032dd4f.tar.bz2
* fileread.cc (find_or_make_view): Fix comment.
-rw-r--r--gold/ChangeLog4
-rw-r--r--gold/fileread.cc2
2 files changed, 5 insertions, 1 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog
index 374b588..5da1239 100644
--- a/gold/ChangeLog
+++ b/gold/ChangeLog
@@ -1,3 +1,7 @@
+2010-03-23 Cary Coutant <ccoutant@google.com>
+
+ * fileread.cc (find_or_make_view): Fix comment.
+
2010-03-23 Ian Lance Taylor <iant@google.com>
* script-sections.cc (class Orphan_section_placement): Define
diff --git a/gold/fileread.cc b/gold/fileread.cc
index 1bfe9eb..dc5539f 100644
--- a/gold/fileread.cc
+++ b/gold/fileread.cc
@@ -469,7 +469,7 @@ File_read::find_or_make_view(off_t offset, off_t start,
// If --map-whole-files is set, make sure we have a
// whole file view. Options may not yet be ready, e.g.,
// when reading a version script. We then default to
- // --no-keep-files-mapped.
+ // --no-map-whole-files.
if (this->whole_file_view_ == NULL
&& parameters->options_valid()
&& parameters->options().map_whole_files())