aboutsummaryrefslogtreecommitdiff
path: root/gold/archive.h
diff options
context:
space:
mode:
authorCary Coutant <ccoutant@google.com>2011-06-02 20:13:23 +0000
committerCary Coutant <ccoutant@google.com>2011-06-02 20:13:23 +0000
commit7cdb37d9aa10a7e988a3812304da6b04dc2fd4c1 (patch)
tree30af4c568ba363cbb07f0ef04145f7f7dc2d7a1b /gold/archive.h
parent8dfd1e6d6ee42d903a027e42670ef8d3553678c3 (diff)
downloadgdb-7cdb37d9aa10a7e988a3812304da6b04dc2fd4c1.zip
gdb-7cdb37d9aa10a7e988a3812304da6b04dc2fd4c1.tar.gz
gdb-7cdb37d9aa10a7e988a3812304da6b04dc2fd4c1.tar.bz2
PR gold/12163
* gold/archive.cc (Archive::Archive): Initialize new data member. (Archive::include_all_members): Return if archive has already been included. * gold/archive.h (Archive::include_all_members_): New data member.
Diffstat (limited to 'gold/archive.h')
-rw-r--r--gold/archive.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gold/archive.h b/gold/archive.h
index 78c2cc8..e73a687 100644
--- a/gold/archive.h
+++ b/gold/archive.h
@@ -405,6 +405,8 @@ class Archive : public Library_base
unsigned int num_members_;
// True if we exclude this library archive from automatic export.
bool no_export_;
+ // True if this library has been included as a --whole-archive.
+ bool included_all_members_;
};
// This class is used to read an archive and pick out the desired