diff options
author | Nick Clifton <nickc@redhat.com> | 2017-10-05 16:17:22 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2017-10-05 16:17:22 +0100 |
commit | 2bfa0cdfadd313f3cc35329a17ba3c62865208a3 (patch) | |
tree | d6fc935991b31ebd04dc78a00fc44b870d681d69 /gas/ChangeLog | |
parent | 97953bab05cca82bd3119de4d5cf26103b649597 (diff) | |
download | fsf-binutils-gdb-2bfa0cdfadd313f3cc35329a17ba3c62865208a3.zip fsf-binutils-gdb-2bfa0cdfadd313f3cc35329a17ba3c62865208a3.tar.gz fsf-binutils-gdb-2bfa0cdfadd313f3cc35329a17ba3c62865208a3.tar.bz2 |
Fix the MSP430 assembler so that it detects and reports extraneous text at the end of operands.
PR 22133
* config/tc-msp430.c (parse_exp): Skip an 'h' suffix to constant
expressions.
(msp430_srcoperand): Check that the entire text was parsed by
parse_exp.
(msp430_operands): Likewise.
* testsuite/gas/msp430/pr22133.s: New test file.
* testsuite/gas/msp430/pr22133.d: New test driver.
* testsuite/gas/msp430/pr22133.s: Expected error output.
* testsuite/gas/msp430/msp430.exp: Run the new test.
Diffstat (limited to 'gas/ChangeLog')
-rw-r--r-- | gas/ChangeLog | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index df8edc1..ed40a79 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,16 @@ +2017-10-05 Nick Clifton <nickc@redhat.com> + + PR 22133 + * config/tc-msp430.c (parse_exp): Skip an 'h' suffix to constant + expressions. + (msp430_srcoperand): Check that the entire text was parsed by + parse_exp. + (msp430_operands): Likewise. + * testsuite/gas/msp430/pr22133.s: New test file. + * testsuite/gas/msp430/pr22133.d: New test driver. + * testsuite/gas/msp430/pr22133.s: Expected error output. + * testsuite/gas/msp430/msp430.exp: Run the new test. + 2017-10-04 H.J. Lu <hongjiu.lu@intel.com> PR gas/21167 |