diff options
author | Ian Lance Taylor <iant@google.com> | 2007-12-21 23:31:19 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2007-12-21 23:31:19 +0000 |
commit | 99f8facac923848a9496cc34235b608e05a7f160 (patch) | |
tree | d35f563ca6e357ff8ff87d3d3e45c2098b702f46 /gold/dynobj.cc | |
parent | dc96b90a103d5363c3bb298178b6ae3c5124aa19 (diff) | |
download | fsf-binutils-gdb-99f8facac923848a9496cc34235b608e05a7f160.zip fsf-binutils-gdb-99f8facac923848a9496cc34235b608e05a7f160.tar.gz fsf-binutils-gdb-99f8facac923848a9496cc34235b608e05a7f160.tar.bz2 |
From Cary Coutant: Fix handling of versioned symbols, add some tests.
Diffstat (limited to 'gold/dynobj.cc')
-rw-r--r-- | gold/dynobj.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gold/dynobj.cc b/gold/dynobj.cc index 18ae92c..7e61007 100644 --- a/gold/dynobj.cc +++ b/gold/dynobj.cc @@ -1296,6 +1296,7 @@ Versions::add_def(const Symbol* sym, const char* version, // We have now seen a symbol in this version, so it is not // weak. + gold_assert(vb != NULL); vb->clear_weak(); // FIXME: When we support version scripts, we will need to |