From: Jeff Law Date: Tue, 10 Dec 1996 19:33:48 +0000 (+0000) Subject: * config/tc-mn10200.c (md_assemble): Opcode 0x0 is valid! X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=42aa243574a17375fff5b9cc53aec80da983fb7f;p=binutils-gdb.git * config/tc-mn10200.c (md_assemble): Opcode 0x0 is valid! * config/tc-mn10300.c (md_assemble): Likewise. Found by mn10200 gas testsuite. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index b6bb01d874d..00b98ee2397 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -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 * config/tc-mips.c (mips16_extended_frag): Give an error for an diff --git a/gas/config/tc-mn10300.c b/gas/config/tc-mn10300.c index d5f83f02427..ea97f1790b8 100644 --- a/gas/config/tc-mn10300.c +++ b/gas/config/tc-mn10300.c @@ -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;