aboutsummaryrefslogtreecommitdiff
path: root/ld
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
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')
-rw-r--r--ld/ChangeLog5
-rw-r--r--ld/ldlang.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 3149a2c..216900c 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,8 @@
+2003-12-07 H.J. Lu <hongjiu.lu@intel.com>
+
+ * ldlang.c (lang_vers_match): Pass "DMGL_PARAMS | DMGL_ANSI" to
+ cplus_demangle.
+
2003-12-07 Kazu Hirata <kazu@cs.umass.edu>
* ldemul.c: Convert to ISO-C.
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;
}