aboutsummaryrefslogtreecommitdiff
path: root/gold/dynobj.cc
diff options
context:
space:
mode:
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.