aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gold/ChangeLog6
-rw-r--r--gold/archive.h2
2 files changed, 7 insertions, 1 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog
index 3ab58cd..3567034 100644
--- a/gold/ChangeLog
+++ b/gold/ChangeLog
@@ -1,3 +1,9 @@
+2011-04-20 Cary Coutant <ccoutant@google.com>
+
+ PR gold/12689
+ * archive.h (Incremental_archive_entry::Archive_member):
+ Initialize arg_serial_ (second constructor).
+
2011-04-17 Ian Lance Taylor <iant@google.com>
* object.cc (Relocate_info::location): Simplify location string.
diff --git a/gold/archive.h b/gold/archive.h
index 7e31827..78c2cc8 100644
--- a/gold/archive.h
+++ b/gold/archive.h
@@ -51,7 +51,7 @@ struct Archive_member
: obj_(NULL), sd_(NULL), arg_serial_(0)
{ }
Archive_member(Object* obj, Read_symbols_data* sd)
- : obj_(obj), sd_(sd)
+ : obj_(obj), sd_(sd), arg_serial_(0)
{ }
// The object file.
Object* obj_;