forked from OSchip/llvm-project
AsmParser: Give a nice error message for .code16gcc, which is currently unsupported.
Patch by Team PaX! llvm-svn: 156708
This commit is contained in:
parent
66b8d4d28f
commit
38de62f883
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue