aboutsummaryrefslogtreecommitdiff
path: root/gas/config/rl78-parse.y
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2015-05-01 15:08:07 -0400
committerDJ Delorie <dj@redhat.com>2015-05-01 15:08:07 -0400
commitd62de9aa697946c9205bb973075ecefaf14195d7 (patch)
tree42306ae0ee444ac5bc594189ab19e0e111d67332 /gas/config/rl78-parse.y
parentf7d13551023d7a1aaa89a36f6a4bb197de165109 (diff)
downloadgdb-d62de9aa697946c9205bb973075ecefaf14195d7.zip
gdb-d62de9aa697946c9205bb973075ecefaf14195d7.tar.gz
gdb-d62de9aa697946c9205bb973075ecefaf14195d7.tar.bz2
Fix typos in previous patch.
* config/rl78-parse.y (MULU): Remove ISA_G14. (MULH, DIVHU, DIVWU, MACHI, MACH): Update error strings.
Diffstat (limited to 'gas/config/rl78-parse.y')
-rw-r--r--gas/config/rl78-parse.y12
1 files changed, 6 insertions, 6 deletions
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); }
/* ---------------------------------------------------------------------- */