From: Cary Coutant Date: Wed, 20 Apr 2011 18:20:51 +0000 (+0000) Subject: PR gold/12689 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e7782cf63b834cc4c4d159dcb6e3a9908b12432f;p=binutils-gdb.git PR gold/12689 * archive.h (Incremental_archive_entry::Archive_member): Initialize arg_serial_ (second constructor). --- diff --git a/gold/ChangeLog b/gold/ChangeLog index 3ab58cd41ef..3567034e37a 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,3 +1,9 @@ +2011-04-20 Cary Coutant + + PR gold/12689 + * archive.h (Incremental_archive_entry::Archive_member): + Initialize arg_serial_ (second constructor). + 2011-04-17 Ian Lance Taylor * object.cc (Relocate_info::location): Simplify location string. diff --git a/gold/archive.h b/gold/archive.h index 7e3182737d0..78c2cc89795 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_;