aboutsummaryrefslogtreecommitdiff
path: root/ld/ldlang.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2003-12-08 03:43:33 +0000
committerH.J. Lu <hjl.tools@gmail.com>2003-12-08 03:43:33 +0000
commit2f97444a4fbb09bd0b9dd6ed9dda8ddbe91cfaf2 (patch)
treeefd61b3530b62116a6f6b437c28cff3672011e85 /ld/ldlang.c
parentd992e8df4abc16e74841d694b65d9e6436cb1c4c (diff)
downloadgdb-2f97444a4fbb09bd0b9dd6ed9dda8ddbe91cfaf2.zip
gdb-2f97444a4fbb09bd0b9dd6ed9dda8ddbe91cfaf2.tar.gz
gdb-2f97444a4fbb09bd0b9dd6ed9dda8ddbe91cfaf2.tar.bz2
2003-12-07 H.J. Lu <hongjiu.lu@intel.com>
* ldlang.c (lang_vers_match): Pass "DMGL_PARAMS | DMGL_ANSI" to cplus_demangle.
Diffstat (limited to 'ld/ldlang.c')
-rw-r--r--ld/ldlang.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/ldlang.c b/ld/ldlang.c
index e371404..6b201ec 100644
--- a/ld/ldlang.c
+++ b/ld/ldlang.c
@@ -4996,7 +4996,7 @@ lang_vers_match (struct bfd_elf_version_expr_head *head,
if (head->mask & BFD_ELF_VERSION_CXX_TYPE)
{
- cxx_sym = cplus_demangle (sym, /* DMGL_NO_TPARAMS */ 0);
+ cxx_sym = cplus_demangle (sym, DMGL_PARAMS | DMGL_ANSI);
if (!cxx_sym)
cxx_sym = sym;
}