diff options
author | Ian Lance Taylor <iant@google.com> | 2007-11-15 01:12:55 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2007-11-15 01:12:55 +0000 |
commit | a2b1aa12f7d82dfd451e110bff8df16cdf6e2c49 (patch) | |
tree | e32b20a9b4065d58ffd0a8e1479f428fadb68ab5 /gold/x86_64.cc | |
parent | 2a1932dcc777a3aa4552a14aa917caf33f97427b (diff) | |
download | gdb-a2b1aa12f7d82dfd451e110bff8df16cdf6e2c49.zip gdb-a2b1aa12f7d82dfd451e110bff8df16cdf6e2c49.tar.gz gdb-a2b1aa12f7d82dfd451e110bff8df16cdf6e2c49.tar.bz2 |
From Craig Silverstein: Add support for --demangle.
Diffstat (limited to 'gold/x86_64.cc')
-rw-r--r-- | gold/x86_64.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gold/x86_64.cc b/gold/x86_64.cc index 5078237..992b8bf 100644 --- a/gold/x86_64.cc +++ b/gold/x86_64.cc @@ -918,7 +918,7 @@ Target_x86_64::Scan::unsupported_reloc_global(Sized_relobj<64, false>* object, Symbol* gsym) { gold_error(_("%s: unsupported reloc %u against global symbol %s"), - object->name().c_str(), r_type, gsym->name()); + object->name().c_str(), r_type, gsym->demangled_name().c_str()); } // Scan a relocation for a global symbol. @@ -1146,7 +1146,8 @@ Target_x86_64::Scan::global(const General_options& options, case elfcpp::R_X86_64_SIZE64: default: gold_error(_("%s: unsupported reloc %u against global symbol %s"), - object->name().c_str(), r_type, gsym->name()); + object->name().c_str(), r_type, + gsym->demangled_name().c_str()); break; } } |