This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [gold patch] Incremental 8/18: Initial support for incremental update
- From: Cary Coutant <ccoutant at google dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: Ian Lance Taylor <iant at google dot com>, Binutils <binutils at sourceware dot org>
- Date: Wed, 20 Apr 2011 11:22:56 -0700
- Subject: Re: [gold patch] Incremental 8/18: Initial support for incremental update
- References: <BANLkTik8CwBzM1e-7kCLnpAhJzrP3EKbDA@mail.gmail.com> <BANLkTimH0Q7OaQnPH3PwXgmXhCoJu7a+Jw@mail.gmail.com>
> This caused:
>
> http://sourceware.org/bugzilla/show_bug.cgi?id=12689
I've committed the following to fix this. Thanks!
-cary
PR gold/12689
* archive.h (Incremental_archive_entry::Archive_member):
Initialize arg_serial_ (second constructor).
Index: archive.h
===================================================================
RCS file: /cvs/src/src/gold/archive.h,v
retrieving revision 1.35
diff -u -p -r1.35 archive.h
--- archive.h 12 Apr 2011 00:44:47 -0000 1.35
+++ archive.h 20 Apr 2011 18:15:38 -0000
@@ -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_;