aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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())