[ARC] Don't allow pc-rel relocations for J* instructions.
authorClaudiu Zissulescu <claziss@synopsys.com>
Tue, 5 Apr 2016 14:22:19 +0000 (16:22 +0200)
committerClaudiu Zissulescu <claziss@synopsys.com>
Tue, 5 Apr 2016 14:23:02 +0000 (16:23 +0200)
commit6ec1f28285f0a24587f7b5935e6d3fd4011fbb01
tree09f79d150e5e1992804eb4f10eae871273a9ad26
parent1f599d0e7b5039c814731293043e247304ec006b
[ARC] Don't allow pc-rel relocations for J* instructions.

gas/
2016-04-05  Claudiu Zissulescu  <claziss@synopsys.com>

        * config/tc-arc.c (assemble_insn): Prohibit pc-rel relocations for
        JUMP instructions type.
        * testsuite/gas/arc/relocs-errors.d: New file.
        * testsuite/gas/arc/relocs-errors.err: Likewise.
        * testsuite/gas/arc/relocs-errors.s: Likewise.
gas/ChangeLog
gas/config/tc-arc.c
gas/testsuite/gas/arc/relocs-errors.d [new file with mode: 0644]
gas/testsuite/gas/arc/relocs-errors.err [new file with mode: 0644]
gas/testsuite/gas/arc/relocs-errors.s [new file with mode: 0644]