From 05b65e16b1739a780e372325a8d5e7b040c422ca Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Fri, 24 Oct 2003 18:55:39 +0000 Subject: [PATCH] 2003-10-24 H.J. Lu * ldlang.c (lang_vers_match): Fix a typo. --- ld/ChangeLog | 4 ++++ ld/ldlang.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ld/ChangeLog b/ld/ChangeLog index f8efc4d4c5..75e4118103 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,5 +1,9 @@ 2003-10-24 H.J. Lu + * ldlang.c (lang_vers_match): Fix a typo. + +2003-10-24 H.J. Lu + * ldlang.c (lang_vers_match): Check demangled symbols. 2003-10-24 H.J. Lu diff --git a/ld/ldlang.c b/ld/ldlang.c index df415fc411..7c4f7d746d 100644 --- a/ld/ldlang.c +++ b/ld/ldlang.c @@ -4993,7 +4993,7 @@ lang_vers_match (struct bfd_elf_version_expr_head *head, if (!cxx_sym) cxx_sym = sym; } - else if (head->mask & BFD_ELF_VERSION_JAVA_TYPE) + if (head->mask & BFD_ELF_VERSION_JAVA_TYPE) { java_sym = cplus_demangle (sym, DMGL_JAVA); if (!java_sym) -- 2.11.0