2008-06-30 Craig Silverstein <csilvers@cs.stanford.edu>

* script.cc (Lex::can_continue_name): Make '?' allowable in
        version-script names.
        * testsuite/version_script.map: Change glob pattern to use '?'
This commit is contained in:
Craig Silverstein 2008-06-30 20:59:54 +00:00
parent cb53bf42a0
commit afe4762271
3 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,9 @@
2008-06-30 Craig Silverstein <csilvers@cs.stanford.edu>
* script.cc (Lex::can_continue_name): Make '?' allowable in
version-script names.
* testsuite/version_script.map: Change glob pattern to use '?'
2008-06-30 Manish Singh <yosh@gimp.org>
PR 6585

View File

@ -431,12 +431,12 @@ Lex::can_continue_name(const char* c)
case '/': case '\\': case '~':
case '=': case '+':
case ',': case '?':
case ',':
if (this->mode_ == LINKER_SCRIPT)
return c + 1;
return NULL;
case '[': case ']': case '*': case '-':
case '[': case ']': case '*': case '?': case '-':
if (this->mode_ == LINKER_SCRIPT || this->mode_ == VERSION_SCRIPT)
return c + 1;
return NULL;

View File

@ -17,7 +17,7 @@ V1 {
SECTIONS;
sizeof_headers;
# Crazy globbiness
glob*f[^A-Zo]stuff;
glob*f[^A-Zo]st?ff;
local:
*foo*;