Add support for MSP430 silicon errata to the assembler.
authorNick Clifton <nickc@redhat.com>
Thu, 22 Oct 2015 15:25:46 +0000 (16:25 +0100)
committerNick Clifton <nickc@redhat.com>
Thu, 22 Oct 2015 15:25:46 +0000 (16:25 +0100)
commit2213f746d3ab63715c24c3197ae207486464091b
tree95e39bab962879847d4cdc20124a869ae9e9e624
parent9b4c123c959085bb11a1e8126242a79d9de18995
Add support for MSP430 silicon errata to the assembler.

* config/tc-msp430.c (PUSH_1X_WORKAROUND): Delete.
(OPTION_SILICON_ERRATA): Define.
(OPTION_SILICON_WARN): Define.
(md_parse_opton): Handle silicon errata options.
(md_longopts): Add silicon errata options.
(ms_show_usage): Report silicon errata options.
(msp430_srcoperand): Handle silicon errata.
(msp430_operands): Likewise. Improve nop insertion.
(msp430_fix_adjustable): Update warning generation.
* doc/c-msp430.texi: Document silicon errata options.

tests * gas/msp430/errata_fixes.s: New test source file.
* gas/msp430/errata_fixes.d: New test control file.
* gas/msp430/errata_warns.s: New test source file.
* gas/msp430/errata_warns.d: New test control file.
* gas/msp430/errata_warns.l: New test message file.
* gas/msp430/msp430.exp: Run the new tests.
* gas/msp430/bad.l: Update expected warning messages
* gas/msp430/msp430.exp: Run the new tests.
gas/ChangeLog
gas/config/tc-msp430.c
gas/doc/c-msp430.texi
gas/testsuite/ChangeLog
gas/testsuite/gas/msp430/bad.l
gas/testsuite/gas/msp430/errata_fixes.d [new file with mode: 0644]
gas/testsuite/gas/msp430/errata_fixes.s [new file with mode: 0644]
gas/testsuite/gas/msp430/errata_warns.d [new file with mode: 0644]
gas/testsuite/gas/msp430/errata_warns.l [new file with mode: 0644]
gas/testsuite/gas/msp430/errata_warns.s [new file with mode: 0644]
gas/testsuite/gas/msp430/msp430.exp