mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-27 14:39:09 +08:00
2006-04-07 Paul Brook <paul@codesourcery.com>
* config/tc-arm.c (parse_tb): Set inst.error before returning FAIL.
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
2006-04-07 Paul Brook <paul@codesourcery.com>
|
||||||
|
|
||||||
|
* config/tc-arm.c (parse_tb): Set inst.error before returning FAIL.
|
||||||
|
|
||||||
2006-04-07 Paul Brook <paul@codesourcery.com>
|
2006-04-07 Paul Brook <paul@codesourcery.com>
|
||||||
|
|
||||||
* config/tc-arm.c (md_apply_fix): Set H bit on blx instruction.
|
* config/tc-arm.c (md_apply_fix): Set H bit on blx instruction.
|
||||||
|
@ -3706,7 +3706,10 @@ parse_tb (char **str)
|
|||||||
int reg;
|
int reg;
|
||||||
|
|
||||||
if (skip_past_char (&p, '[') == FAIL)
|
if (skip_past_char (&p, '[') == FAIL)
|
||||||
return FAIL;
|
{
|
||||||
|
inst.error = _("'[' expected");
|
||||||
|
return FAIL;
|
||||||
|
}
|
||||||
|
|
||||||
if ((reg = arm_reg_parse (&p, REG_TYPE_RN)) == FAIL)
|
if ((reg = arm_reg_parse (&p, REG_TYPE_RN)) == FAIL)
|
||||||
{
|
{
|
||||||
@ -3716,7 +3719,10 @@ parse_tb (char **str)
|
|||||||
inst.operands[0].reg = reg;
|
inst.operands[0].reg = reg;
|
||||||
|
|
||||||
if (skip_past_comma (&p) == FAIL)
|
if (skip_past_comma (&p) == FAIL)
|
||||||
return FAIL;
|
{
|
||||||
|
inst.error = _("',' expected");
|
||||||
|
return FAIL;
|
||||||
|
}
|
||||||
|
|
||||||
if ((reg = arm_reg_parse (&p, REG_TYPE_RN)) == FAIL)
|
if ((reg = arm_reg_parse (&p, REG_TYPE_RN)) == FAIL)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user