aboutsummaryrefslogtreecommitdiff
path: root/gold/script.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gold/script.cc')
-rw-r--r--gold/script.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gold/script.cc b/gold/script.cc
index 4b2c337..55cd4e6 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;