[ARC] Use FOR_EACH_DISASSEMBLER_OPTION to iterate over options
authorAnton Kolesov <Anton.Kolesov@synopsys.com>
Mon, 19 Jun 2017 10:27:52 +0000 (13:27 +0300)
committerAnton Kolesov <Anton.Kolesov@synopsys.com>
Thu, 29 Jun 2017 11:49:39 +0000 (14:49 +0300)
commit2e74f9dd8ae79ddfe7f0f84b890c962016fc8f15
tree9173222536cc7f28cdf2fce12cb9d7005d84f34f
parente1e94c4994151ebe0e3a103fd0d27f60bd806bbe
[ARC] Use FOR_EACH_DISASSEMBLER_OPTION to iterate over options

This patch updates arc-dis.c:parse_disassembler_options to use a macro
FOR_EACH_DISASSEMBLER_OPTION, which has been introduced in [1], instead of a
homegrown solution to split option string.

[1] https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=65b48a81

opcodes/ChangeLog:

yyyy-mm-dd  Anton Kolesov  <Anton.Kolesov@synopsys.com>

* arc-dis.c (parse_disassembler_options): Use
FOR_EACH_DISASSEMBLER_OPTION.
opcodes/ChangeLog
opcodes/arc-dis.c