diff --git a/lld/ELF/ScriptParser.cpp b/lld/ELF/ScriptParser.cpp --- a/lld/ELF/ScriptParser.cpp +++ b/lld/ELF/ScriptParser.cpp @@ -351,7 +351,7 @@ expect("("); StringRef tok = next(); if (config->entry.empty()) - config->entry = tok; + config->entry = unquote(tok); expect(")"); }