Fix MSP430 assembler's detection of NOP and EINT.
authorNick Clifton <nickc@redhat.com>
Wed, 6 Apr 2016 14:57:19 +0000 (15:57 +0100)
committerNick Clifton <nickc@redhat.com>
Wed, 6 Apr 2016 14:58:30 +0000 (15:58 +0100)
commit927f2d25ef9d9dc35d6a4061d5504b0fc928f057
tree73575d0b8a7c5fa9646b4670ecd066c2fa10069c
parent052d2eb2545db0e052b45dd2e0ece82ebbe8a68c
Fix MSP430 assembler's detection of NOP and EINT.

* config/tc-msp430.c (msp430_operands): Check for a NOP preceding
an EINT instruction.  Warn/fix as necessary.
* testsuite/gas/msp430/bad.s: Add test of EINT without preceding NOP.
* testsuite/gas/msp430/bad.l: Update expected messages.
gas/ChangeLog
gas/config/tc-msp430.c
gas/testsuite/gas/msp430/bad.l
gas/testsuite/gas/msp430/bad.s