diff options
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 |