* dynobj.cc (Versions::Versions): Update comment.

This commit is contained in:
Ian Lance Taylor 2008-07-24 21:21:38 +00:00
parent 457cad8e7d
commit c89ad72891
2 changed files with 3 additions and 4 deletions

View File

@ -1,5 +1,7 @@
2008-07-24 Ian Lance Taylor <iant@google.com>
* dynobj.cc (Versions::Versions): Update comment.
* dynobj.cc (Versions::Versions): If there is an soname, use it as
the base version name.

View File

@ -1305,12 +1305,9 @@ Versions::Versions(const Version_script_info& version_script,
: defs_(), needs_(), version_table_(),
is_finalized_(false), version_script_(version_script)
{
// We always need a base version, so define that first. Nothing
// We always need a base version, so define that first. Nothing
// explicitly declares itself as part of base, so it doesn't need to
// be in version_table_.
// FIXME: Should use soname here when creating a shared object. Is
// this fixme still valid? It looks like it's doing the right thing
// to me.
if (parameters->options().shared())
{
const char* name = parameters->options().soname();