[ELF] - Revert r293749

Accidentally lost the commit title and message,
will recommit.

llvm-svn: 293750
This commit is contained in:
George Rimar 2017-02-01 09:12:29 +00:00
parent f46e54f078
commit 091f9b35c7
1 changed files with 2 additions and 1 deletions

View File

@ -1494,7 +1494,8 @@ ScriptParser::readOutputSectionDescription(StringRef OutSec) {
while (!Error && !consume("}")) {
StringRef Tok = next();
if (Tok == ";") {
// Empty commands are allowed. Do nothing here.
// Commands may contain excessive additional semicolons around.
// We should be able to parse it.
} else if (SymbolAssignment *Assignment = readProvideOrAssignment(Tok)) {
Cmd->Commands.emplace_back(Assignment);
} else if (BytesDataCommand *Data = readBytesDataCommand(Tok)) {