[ARC] Improve printing of pc-relative instructions.
authorclaziss <claziss@synopsys.com>
Tue, 21 Nov 2017 13:03:03 +0000 (14:03 +0100)
committerclaziss <claziss@synopsys.com>
Tue, 21 Nov 2017 13:56:16 +0000 (14:56 +0100)
commit50d2740d562edc68b2fbcacc0585c3acfc2c302f
treeef2a27907868442222db7aed0750cba847f8e12f
parentd85bf2ba86fea1cf918f065d179b98eb4ddbde86
[ARC] Improve printing of pc-relative instructions.

opcodes/
2017-11-21  Claudiu Zissulescu <claziss@synopsys.com>

* arc-dis.c (print_insn_arc): Pretty print pc-relative offsets.
* arc-opc.c (SIMM21_A16_5): Make it pc-relative.

gas/
2017-11-21  Claudiu Zissulescu <claziss@synopsys.com>

* testsuite/gas/arc/b.d : Update test.
* testsuite/gas/arc/bl.d: Likewise.
* testsuite/gas/arc/jli-1.d: Likewise.
* testsuite/gas/arc/lp.d: Likewise.
* testsuite/gas/arc/pcl-relocs.d: Likewise.
* testsuite/gas/arc/pcrel-relocs.d: Likewise.
* testsuite/gas/arc/pic-relocs.d: Likewise.
* testsuite/gas/arc/plt-relocs.d: Likewise.
* testsuite/gas/arc/pseudos.d: Likewise.
* testsuite/gas/arc/relax-avoid2.d: Likewise.
* testsuite/gas/arc/relax-avoid3.d: Likewise.
* testsuite/gas/arc/relax-b.d: Likewise.
* testsuite/gas/arc/tls-relocs.d: Likewise.
* testsuite/gas/arc/relax-add01.d: Likewise.
* testsuite/gas/arc/relax-add04.d: Likewise.
* testsuite/gas/arc/relax-ld01.d: Likewise.
* testsuite/gas/arc/relax-sub01.d: Likewise.
* testsuite/gas/arc/relax-sub02.d: Likewise.
* testsuite/gas/arc/relax-sub04.d: Likewise.
* testsuite/gas/arc/pcl-print.s: New file.
* testsuite/gas/arc/pcl-print.d: Likewise.
* testsuite/gas/arc/nps400-12.d: Likewise.

ld/
2017-11-21  Claudiu Zissulescu <claziss@synopsys.com>

* testsuite/ld-arc/jli-simple.d: Update test.
28 files changed:
gas/ChangeLog
gas/testsuite/gas/arc/b.d
gas/testsuite/gas/arc/bl.d
gas/testsuite/gas/arc/jli-1.d
gas/testsuite/gas/arc/lp.d
gas/testsuite/gas/arc/nps400-12.d
gas/testsuite/gas/arc/pcl-print.d [new file with mode: 0644]
gas/testsuite/gas/arc/pcl-print.s [new file with mode: 0644]
gas/testsuite/gas/arc/pcl-relocs.d
gas/testsuite/gas/arc/pcrel-relocs.d
gas/testsuite/gas/arc/pic-relocs.d
gas/testsuite/gas/arc/plt-relocs.d
gas/testsuite/gas/arc/pseudos.d
gas/testsuite/gas/arc/relax-add01.d
gas/testsuite/gas/arc/relax-add04.d
gas/testsuite/gas/arc/relax-avoid2.d
gas/testsuite/gas/arc/relax-avoid3.d
gas/testsuite/gas/arc/relax-b.d
gas/testsuite/gas/arc/relax-ld01.d
gas/testsuite/gas/arc/relax-sub01.d
gas/testsuite/gas/arc/relax-sub02.d
gas/testsuite/gas/arc/relax-sub04.d
gas/testsuite/gas/arc/tls-relocs.d
ld/ChangeLog
ld/testsuite/ld-arc/jli-simple.dd
opcodes/ChangeLog
opcodes/arc-dis.c
opcodes/arc-opc.c