aboutsummaryrefslogtreecommitdiff
path: root/gold/dynobj.cc
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2007-11-15 01:12:55 +0000
committerIan Lance Taylor <iant@google.com>2007-11-15 01:12:55 +0000
commita2b1aa12f7d82dfd451e110bff8df16cdf6e2c49 (patch)
treee32b20a9b4065d58ffd0a8e1479f428fadb68ab5 /gold/dynobj.cc
parent2a1932dcc777a3aa4552a14aa917caf33f97427b (diff)
downloadfsf-binutils-gdb-a2b1aa12f7d82dfd451e110bff8df16cdf6e2c49.zip
fsf-binutils-gdb-a2b1aa12f7d82dfd451e110bff8df16cdf6e2c49.tar.gz
fsf-binutils-gdb-a2b1aa12f7d82dfd451e110bff8df16cdf6e2c49.tar.bz2
From Craig Silverstein: Add support for --demangle.
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 a6f3588..f479352 100644
--- a/gold/dynobj.cc
+++ b/gold/dynobj.cc
@@ -1301,7 +1301,7 @@ Versions::add_def(const Symbol* sym, const char* version,
if (parameters->output_is_shared())
{
gold_error(_("symbol %s has undefined version %s"),
- sym->name(), version);
+ sym->demangled_name().c_str(), version);
return;
}