diff options
author | Alan Modra <amodra@gmail.com> | 2002-02-14 04:24:33 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2002-02-14 04:24:33 +0000 |
commit | 313e35ee7c86c3b28c3c189e463a3de14d7ac2e9 (patch) | |
tree | 6e59deb8ded9fb75de5f43951712e47d9fd4150c /ld/ldlang.c | |
parent | 1e30956ea4c60a31e6612403c496d1be0d549756 (diff) | |
download | gdb-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/ldlang.c')
-rw-r--r-- | ld/ldlang.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ld/ldlang.c b/ld/ldlang.c index eab970d..034d122 100644 --- a/ld/ldlang.c +++ b/ld/ldlang.c @@ -5020,7 +5020,7 @@ lang_vers_match_lang_java (expr, sym) /* This is called for each variable name or match expression. */ struct bfd_elf_version_expr * -lang_new_vers_regex (orig, new, lang) +lang_new_vers_pattern (orig, new, lang) struct bfd_elf_version_expr *orig; const char *new; const char *lang; @@ -5193,7 +5193,7 @@ lang_do_version_exports_section () p = contents; while (p < contents + len) { - greg = lang_new_vers_regex (greg, p, NULL); + greg = lang_new_vers_pattern (greg, p, NULL); p = strchr (p, '\0') + 1; } @@ -5204,7 +5204,7 @@ lang_do_version_exports_section () bfd_get_section_flags (is->the_bfd, sec) | SEC_EXCLUDE); } - lreg = lang_new_vers_regex (NULL, "*", NULL); + lreg = lang_new_vers_pattern (NULL, "*", NULL); lang_register_vers_node (command_line.version_exports_section, lang_new_vers_node (greg, lreg), NULL); } |