arc/gas: Accept, but ignore, dummy arguments.
authorAndrew Burgess <andrew.burgess@embecosm.com>
Wed, 9 Dec 2015 19:13:54 +0000 (19:13 +0000)
committerAndrew Burgess <andrew.burgess@embecosm.com>
Thu, 10 Dec 2015 09:23:19 +0000 (09:23 +0000)
commitc74088593761f7e839aa9a97728df146f3dfb3d6
treee4210e12acd7e61e7e22092025c936f5a8e86608
parent33d4099fc891760ea1f080746dee4dcfc36c757c
arc/gas: Accept, but ignore, dummy arguments.

There's a set of legacy command line arguments that the arc assembler
still accepts, however, these arguments not longer have any effect on
the assembler.

Currently we return false from md_parse_option for all of these
arguments, with the result that the assembler terminates with an error
message.

We should return true indicating that the argument has been accepted,
even though we ignore it.

gas/ChangeLog:

* config/tc-arc.c (md_parse_option): Return 1 in order to accept
dummy arguments.
gas/ChangeLog
gas/config/tc-arc.c