* config/tc-cr16.c (getprocreg_image): Fix typo MAX_PREG ->
MAX_REG. (getprocregp_image): Likewise.
This commit is contained in:
parent
9b585a95b7
commit
d75d1c9fe1
2 changed files with 8 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue