Changed llvm-mc arm target to give an error if .syntax divided is used. Since

only .syntax unified is supported.

llvm-svn: 124454
This commit is contained in:
Kevin Enderby 2011-01-27 23:22:36 +00:00
parent 21d3fca917
commit e9f2f0cb0b
1 changed files with 1 additions and 1 deletions

View File

@ -1481,7 +1481,7 @@ bool ARMAsmParser::ParseDirectiveSyntax(SMLoc L) {
if (Mode == "unified" || Mode == "UNIFIED")
Parser.Lex();
else if (Mode == "divided" || Mode == "DIVIDED")
Parser.Lex();
return Error(L, "'.syntax divided' arm asssembly not supported");
else
return Error(L, "unrecognized syntax mode in .syntax directive");