From d62de9aa697946c9205bb973075ecefaf14195d7 Mon Sep 17 00:00:00 2001 From: DJ Delorie Date: Fri, 1 May 2015 15:08:07 -0400 Subject: [PATCH] Fix typos in previous patch. * config/rl78-parse.y (MULU): Remove ISA_G14. (MULH, DIVHU, DIVWU, MACHI, MACH): Update error strings. --- gas/ChangeLog | 5 +++++ gas/config/rl78-parse.y | 12 ++++++------ 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 8259f05..986f009 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2015-05-01 Nick Clifton + + * config/rl78-parse.y (MULU): Remove ISA_G14. + (MULH, DIVHU, DIVWU, MACHI, MACH): Update error strings. + 2015-05-01 H.J. Lu * config/tc-i386.c (i386_elf_emit_arch_note): Removed. diff --git a/gas/config/rl78-parse.y b/gas/config/rl78-parse.y index d2470f0..e9441d5 100644 --- a/gas/config/rl78-parse.y +++ b/gas/config/rl78-parse.y @@ -507,13 +507,13 @@ statement : | MULHU { ISA_G14 ("MULHU"); } { B3 (0xce, 0xfb, 0x01); } - | MULH { ISA_G14 ("MULHU"); } + | MULH { ISA_G14 ("MULH"); } { B3 (0xce, 0xfb, 0x02); } - | MULU X { ISA_G14 ("MULHU"); } + | MULU X { B1 (0xd6); } - | DIVHU { ISA_G14 ("MULHU"); } + | DIVHU { ISA_G14 ("DIVHU"); } { B3 (0xce, 0xfb, 0x03); } /* Note that the DIVWU encoding was changed from [0xce,0xfb,0x04] to @@ -521,13 +521,13 @@ statement : with the same version number, but varying encodings. The version here matches the hardware. */ - | DIVWU { ISA_G14 ("MULHU"); } + | DIVWU { ISA_G14 ("DIVWU"); } { B3 (0xce, 0xfb, 0x0b); } - | MACHU { ISA_G14 ("MULHU"); } + | MACHU { ISA_G14 ("MACHU"); } { B3 (0xce, 0xfb, 0x05); } - | MACH { ISA_G14 ("MULHU"); } + | MACH { ISA_G14 ("MACH"); } { B3 (0xce, 0xfb, 0x06); } /* ---------------------------------------------------------------------- */ -- 2.7.4