MSP430: gas: Ignore -md option required for GCC backward compatibility
authorJozef Lawrynowicz <jozef.l@mittosystems.com>
Thu, 12 Nov 2020 19:10:18 +0000 (19:10 +0000)
committerJozef Lawrynowicz <jozef.l@mittosystems.com>
Thu, 12 Nov 2020 19:27:04 +0000 (19:27 +0000)
commit1de037a0c526a3e034ca11020cf4dd89785487c3
tree36d8a900ad577098b63fb6898ac86723cfc6f964
parent10c19fadfd45da5262d2f8b9624be71c274ff15d
MSP430: gas: Ignore -md option required for GCC backward compatibility

The redundant -md option was removed in e4ae357fe8, but it is required
for backwards compatibility with GCC 10, which passes it to the
assembler implicitly in certain situations.

It is now silently ignored.

gas/ChangeLog:

* config/tc-msp430.c (OPTION_MOVE_DATA): Define.
(md_parse_option): Ignore OPTION_MOVE_DATA.
(md_longopts): Handle -md option.
* testsuite/gas/msp430/msp430.exp: Run new test.
* testsuite/gas/msp430/empty.s: New test.
* testsuite/gas/msp430/ignore-md.d: New test.
gas/ChangeLog
gas/config/tc-msp430.c
gas/testsuite/gas/msp430/empty.s [new file with mode: 0644]
gas/testsuite/gas/msp430/ignore-md.d [new file with mode: 0644]
gas/testsuite/gas/msp430/msp430.exp
This page took 0.025003 seconds and 4 git commands to generate.