Update check conditions for illegal placed instructions.
authorclaziss <claziss@synopsys.com>
Wed, 7 Jun 2017 13:57:56 +0000 (15:57 +0200)
committerclaziss <claziss@synopsys.com>
Mon, 26 Jun 2017 06:53:10 +0000 (08:53 +0200)
commitcf9bdae906f897ae13563c03c65f325cad05bf1c
treed4dd74a8a6e8da7955fb097844c91227f9bbe0b8
parent46adbd17408fda28aca5320e2247ede30b7e9649
Update check conditions for illegal placed instructions.

ARC cpus do not accept any jump or instructions with long immediate
into the delay slots.

gas/
2017-06-07  Claudiu Zissulescu  <claziss@synopsys.com>

* /config/tc-arc.c (is_br_jmp_insn_p): Update macro with known
instructions to be accounted as jumps.
(assemble_insn): Check for limms into the delay slots.  Emit an
error if so.
* testsuite/gas/arc/asm-errors-3.d: New file.
* testsuite/gas/arc/asm-errors-3.err: Likewise.
* testsuite/gas/arc/asm-errors-3.s: Likewise.
gas/ChangeLog
gas/config/tc-arc.c
gas/testsuite/gas/arc/asm-errors-3.d [new file with mode: 0644]
gas/testsuite/gas/arc/asm-errors-3.err [new file with mode: 0644]
gas/testsuite/gas/arc/asm-errors-3.s [new file with mode: 0644]