aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2013-02-25 18:41:06 +0000
committerNick Clifton <nickc@redhat.com>2013-02-25 18:41:06 +0000
commit151fa98f806158456f5293638145fadb93bbb068 (patch)
tree733c41293b358393e238612bf09b11ef80f43d2a /gas
parent025e6dce58745ef9494cb301a952132e7a7ce453 (diff)
downloadgdb-151fa98f806158456f5293638145fadb93bbb068.zip
gdb-151fa98f806158456f5293638145fadb93bbb068.tar.gz
gdb-151fa98f806158456f5293638145fadb93bbb068.tar.bz2
* rl78-decode.opc: Fix encoding of DIVWU insn.
* rl78-decode.c: Regenerate. * config/rl78-parse.y: Fix encoding of DIVWU insn.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog4
-rw-r--r--gas/config/rl78-parse.y10
2 files changed, 11 insertions, 3 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index f9c8618..0014922 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,7 @@
+2013-02-25 Kaushik Phatak <Kaushik.Phatak@kpitcummins.com>
+
+ * config/rl78-parse.y: Fix encoding of DIVWU insn.
+
2013-02-25 Terry Guo <terry.guo@arm.com>
* config/tc-arm.c (arm_cpus): Add cortex-r7 entry.
diff --git a/gas/config/rl78-parse.y b/gas/config/rl78-parse.y
index b487312..1f01920 100644
--- a/gas/config/rl78-parse.y
+++ b/gas/config/rl78-parse.y
@@ -1,6 +1,5 @@
/* rl78-parse.y Renesas RL78 parser
- Copyright 2011
- Free Software Foundation, Inc.
+ Copyright 2011-2013 Free Software Foundation, Inc.
This file is part of GAS, the GNU Assembler.
@@ -513,8 +512,13 @@ statement :
| DIVHU
{ B3 (0xce, 0xfb, 0x03); }
+/* Note that the DIVWU encoding was changed from [0xce,0xfb,0x04] to
+ [0xce,0xfb,0x0b]. Different versions of the Software Manual exist
+ with the same version number, but varying encodings. The version
+ here matches the hardware. */
+
| DIVWU
- { B3 (0xce, 0xfb, 0x04); }
+ { B3 (0xce, 0xfb, 0x0b); }
| MACHU
{ B3 (0xce, 0xfb, 0x05); }