This is the mail archive of the binutils-cvs@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[binutils-gdb] Fix typos in previous patch.


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=d62de9aa697946c9205bb973075ecefaf14195d7

commit d62de9aa697946c9205bb973075ecefaf14195d7
Author: DJ Delorie <dj@redhat.com>
Date:   Fri May 1 15:08:07 2015 -0400

    Fix typos in previous patch.
    
    * config/rl78-parse.y (MULU): Remove ISA_G14.
    (MULH, DIVHU, DIVWU, MACHI, MACH): Update error strings.

Diff:
---
 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  <nickc@redhat.com>
+
+	* config/rl78-parse.y (MULU): Remove ISA_G14.
+	(MULH, DIVHU, DIVWU, MACHI, MACH): Update error strings.
+
 2015-05-01  H.J. Lu  <hongjiu.lu@intel.com>
 
 	* 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); }
 
 /* ---------------------------------------------------------------------- */


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]