aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>2008-07-24 21:21:38 +0000
committerIan Lance Taylor <ian@airs.com>2008-07-24 21:21:38 +0000
commitc89ad7289199432c5042995ce790fb61c4f9bd65 (patch)
tree344e9468a2d2d941068bd6dbdd7170c3a1ba8344
parent457cad8e7dfa0418f8e67f2c064c00c1f368903f (diff)
downloadgdb-c89ad7289199432c5042995ce790fb61c4f9bd65.zip
gdb-c89ad7289199432c5042995ce790fb61c4f9bd65.tar.gz
gdb-c89ad7289199432c5042995ce790fb61c4f9bd65.tar.bz2
* dynobj.cc (Versions::Versions): Update comment.
-rw-r--r--gold/ChangeLog2
-rw-r--r--gold/dynobj.cc5
2 files changed, 3 insertions, 4 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog
index 8f4d3f9..517f921 100644
--- a/gold/ChangeLog
+++ b/gold/ChangeLog
@@ -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.
diff --git a/gold/dynobj.cc b/gold/dynobj.cc
index 349d472..5420613 100644
--- a/gold/dynobj.cc
+++ b/gold/dynobj.cc
@@ -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();