This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [gold patch] Fix incremental linking problems with .init_array and .eh_frame sections
I've committed this fix for a typo in the comments...
-cary
* incremental.cc (can_incremental_update): Fix typo in comment.
* incremental.h (can_incremental_update): Likewise.
Index: incremental.cc
===================================================================
RCS file: /cvs/src/src/gold/incremental.cc,v
retrieving revision 1.46
diff -u -p -r1.46 incremental.cc
--- incremental.cc 18 Sep 2011 15:06:27 -0000 1.46
+++ incremental.cc 19 Sep 2011 19:29:25 -0000
@@ -161,7 +161,7 @@ Incremental_binary::error(const char* fo
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.
Index: incremental.h
===================================================================
RCS file: /cvs/src/src/gold/incremental.h,v
retrieving revision 1.27
diff -u -p -r1.27 incremental.h
--- incremental.h 18 Sep 2011 15:06:28 -0000 1.27
+++ incremental.h 19 Sep 2011 19:29:25 -0000
@@ -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);