* config/tc-mn10200.c (md_assemble): Opcode 0x0 is valid!
authorJeff Law <law@redhat.com>
Tue, 10 Dec 1996 19:33:48 +0000 (19:33 +0000)
committerJeff Law <law@redhat.com>
Tue, 10 Dec 1996 19:33:48 +0000 (19:33 +0000)
        * config/tc-mn10300.c (md_assemble): Likewise.
Found by mn10200 gas testsuite.

gas/ChangeLog
gas/config/tc-mn10300.c

index b6bb01d..00b98ee 100644 (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
index d5f83f0..ea97f17 100644 (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;