Assemble 'bad' moxie instruction

This commit is contained in:
Anthony Green 2016-11-13 07:37:02 -05:00
parent 75d6c74e79
commit 3f47df7fb3
1 changed files with 7 additions and 0 deletions

View File

@ -535,6 +535,13 @@ md_assemble (char *str)
BFD_RELOC_MOXIE_10_PCREL);
}
break;
case MOXIE_BAD:
iword = 0;
while (ISSPACE (*op_end))
op_end++;
if (*op_end != 0)
as_warn (_("extra stuff on line ignored"));
break;
default:
abort ();
}