AsmParser: Give a nice error message for .code16gcc, which is currently unsupported.

Patch by Team PaX!

llvm-svn: 156708
This commit is contained in:
Benjamin Kramer 2012-05-12 11:19:04 +00:00
parent 66b8d4d28f
commit 38de62f883
1 changed files with 1 additions and 1 deletions

View File

@ -1257,7 +1257,7 @@ bool AsmParser::ParseStatement() {
if (IDVal == ".incbin")
return ParseDirectiveIncbin();
if (IDVal == ".code16")
if (IDVal == ".code16" || IDVal == ".code16gcc")
return TokError(Twine(IDVal) + " not supported yet");
// Look up the handler in the handler table.