aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gold/ChangeLog5
-rw-r--r--gold/incremental.cc2
-rw-r--r--gold/incremental.h2
3 files changed, 7 insertions, 2 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog
index 6f72f92..f1ed09e 100644
--- a/gold/ChangeLog
+++ b/gold/ChangeLog
@@ -1,3 +1,8 @@
+2011-09-19 Cary Coutant <ccoutant@google.com>
+
+ * incremental.cc (can_incremental_update): Fix typo in comment.
+ * incremental.h (can_incremental_update): Likewise.
+
2011-09-18 Cary Coutant <ccoutant@google.com>
* incremental.cc (can_incremental_update): New function.
diff --git a/gold/incremental.cc b/gold/incremental.cc
index 998c04d..b422827 100644
--- a/gold/incremental.cc
+++ b/gold/incremental.cc
@@ -161,7 +161,7 @@ Incremental_binary::error(const char* format, ...) const
va_end(args);
}
-// Return TRUE if a section of type SH_TYPE will can be updated in place
+// Return TRUE if a section of type SH_TYPE can be updated in place
// during an incremental update. We can update sections of type PROGBITS,
// NOBITS, INIT_ARRAY, FINI_ARRAY, PREINIT_ARRAY, and NOTE. All others
// will be regenerated.
diff --git a/gold/incremental.h b/gold/incremental.h
index 5d1ebda..e6732df 100644
--- a/gold/incremental.h
+++ b/gold/incremental.h
@@ -81,7 +81,7 @@ enum Incremental_shlib_symbol_flags
static const int INCREMENTAL_SHLIB_SYM_FLAGS_SHIFT = 30;
-// Return TRUE if a section of type SH_TYPE will can be updated in place
+// Return TRUE if a section of type SH_TYPE can be updated in place
// during an incremental update.
bool
can_incremental_update(unsigned int sh_type);