diff options
author | Paul Brook <paul@codesourcery.com> | 2006-03-20 20:54:38 +0000 |
---|---|---|
committer | Paul Brook <paul@codesourcery.com> | 2006-03-20 20:54:38 +0000 |
commit | 0365379fcb427b937d62e1439f73621392e112a4 (patch) | |
tree | 429a4514b23bd648a2b9ef1d538b3b5deb294ad4 | |
parent | 036bff72f474a34d7370f8c6331ca0dcfbec2732 (diff) | |
download | binutils-gdb-0365379fcb427b937d62e1439f73621392e112a4.tar.gz |
2006-03-20 Paul Brook <paul@codesourcery.com>
* gas/config/tc-arm.c (parse_tb): Set inst.error before returning FAIL.
-rw-r--r-- | ChangeLog.csl | 4 | ||||
-rw-r--r-- | gas/config/tc-arm.c | 10 |
2 files changed, 12 insertions, 2 deletions
diff --git a/ChangeLog.csl b/ChangeLog.csl index 11e352f2522..255c0c52e63 100644 --- a/ChangeLog.csl +++ b/ChangeLog.csl @@ -1,5 +1,9 @@ 2006-03-20 Paul Brook <paul@codesourcery.com> + * gas/config/tc-arm.c (parse_tb): Set inst.error before returning FAIL. + +2006-03-20 Paul Brook <paul@codesourcery.com> + * gas/config/tc-arm.c (md_apply_fix): Set H bit on blx instruction. * gas/testsuite/gas/arm/blx-local.d: New test. diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c index 4305b0b0b17..afe65223cb0 100644 --- a/gas/config/tc-arm.c +++ b/gas/config/tc-arm.c @@ -3706,7 +3706,10 @@ parse_tb (char **str) int reg; if (skip_past_char (&p, '[') == FAIL) - return FAIL; + { + inst.error = _("'[' expected"); + return FAIL; + } if ((reg = arm_reg_parse (&p, REG_TYPE_RN)) == FAIL) { @@ -3716,7 +3719,10 @@ parse_tb (char **str) inst.operands[0].reg = reg; if (skip_past_comma (&p) == FAIL) - return FAIL; + { + inst.error = _("',' expected"); + return FAIL; + } if ((reg = arm_reg_parse (&p, REG_TYPE_RN)) == FAIL) { |