arc: Improve error messages when assembling
authorClaudiu Zissulescu <claziss@gmail.com>
Tue, 7 Jul 2020 13:01:48 +0000 (16:01 +0300)
committerClaudiu Zissulescu <claziss@gmail.com>
Tue, 7 Jul 2020 13:01:48 +0000 (16:01 +0300)
commit3128916d88bf1bf0e4688de1529f481d57bd331a
treeb3e31e1ca4c79c195d189f04196b1b4e42c60ad0
parentf337259fbd5ee31c6794158457dcd0d23e5c0f13
arc: Improve error messages when assembling

gas/
xxxx-xx-xx  Claudiu Zissulescu  <claziss@synopsys.com>

* config/tc-arc.c (find_opcode_match): Add error messages.
* testsuite/gas/arc/add_s-err.s: Update test.
* testsuite/gas/arc/asm-errors.err: Likewise.
* testsuite/gas/arc/cpu-em-err.s: Likewise.
* testsuite/gas/arc/hregs-err.s: Likewise.
* testsuite/gas/arc/warn.s: Likewise.
gas/ChangeLog
gas/config/tc-arc.c
gas/testsuite/gas/arc/add_s-err.s
gas/testsuite/gas/arc/asm-errors.err
gas/testsuite/gas/arc/cpu-em-err.s
gas/testsuite/gas/arc/hregs-err.s
gas/testsuite/gas/arc/warn.s