From Cary Coutant: Fix handling of versioned symbols, add some tests.

This commit is contained in:
Ian Lance Taylor 2007-12-21 23:31:19 +00:00
parent dc96b90a10
commit 99f8facac9
15 changed files with 501 additions and 107 deletions

View file

@ -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