mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-30 17:31:13 +08:00
Corrected incorrect op->type selection due to missing 'else'.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2001-12-05 Arati Dikey <aratid@kpit.com>
|
||||||
|
|
||||||
|
* tc-sh.c (parse_at): Corrected incorrect op->type selection due
|
||||||
|
to missing 'else'.
|
||||||
|
|
||||||
2001-12-04 Alexandre Oliva <aoliva@redhat.com>
|
2001-12-04 Alexandre Oliva <aoliva@redhat.com>
|
||||||
|
|
||||||
* config/tc-d10v.c (write_2_short): Don't skip dummy fixups, so
|
* config/tc-d10v.c (write_2_short): Don't skip dummy fixups, so
|
||||||
|
@ -989,9 +989,8 @@ parse_at (src, op)
|
|||||||
{
|
{
|
||||||
src += parse_reg (src, &mode, &(op->reg));
|
src += parse_reg (src, &mode, &(op->reg));
|
||||||
if (mode != A_REG_N)
|
if (mode != A_REG_N)
|
||||||
{
|
|
||||||
as_bad (_("illegal register after @"));
|
as_bad (_("illegal register after @"));
|
||||||
}
|
|
||||||
if (src[0] == '+')
|
if (src[0] == '+')
|
||||||
{
|
{
|
||||||
char l0, l1;
|
char l0, l1;
|
||||||
@ -1006,7 +1005,7 @@ parse_at (src, op)
|
|||||||
src += 2;
|
src += 2;
|
||||||
op->type = A_PMOD_N;
|
op->type = A_PMOD_N;
|
||||||
}
|
}
|
||||||
if ((l0 == 'r' && l1 == '9')
|
else if ( (l0 == 'r' && l1 == '9')
|
||||||
|| (l0 == 'i' && l1 == 'y'))
|
|| (l0 == 'i' && l1 == 'y'))
|
||||||
{
|
{
|
||||||
src += 2;
|
src += 2;
|
||||||
@ -1016,10 +1015,8 @@ parse_at (src, op)
|
|||||||
op->type = A_INC_N;
|
op->type = A_INC_N;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
|
||||||
op->type = A_IND_N;
|
op->type = A_IND_N;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
return src;
|
return src;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user