aboutsummaryrefslogtreecommitdiff
path: root/cpu
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2010-01-02 18:37:59 +0000
committerDoug Evans <dje@google.com>2010-01-02 18:37:59 +0000
commitcaaf56fbb23d24898a3b768cb5ce59fb9e752921 (patch)
tree4f59b2c5ad76a2fb185d137c64a89ffc965519f8 /cpu
parent*** empty log message *** (diff)
downloadbinutils-gdb-caaf56fbb23d24898a3b768cb5ce59fb9e752921.tar.gz
binutils-gdb-caaf56fbb23d24898a3b768cb5ce59fb9e752921.tar.bz2
binutils-gdb-caaf56fbb23d24898a3b768cb5ce59fb9e752921.zip
* m32c.opc (parse_signed16): Fix typo.
Diffstat (limited to 'cpu')
-rw-r--r--cpu/ChangeLog4
-rw-r--r--cpu/m32c.opc4
2 files changed, 6 insertions, 2 deletions
diff --git a/cpu/ChangeLog b/cpu/ChangeLog
index 355cc7c5fc7..573430fae60 100644
--- a/cpu/ChangeLog
+++ b/cpu/ChangeLog
@@ -1,3 +1,7 @@
+2010-01-02 Doug Evans <dje@sebabeach.org>
+
+ * m32c.opc (parse_signed16): Fix typo.
+
2009-12-11 Nick Clifton <nickc@redhat.com>
* frv.opc: Fix shadowed variable warnings.
diff --git a/cpu/m32c.opc b/cpu/m32c.opc
index d2b073db063..2796e1c1cff 100644
--- a/cpu/m32c.opc
+++ b/cpu/m32c.opc
@@ -1,6 +1,6 @@
/* m32c opcode support. -*- C -*-
- Copyright 2005, 2007, 2009 Free Software Foundation, Inc.
+ Copyright 2005, 2007, 2009, 2010 Free Software Foundation, Inc.
Contributed by Red Hat Inc; developed under contract from Renesas
@@ -367,7 +367,7 @@ parse_signed16 (CGEN_CPU_DESC cd, const char **strp,
if (errmsg == NULL
&& result_type == CGEN_PARSE_OPERAND_RESULT_NUMBER)
- value &= 0xffff;
+ val &= 0xffff;
value = val;
*valuep = value;