aboutsummaryrefslogtreecommitdiff
path: root/gas/config
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/config
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/config')
-rw-r--r--gas/config/rl78-parse.y10
1 files changed, 7 insertions, 3 deletions
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); }