Add z8k ld testsuite and fix range check in coff-z8k.c
authorChristian Groessler <chris@groessler.org>
Sat, 4 Jun 2016 20:15:52 +0000 (22:15 +0200)
committerChristian Groessler <chris@groessler.org>
Sat, 4 Jun 2016 20:15:52 +0000 (22:15 +0200)
commit2ac27cd3c16ad828f96991f8f7b83a4bc10cae6c
tree8d8584daeb0ace52e78510bce506baf9c650c602
parentde3da6457440a16311c7972e673a3c33e9621763
Add z8k ld testsuite and fix range check in coff-z8k.c

bfd/
* coff-z8k.c (extra_case): Fix range check for R_JR relocation.

ld/
* ld/testsuite/ld-z8k/0filler.s: New file.
* ld/testsuite/ld-z8k/branch-target.s: New file.
* ld/testsuite/ld-z8k/branch-target2.s: New file.
* ld/testsuite/ld-z8k/calr-back-8001.d: New file.
* ld/testsuite/ld-z8k/calr-back-8002.d: New file.
* ld/testsuite/ld-z8k/calr-back-fail-8001.d: New file.
* ld/testsuite/ld-z8k/calr-back-fail-8002.d: New file.
* ld/testsuite/ld-z8k/calr-forw-8001.d: New file.
* ld/testsuite/ld-z8k/calr-forw-8002.d: New file.
* ld/testsuite/ld-z8k/calr-forw-fail-8001.d: New file.
* ld/testsuite/ld-z8k/calr-forw-fail-8002.d: New file.
* ld/testsuite/ld-z8k/calr-opcode.s: New file.
* ld/testsuite/ld-z8k/dbjnz-forw-8001.d: New file.
* ld/testsuite/ld-z8k/dbjnz-forw-8002.d: New file.
* ld/testsuite/ld-z8k/dbjnz-forw-fail-8001.d: New file.
* ld/testsuite/ld-z8k/dbjnz-forw-fail-8002.d: New file.
* ld/testsuite/ld-z8k/dbjnz-opcode.s: New file.
* ld/testsuite/ld-z8k/djnz-back-8001.d: New file.
* ld/testsuite/ld-z8k/djnz-back-8002.d: New file.
* ld/testsuite/ld-z8k/djnz-back-fail-8001.d: New file.
* ld/testsuite/ld-z8k/djnz-back-fail-8002.d: New file.
* ld/testsuite/ld-z8k/djnz-forw-8001.d: New file.
* ld/testsuite/ld-z8k/djnz-forw-8002.d: New file.
* ld/testsuite/ld-z8k/djnz-forw-fail-8001.d: New file.
* ld/testsuite/ld-z8k/djnz-forw-fail-8002.d: New file.
* ld/testsuite/ld-z8k/djnz-opcode.s: New file.
* ld/testsuite/ld-z8k/filler.s: New file.
* ld/testsuite/ld-z8k/jr-back-8001.d: New file.
* ld/testsuite/ld-z8k/jr-back-8002.d: New file.
* ld/testsuite/ld-z8k/jr-back-fail-8001.d: New file.
* ld/testsuite/ld-z8k/jr-back-fail-8002.d: New file.
* ld/testsuite/ld-z8k/jr-forw-8001.d: New file.
* ld/testsuite/ld-z8k/jr-forw-8002.d: New file.
* ld/testsuite/ld-z8k/jr-forw-fail-8001.d: New file.
* ld/testsuite/ld-z8k/jr-forw-fail-8002.d: New file.
* ld/testsuite/ld-z8k/jr-opcode.s: New file.
* ld/testsuite/ld-z8k/ldr-back-8001.d: New file.
* ld/testsuite/ld-z8k/ldr-back-8002.d: New file.
* ld/testsuite/ld-z8k/ldr-back-fail-8001.d: New file.
* ld/testsuite/ld-z8k/ldr-back-fail-8002.d: New file.
* ld/testsuite/ld-z8k/ldr-forw-8001.d: New file.
* ld/testsuite/ld-z8k/ldr-forw-8002.d: New file.
* ld/testsuite/ld-z8k/ldr-forw-fail-8001.d: New file.
* ld/testsuite/ld-z8k/ldr-forw-fail-8002.d: New file.
* ld/testsuite/ld-z8k/ldr-opcode.s: New file.
* ld/testsuite/ld-z8k/ldrb-forw-8001.d: New file.
* ld/testsuite/ld-z8k/ldrb-forw-8002.d: New file.
* ld/testsuite/ld-z8k/ldrb-forw-fail-8001.d: New file.
* ld/testsuite/ld-z8k/ldrb-forw-fail-8002.d: New file.
* ld/testsuite/ld-z8k/ldrb-opcode.s: New file.
* ld/testsuite/ld-z8k/ldrb-opcode2.s: New file.
* ld/testsuite/ld-z8k/other-file.s: New file.
* ld/testsuite/ld-z8k/reloc.dd: New file.
* ld/testsuite/ld-z8k/reloc.ld: New file.
* ld/testsuite/ld-z8k/relocseg.dd: New file.
* ld/testsuite/ld-z8k/relocseg.ld: New file.
* ld/testsuite/ld-z8k/relocseg1.dd: New file.
* ld/testsuite/ld-z8k/test-ld.sh: New file.
* ld/testsuite/ld-z8k/this-file.s: New file.
* ld/testsuite/ld-z8k/z8k.exp: New file.
63 files changed:
bfd/ChangeLog
bfd/coff-z8k.c
ld/ChangeLog
ld/testsuite/ld-z8k/0filler.s [new file with mode: 0644]
ld/testsuite/ld-z8k/branch-target.s [new file with mode: 0644]
ld/testsuite/ld-z8k/branch-target2.s [new file with mode: 0644]
ld/testsuite/ld-z8k/calr-back-8001.d [new file with mode: 0644]
ld/testsuite/ld-z8k/calr-back-8002.d [new file with mode: 0644]
ld/testsuite/ld-z8k/calr-back-fail-8001.d [new file with mode: 0644]
ld/testsuite/ld-z8k/calr-back-fail-8002.d [new file with mode: 0644]
ld/testsuite/ld-z8k/calr-forw-8001.d [new file with mode: 0644]
ld/testsuite/ld-z8k/calr-forw-8002.d [new file with mode: 0644]
ld/testsuite/ld-z8k/calr-forw-fail-8001.d [new file with mode: 0644]
ld/testsuite/ld-z8k/calr-forw-fail-8002.d [new file with mode: 0644]
ld/testsuite/ld-z8k/calr-opcode.s [new file with mode: 0644]
ld/testsuite/ld-z8k/dbjnz-forw-8001.d [new file with mode: 0644]
ld/testsuite/ld-z8k/dbjnz-forw-8002.d [new file with mode: 0644]
ld/testsuite/ld-z8k/dbjnz-forw-fail-8001.d [new file with mode: 0644]
ld/testsuite/ld-z8k/dbjnz-forw-fail-8002.d [new file with mode: 0644]
ld/testsuite/ld-z8k/dbjnz-opcode.s [new file with mode: 0644]
ld/testsuite/ld-z8k/djnz-back-8001.d [new file with mode: 0644]
ld/testsuite/ld-z8k/djnz-back-8002.d [new file with mode: 0644]
ld/testsuite/ld-z8k/djnz-back-fail-8001.d [new file with mode: 0644]
ld/testsuite/ld-z8k/djnz-back-fail-8002.d [new file with mode: 0644]
ld/testsuite/ld-z8k/djnz-forw-8001.d [new file with mode: 0644]
ld/testsuite/ld-z8k/djnz-forw-8002.d [new file with mode: 0644]
ld/testsuite/ld-z8k/djnz-forw-fail-8001.d [new file with mode: 0644]
ld/testsuite/ld-z8k/djnz-forw-fail-8002.d [new file with mode: 0644]
ld/testsuite/ld-z8k/djnz-opcode.s [new file with mode: 0644]
ld/testsuite/ld-z8k/filler.s [new file with mode: 0644]
ld/testsuite/ld-z8k/jr-back-8001.d [new file with mode: 0644]
ld/testsuite/ld-z8k/jr-back-8002.d [new file with mode: 0644]
ld/testsuite/ld-z8k/jr-back-fail-8001.d [new file with mode: 0644]
ld/testsuite/ld-z8k/jr-back-fail-8002.d [new file with mode: 0644]
ld/testsuite/ld-z8k/jr-forw-8001.d [new file with mode: 0644]
ld/testsuite/ld-z8k/jr-forw-8002.d [new file with mode: 0644]
ld/testsuite/ld-z8k/jr-forw-fail-8001.d [new file with mode: 0644]
ld/testsuite/ld-z8k/jr-forw-fail-8002.d [new file with mode: 0644]
ld/testsuite/ld-z8k/jr-opcode.s [new file with mode: 0644]
ld/testsuite/ld-z8k/ldr-back-8001.d [new file with mode: 0644]
ld/testsuite/ld-z8k/ldr-back-8002.d [new file with mode: 0644]
ld/testsuite/ld-z8k/ldr-back-fail-8001.d [new file with mode: 0644]
ld/testsuite/ld-z8k/ldr-back-fail-8002.d [new file with mode: 0644]
ld/testsuite/ld-z8k/ldr-forw-8001.d [new file with mode: 0644]
ld/testsuite/ld-z8k/ldr-forw-8002.d [new file with mode: 0644]
ld/testsuite/ld-z8k/ldr-forw-fail-8001.d [new file with mode: 0644]
ld/testsuite/ld-z8k/ldr-forw-fail-8002.d [new file with mode: 0644]
ld/testsuite/ld-z8k/ldr-opcode.s [new file with mode: 0644]
ld/testsuite/ld-z8k/ldrb-forw-8001.d [new file with mode: 0644]
ld/testsuite/ld-z8k/ldrb-forw-8002.d [new file with mode: 0644]
ld/testsuite/ld-z8k/ldrb-forw-fail-8001.d [new file with mode: 0644]
ld/testsuite/ld-z8k/ldrb-forw-fail-8002.d [new file with mode: 0644]
ld/testsuite/ld-z8k/ldrb-opcode.s [new file with mode: 0644]
ld/testsuite/ld-z8k/ldrb-opcode2.s [new file with mode: 0644]
ld/testsuite/ld-z8k/other-file.s [new file with mode: 0644]
ld/testsuite/ld-z8k/reloc.dd [new file with mode: 0644]
ld/testsuite/ld-z8k/reloc.ld [new file with mode: 0644]
ld/testsuite/ld-z8k/relocseg.dd [new file with mode: 0644]
ld/testsuite/ld-z8k/relocseg.ld [new file with mode: 0644]
ld/testsuite/ld-z8k/relocseg1.dd [new file with mode: 0644]
ld/testsuite/ld-z8k/test-ld.sh [new file with mode: 0755]
ld/testsuite/ld-z8k/this-file.s [new file with mode: 0644]
ld/testsuite/ld-z8k/z8k.exp [new file with mode: 0644]