From 2f97444a4fbb09bd0b9dd6ed9dda8ddbe91cfaf2 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Mon, 8 Dec 2003 03:43:33 +0000 Subject: [PATCH] 2003-12-07 H.J. Lu * ldlang.c (lang_vers_match): Pass "DMGL_PARAMS | DMGL_ANSI" to cplus_demangle. --- ld/ChangeLog | 5 +++++ ld/ldlang.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ld/ChangeLog b/ld/ChangeLog index 3149a2c118b..216900c445b 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +2003-12-07 H.J. Lu + + * ldlang.c (lang_vers_match): Pass "DMGL_PARAMS | DMGL_ANSI" to + cplus_demangle. + 2003-12-07 Kazu Hirata * ldemul.c: Convert to ISO-C. diff --git a/ld/ldlang.c b/ld/ldlang.c index e37140451be..6b201ecc73f 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; } -- 2.30.2