aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCary Coutant <ccoutant@google.com>2011-09-19 19:29:55 +0000
committerCary Coutant <ccoutant@google.com>2011-09-19 19:29:55 +0000
commit0c9350c83fd049b1f396a9311a54c6051b0b7a2b (patch)
tree593973f179ffc58d31870d95681e54be9c80d23a
parent562f943bccc5f35b000983a1aa9f9a8af7b3cad0 (diff)
downloadgdb-0c9350c83fd049b1f396a9311a54c6051b0b7a2b.zip
gdb-0c9350c83fd049b1f396a9311a54c6051b0b7a2b.tar.gz
gdb-0c9350c83fd049b1f396a9311a54c6051b0b7a2b.tar.bz2
* incremental.cc (can_incremental_update): Fix typo in comment.
* incremental.h (can_incremental_update): Likewise.
-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);