aboutsummaryrefslogtreecommitdiff
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
parent9b565742a6bf0b999261a4d7e88efb20dc9aac10 (diff)
downloadbinutils-caaf56fbb23d24898a3b768cb5ce59fb9e752921.zip
binutils-caaf56fbb23d24898a3b768cb5ce59fb9e752921.tar.gz
binutils-caaf56fbb23d24898a3b768cb5ce59fb9e752921.tar.bz2
* m32c.opc (parse_signed16): Fix typo.
-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 355cc7c..573430f 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 d2b073d..2796e1c 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;