From: Jeff Law Date: Fri, 11 Oct 1996 22:06:47 +0000 (+0000) Subject: * mn10300-opc.c (mn10300_opcodes): Fix typo in opcode X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=63dc694d2956f245e42e525cf9d4e6958d4d4554;p=binutils-gdb.git * mn10300-opc.c (mn10300_opcodes): Fix typo in opcode field for movhu instruction. Bug found by gas testsuite. * v850-dis.c (disassemble): For V850_OPERAND_SIGNED operands, cast value to "long" not "signed long" to keep hpux10 compiler quiet. Found in an attempt to build the v850 on hpux10 with the HP compiler. --- diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index ddd40064bd3..dfd29fb7610 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,14 @@ +Fri Oct 11 16:03:49 1996 Jeffrey A Law (law@cygnus.com) + + * mn10300-opc.c (mn10300_opcodes): Fix typo in opcode + field for movhu instruction. +start-sanitize-v850 + + * v850-dis.c (disassemble): For V850_OPERAND_SIGNED operands, + cast value to "long" not "signed long" to keep hpux10 + compiler quiet. +end-sanitize-v850 + Thu Oct 10 10:25:58 1996 Jeffrey A Law (law@cygnus.com) * mn10300-opc.c (mn10300_opcodes): Fix typo in opcode field diff --git a/opcodes/mn10300-opc.c b/opcodes/mn10300-opc.c index 5084749eecf..6795eac2e29 100644 --- a/opcodes/mn10300-opc.c +++ b/opcodes/mn10300-opc.c @@ -211,7 +211,7 @@ const struct mn10300_opcode mn10300_opcodes[] = { { "movhu", 0xfabc0000, 0xfffc0000, FMT_D2, {MEM2(D16, SP), DN0}}, { "movhu", 0xfcbc0000, 0xfffc0000, FMT_D4, {MEM2(D32, SP), DN0}}, { "movhu", 0xf480, 0xffc0, FMT_D0, {MEM2(DI, AM0), DN0}}, -{ "movhu", 0xc80000, 0xfc0000, FMT_S2, {MEM(ABS16), DN0}}, +{ "movhu", 0x380000, 0xfc0000, FMT_S2, {MEM(ABS16), DN0}}, { "movhu", 0xfcac0000, 0xfffc0000, FMT_D4, {MEM(ABS32), DN0}}, { "movhu", 0xf070, 0xfff0, FMT_D0, {DM1, MEM(AN0)}}, { "movhu", 0xf87000, 0xfff000, FMT_D1, {DM1, MEM2(SD8, AN0)}},