OSDN Git Service

* m32c.opc (parse_signed16): Fix typo.
authordevans <devans>
Sun, 3 Jan 2010 03:37:59 +0000 (03:37 +0000)
committerdevans <devans>
Sun, 3 Jan 2010 03:37:59 +0000 (03:37 +0000)
cpu/ChangeLog
cpu/m32c.opc

index 355cc7c..573430f 100644 (file)
@@ -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.
index d2b073d..2796e1c 100644 (file)
@@ -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;