* 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 b6bb01d874d4f68cd6eca9795b8a1598eedb3b84..00b98ee23973f301fa9572802fe4aa52b8435ae4 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 d5f83f02427cdc80de2730ba546e9f54855142af..ea97f1790b87c02e168f3a794933414097cdf9b4 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;