aboutsummaryrefslogtreecommitdiff
path: root/ld/ldlang.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2002-08-08 03:50:18 +0000
committerH.J. Lu <hjl.tools@gmail.com>2002-08-08 03:50:18 +0000
commit3194163592008a9e575d577921647ab91b09c77b (patch)
tree4c4fa4fb54d632b2db20f90e84d881f337cc66c3 /ld/ldlang.c
parentcb811fe799b18a559b53b719e40dd65504db57c0 (diff)
downloadgdb-3194163592008a9e575d577921647ab91b09c77b.zip
gdb-3194163592008a9e575d577921647ab91b09c77b.tar.gz
gdb-3194163592008a9e575d577921647ab91b09c77b.tar.bz2
Check symbols with undefine version.
Diffstat (limited to 'ld/ldlang.c')
-rw-r--r--ld/ldlang.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ld/ldlang.c b/ld/ldlang.c
index c260829..a777e5a 100644
--- a/ld/ldlang.c
+++ b/ld/ldlang.c
@@ -5132,6 +5132,8 @@ lang_new_vers_pattern (orig, new, lang)
ret = (struct bfd_elf_version_expr *) xmalloc (sizeof *ret);
ret->next = orig;
ret->pattern = new;
+ ret->symver = 0;
+ ret->script = 0;
if (lang == NULL || strcasecmp (lang, "C") == 0)
ret->match = lang_vers_match_lang_c;