aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2003-10-24 18:55:39 +0000
committerH.J. Lu <hjl.tools@gmail.com>2003-10-24 18:55:39 +0000
commitdf8162158d8985098531956a8225d3aca7b25806 (patch)
tree02d018831c16de1aaf9fe0cb8548fa40d099bfdb /ld
parentce2826aa7a697eed52dcb0aee57d087b285ebef0 (diff)
downloadgdb-df8162158d8985098531956a8225d3aca7b25806.zip
gdb-df8162158d8985098531956a8225d3aca7b25806.tar.gz
gdb-df8162158d8985098531956a8225d3aca7b25806.tar.bz2
2003-10-24 H.J. Lu <hongjiu.lu@intel.com>
* ldlang.c (lang_vers_match): Fix a typo.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog4
-rw-r--r--ld/ldlang.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index f8efc4d..75e4118 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,5 +1,9 @@
2003-10-24 H.J. Lu <hongjiu.lu@intel.com>
+ * ldlang.c (lang_vers_match): Fix a typo.
+
+2003-10-24 H.J. Lu <hongjiu.lu@intel.com>
+
* ldlang.c (lang_vers_match): Check demangled symbols.
2003-10-24 H.J. Lu <hongjiu.lu@intel.com>
diff --git a/ld/ldlang.c b/ld/ldlang.c
index df415fc..7c4f7d7 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)