aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2017-10-05 16:17:22 +0100
committerNick Clifton <nickc@redhat.com>2017-10-05 16:17:22 +0100
commit2bfa0cdfadd313f3cc35329a17ba3c62865208a3 (patch)
treed6fc935991b31ebd04dc78a00fc44b870d681d69 /include
parent97953bab05cca82bd3119de4d5cf26103b649597 (diff)
downloadgdb-2bfa0cdfadd313f3cc35329a17ba3c62865208a3.zip
gdb-2bfa0cdfadd313f3cc35329a17ba3c62865208a3.tar.gz
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 'include')
0 files changed, 0 insertions, 0 deletions