aboutsummaryrefslogtreecommitdiff
path: root/ld/ldgram.y
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2002-02-14 04:24:33 +0000
committerAlan Modra <amodra@gmail.com>2002-02-14 04:24:33 +0000
commit313e35ee7c86c3b28c3c189e463a3de14d7ac2e9 (patch)
tree6e59deb8ded9fb75de5f43951712e47d9fd4150c /ld/ldgram.y
parent1e30956ea4c60a31e6612403c496d1be0d549756 (diff)
downloadgdb-313e35ee7c86c3b28c3c189e463a3de14d7ac2e9.zip
gdb-313e35ee7c86c3b28c3c189e463a3de14d7ac2e9.tar.gz
gdb-313e35ee7c86c3b28c3c189e463a3de14d7ac2e9.tar.bz2
* ld.texinfo (VERSION scripts): Symbol names are globbing patterns.
* ldgram.y (lang_new_vers_regex): Rename to lang_new_vers_pattern; the pattern in question is not a regexp. * ldlang.c: Likewise. * ldlang.h: Likewise. * ldlex.l (V_IDENTIFIER): Allow '[', ']', '-', '!', and '^' also.
Diffstat (limited to 'ld/ldgram.y')
-rw-r--r--ld/ldgram.y4
1 files changed, 2 insertions, 2 deletions
diff --git a/ld/ldgram.y b/ld/ldgram.y
index ad26902..2df9756 100644
--- a/ld/ldgram.y
+++ b/ld/ldgram.y
@@ -1116,11 +1116,11 @@ vers_tag:
vers_defns:
VERS_IDENTIFIER
{
- $$ = lang_new_vers_regex (NULL, $1, ldgram_vers_current_lang);
+ $$ = lang_new_vers_pattern (NULL, $1, ldgram_vers_current_lang);
}
| vers_defns ';' VERS_IDENTIFIER
{
- $$ = lang_new_vers_regex ($1, $3, ldgram_vers_current_lang);
+ $$ = lang_new_vers_pattern ($1, $3, ldgram_vers_current_lang);
}
| EXTERN NAME '{'
{