* config/tc-mn10200.c (md_assemble): Opcode 0x0 is valid!

* config/tc-mn10300.c (md_assemble): Likewise.
Found by mn10200 gas testsuite.
This commit is contained in:
Jeff Law 1996-12-10 19:33:48 +00:00
parent 0888b4a38a
commit 42aa243574
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Tue Dec 10 12:23:19 1996 Jeffrey A Law (law@cygnus.com)
* config/tc-mn10200.c (md_assemble): Opcode 0x0 is valid!
* config/tc-mn10300.c (md_assemble): Likewise.
Tue Dec 10 11:37:14 1996 Ian Lance Taylor <ian@cygnus.com>
* config/tc-mips.c (mips16_extended_frag): Give an error for an

View File

@ -736,7 +736,7 @@ keep_going:
if (match == 0)
{
next_opcode = opcode + 1;
if (next_opcode->opcode != 0 && !strcmp(next_opcode->name, opcode->name))
if (!strcmp(next_opcode->name, opcode->name))
{
opcode = next_opcode;
continue;