PR gold/12689
authorCary Coutant <ccoutant@google.com>
Wed, 20 Apr 2011 18:20:51 +0000 (18:20 +0000)
committerCary Coutant <ccoutant@google.com>
Wed, 20 Apr 2011 18:20:51 +0000 (18:20 +0000)
* archive.h (Incremental_archive_entry::Archive_member):
Initialize arg_serial_ (second constructor).

gold/ChangeLog
gold/archive.h

index 3ab58cd41ef0aac42f4a5607cb2a26ebb6991467..3567034e37aa9b7bba4cdd0da50ec1f65c8ab7a4 100644 (file)
@@ -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.
index 7e3182737d0ff646028f6d57439234a1c54ab1b3..78c2cc897950c7c6b3b9ac84b595c17d02c96081 100644 (file)
@@ -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_;