* config/tc-cr16.c (getprocreg_image): Fix typo MAX_PREG ->
authorNick Clifton <nickc@redhat.com>
Fri, 5 Nov 2010 11:08:27 +0000 (11:08 +0000)
committerNick Clifton <nickc@redhat.com>
Fri, 5 Nov 2010 11:08:27 +0000 (11:08 +0000)
MAX_REG.
(getprocregp_image): Likewise.

gas/ChangeLog
gas/config/tc-cr16.c

index 4f098cd14bcc84051a3ce995f7b86a4301cd66ef..8433afde618137d89d5a059ed06468c6f08a8cbb 100644 (file)
@@ -1,3 +1,9 @@
+2010-11-05  Nick Clifton  <nickc@redhat.com>
+
+       * config/tc-cr16.c (getprocreg_image): Fix typo MAX_PREG ->
+       MAX_REG.
+       (getprocregp_image): Likewise.
+
 2010-11-05  Tristan Gingold  <gingold@adacore.com>
 
        * po/gas.pot: Regenerate
index 2a5b2f70b4986eef57a5808f4ea69c8a6647ebc9..a6185f99af817bb06cd0553cec107307ecb22b5c 100644 (file)
@@ -1669,7 +1669,7 @@ getprocreg_image (reg r)
   char *reg_name;
 
   /* Check whether the register is in registers table.  */
-  if (r < MAX_PREG)
+  if (r < MAX_REG)
     rreg = &cr16_pregtab[r - MAX_REG];
   /* Register not found.  */
   else
@@ -1708,7 +1708,7 @@ getprocregp_image (reg r)
   int pregptab_disp = 0;
 
   /* Check whether the register is in registers table.  */
-  if (r < MAX_PREG)
+  if (r < MAX_REG)
     {
       r = r - MAX_REG;
       switch (r)
This page took 0.036169 seconds and 4 git commands to generate.