aboutsummaryrefslogtreecommitdiff
path: root/gold/dynobj.cc
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2007-10-09 17:46:15 +0000
committerIan Lance Taylor <iant@google.com>2007-10-09 17:46:15 +0000
commite2aacd2c759620f4d18142f811c916adcf6fb7b4 (patch)
tree203f537bc4a09bc8d898e443eee5f68dacb2a38a /gold/dynobj.cc
parent7068dd5353f3c23c4d775922de72a25732579fb1 (diff)
downloadgdb-e2aacd2c759620f4d18142f811c916adcf6fb7b4.zip
gdb-e2aacd2c759620f4d18142f811c916adcf6fb7b4.tar.gz
gdb-e2aacd2c759620f4d18142f811c916adcf6fb7b4.tar.bz2
Fix soname for library found in search path.
Diffstat (limited to 'gold/dynobj.cc')
-rw-r--r--gold/dynobj.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gold/dynobj.cc b/gold/dynobj.cc
index 5817720..805d869 100644
--- a/gold/dynobj.cc
+++ b/gold/dynobj.cc
@@ -42,7 +42,7 @@ Dynobj::soname() const
{
if (!this->soname_.empty())
return this->soname_.c_str();
- return this->name().c_str();
+ return this->input_file()->found_name().c_str();
}
// Class Sized_dynobj.