* config/tc-sh.c (parse_reg): Fix end-of-word check for is, ix, iy

and mod.
This commit is contained in:
Richard Sandiford 2002-01-30 18:25:30 +00:00
parent b5f79c764c
commit 912a07db52
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2002-01-30 Richard Sandiford <rsandifo@redhat.com>
* config/tc-sh.c (parse_reg): Fix end-of-word check for is, ix, iy
and mod.
2002-01-29 Chris Demetriou <cgd@broadcom.com>
* config/tc-mips.c (tc_gen_reloc): Arrange for

View file

@ -598,7 +598,7 @@ parse_reg (src, mode, reg)
}
}
if (l0 == 'i' && l1 && ! IDENT_CHAR ((unsigned char) src[3]))
if (l0 == 'i' && l1 && ! IDENT_CHAR ((unsigned char) src[2]))
{
if (l1 == 's')
{
@ -733,7 +733,7 @@ parse_reg (src, mode, reg)
}
}
if (l0 == 'm' && l1 == 'o' && TOLOWER (src[2]) == 'd'
&& ! IDENT_CHAR ((unsigned char) src[4]))
&& ! IDENT_CHAR ((unsigned char) src[3]))
{
*mode = A_MOD;
return 3;