diff options
author | Craig Silverstein <csilvers@google.com> | 2008-06-30 20:59:54 +0000 |
---|---|---|
committer | Craig Silverstein <csilvers@google.com> | 2008-06-30 20:59:54 +0000 |
commit | afe47622714cc973b1fe04ca27d460cfc1c29d90 (patch) | |
tree | 90a5a8105989f4f8c5bbad061992a239e1464460 /gold/script.cc | |
parent | cb53bf42a082f17d33763e1b338a5753b42b682b (diff) | |
download | binutils-gdb-afe47622714cc973b1fe04ca27d460cfc1c29d90.tar.gz |
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 '?'
Diffstat (limited to 'gold/script.cc')
-rw-r--r-- | gold/script.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gold/script.cc b/gold/script.cc index 4b2c3379f2b..55cd4e60ff5 100644 --- a/gold/script.cc +++ b/gold/script.cc @@ -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; |