aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2018-04-16 15:17:57 +0930
committerAlan Modra <amodra@gmail.com>2018-04-16 15:17:57 +0930
commitfe0bf0fd57ea3ef8458d2e8661b428110fc026e2 (patch)
tree5f2ccf12205a52a9636cb5a5cd69773380477d2d /ld/testsuite
parentfdef3943443987525aea4f3ebe1f569f7070fcc8 (diff)
downloadgdb-fe0bf0fd57ea3ef8458d2e8661b428110fc026e2.zip
gdb-fe0bf0fd57ea3ef8458d2e8661b428110fc026e2.tar.gz
gdb-fe0bf0fd57ea3ef8458d2e8661b428110fc026e2.tar.bz2
Remove h8300-coff support
include/ * coff/h8300.h: Delete. bfd/ * Makefile.am: Remove h8300-coff support. * coffcode.h: Likewise. * config.bfd: Likewise. * configure.ac: Likewise. * reloc16.c: Likewise. * targets.c: Likewise. * coff-h8300.c: Delete. * Makefile.in: Regenerate. * configure: Regenerate. * po/SRC-POTFILES.in: Regenerate. binutils/ * testsuite/binutils-all/objcopy.exp: Remove h8300-coff support. gas/ * config/obj-coff.h: Remove h8300-coff support. * config/tc-h8300.c: Likewise. * config/tc-h8300.h: Likewise. * testsuite/gas/h8300/h8300.exp: Likewise. * testsuite/gas/h8300/branch-coff.s: Delete. * testsuite/gas/h8300/branchh-coff.s: Delete. * testsuite/gas/h8300/branchs-coff.s: Delete. * testsuite/gas/h8300/ffxx1-coff.d: Delete. * testsuite/gas/h8300/ffxx1-coff.s: Delete. * testsuite/gas/h8300/h8300-coff.exp: Delete. ld/ * Makefile.am: Remove h8300-coff support. * configure.tgt: Likewise. * testsuite/ld-h8300/h8300.exp: Likewise. * emulparams/h8300.sh: Delete. * emulparams/h8300h.sh: Delete. * emulparams/h8300hn.sh: Delete. * emulparams/h8300s.sh: Delete. * emulparams/h8300sn.sh: Delete. * emulparams/h8300sx.sh: Delete. * emulparams/h8300sxn.sh: Delete. * scripttempl/h8300.sc: Delete. * scripttempl/h8300h.sc: Delete. * scripttempl/h8300hn.sc: Delete. * scripttempl/h8300s.sc: Delete. * scripttempl/h8300sn.sc: Delete. * scripttempl/h8300sx.sc: Delete. * scripttempl/h8300sxn.sc: Delete. * testsuite/ld-h8300/relax-3-coff.d: Delete. * testsuite/ld-h8300/relax-4-coff.d: Delete. * testsuite/ld-h8300/relax-5-coff.d: Delete. * testsuite/ld-h8300/relax-6-coff.d: Delete. * Makefile.in: Regenerate. * po/BLD-POTFILES.in: Regenerate.
Diffstat (limited to 'ld/testsuite')
-rw-r--r--ld/testsuite/ld-h8300/h8300.exp22
-rw-r--r--ld/testsuite/ld-h8300/relax-3-coff.d36
-rw-r--r--ld/testsuite/ld-h8300/relax-4-coff.d76
-rw-r--r--ld/testsuite/ld-h8300/relax-5-coff.d50
-rw-r--r--ld/testsuite/ld-h8300/relax-6-coff.d11
5 files changed, 7 insertions, 188 deletions
diff --git a/ld/testsuite/ld-h8300/h8300.exp b/ld/testsuite/ld-h8300/h8300.exp
index 316bbd9..4a550a1 100644
--- a/ld/testsuite/ld-h8300/h8300.exp
+++ b/ld/testsuite/ld-h8300/h8300.exp
@@ -28,18 +28,10 @@ if ![istarget h8300-*-*] {
}
run_dump_test relax
-
-if [is_elf_format] {
- run_dump_test relax-2
- run_dump_test relax-3
- run_dump_test relax-4
- run_dump_test relax-5
- run_dump_test relax-6
- run_dump_test relax-7
- run_dump_test gcsection
-} else {
- run_dump_test relax-3-coff
- run_dump_test relax-4-coff
- run_dump_test relax-5-coff
- run_dump_test relax-6-coff
-}
+run_dump_test relax-2
+run_dump_test relax-3
+run_dump_test relax-4
+run_dump_test relax-5
+run_dump_test relax-6
+run_dump_test relax-7
+run_dump_test gcsection
diff --git a/ld/testsuite/ld-h8300/relax-3-coff.d b/ld/testsuite/ld-h8300/relax-3-coff.d
deleted file mode 100644
index 0384398..0000000
--- a/ld/testsuite/ld-h8300/relax-3-coff.d
+++ /dev/null
@@ -1,36 +0,0 @@
-# name: H8300 Relaxation Test 3 (for COFF)
-# source: relax-3.s
-# ld: --relax -m h8300s
-# objdump: -d
-
-.*: file format .*-h8300
-
-Disassembly of section .text:
-
-00000100 <_start>:
-#
-# Relaxation of aa:16
-#
-.*: 6a 08 00 00.*mov.b @0x0:16,r0l
-.*: 6a 08 7f ff.*mov.b @0x7fff:16,r0l
-.*: 6a 08 80 00.*mov.b @0x8000:16,r0l
-.*: 6a 08 fe ff.*mov.b @0xfeff:16,r0l
-.*: 28 00 .*mov.b @0x0:8,r0l
-.*: 28 ff .*mov.b @0xff:8,r0l
-#
-# Relaxation of aa:32
-#
-.*: 6a 08 00 00.*mov.b @0x0:16,r0l
-.*: 6a 08 7f ff.*mov.b @0x7fff:16,r0l
-.*: 6a 28 00 00.*mov.b @0x8000:32,r0l
-.*: 80 00
-.*: 6a 28 00 00.*mov.b @0xff00:32,r0l
-.*: ff 00
-.*: 6a 28 00 ff.*mov.b @0xffff00:32,r0l
-.*: ff 00
-.*: 6a 28 ff ff.*mov.b @0xffff7fff:32,r0l
-.*: 7f ff
-.*: 6a 08 80 00.*mov.b @0x8000:16,r0l
-.*: 6a 08 fe ff.*mov.b @0xfeff:16,r0l
-.*: 28 00 .*mov.b @0x0:8,r0l
-.*: 28 ff .*mov.b @0xff:8,r0l
diff --git a/ld/testsuite/ld-h8300/relax-4-coff.d b/ld/testsuite/ld-h8300/relax-4-coff.d
deleted file mode 100644
index d6417ac..0000000
--- a/ld/testsuite/ld-h8300/relax-4-coff.d
+++ /dev/null
@@ -1,76 +0,0 @@
-# name: H8300 Relaxation Test 4 (for COFF)
-# source: relax-4.s
-# ld: --relax -m h8300s
-# objdump: -d
-
-.*: file format .*-h8300
-
-Disassembly of section .text:
-
-00000100 <_start>:
- 100: f8 03.*mov.b #0x3,r0l
- 102: fa 05.*mov.b #0x5,r2l
- 104: 7f ff 60 80.*bset r0l,@0xff:8
- 108: 7f 00 60 a0.*bset r2l,@0x0:8
- 10c: 7e ff 63 a0.*btst r2l,@0xff:8
- 110: 7e 00 63 80.*btst r0l,@0x0:8
- 114: 6a 18 00 00.*bset #0x5,@0x0:16
- 118: 70 50
- 11a: 6a 18 7f ff.*bset #0x5,@0x7fff:16
- 11e: 70 50
- 120: 6a 18 80 00.*bset #0x5,@0x8000:16
- 124: 70 50
- 126: 6a 18 fe ff.*bset #0x5,@0xfeff:16
- 12a: 70 50
- 12c: 7f 00 70 50.*bset #0x5,@0x0:8
- 130: 7f ff 70 50.*bset #0x5,@0xff:8
- 134: 6a 10 00 00.*band #0x5,@0x0:16
- 138: 76 50
- 13a: 6a 10 7f ff.*band #0x5,@0x7fff:16
- 13e: 76 50
- 140: 6a 10 80 00.*band #0x5,@0x8000:16
- 144: 76 50
- 146: 6a 10 fe ff.*band #0x5,@0xfeff:16
- 14a: 76 50
- 14c: 7e 00 76 50.*band #0x5,@0x0:8
- 150: 7e ff 76 50.*band #0x5,@0xff:8
- 154: 7f ff 60 a0.*bset r2l,@0xff:8
- 158: 7f 00 60 80.*bset r0l,@0x0:8
- 15c: 7e ff 63 80.*btst r0l,@0xff:8
- 160: 7e 00 63 a0.*btst r2l,@0x0:8
- 164: 6a 18 00 00.*bset #0x6,@0x0:16
- 168: 70 60
- 16a: 6a 18 7f ff.*bset #0x6,@0x7fff:16
- 16e: 70 60
- 170: 6a 38 00 00.*bset #0x6,@0x8000:32
- 174: 80 00 70 60
- 178: 6a 38 00 00.*bset #0x6,@0xff00:32
- 17c: ff 00 70 60
- 180: 6a 38 00 ff.*bset #0x6,@0xffff00:32
- 184: ff 00 70 60
- 188: 6a 38 ff ff.*bset #0x6,@0xffff7fff:32
- 18c: 7f ff 70 60
- 190: 6a 18 80 00.*bset #0x6,@0x8000:16
- 194: 70 60
- 196: 6a 18 fe ff.*bset #0x6,@0xfeff:16
- 19a: 70 60
- 19c: 7f 00 70 60.*bset #0x6,@0x0:8
- 1a0: 7f ff 70 60.*bset #0x6,@0xff:8
- 1a4: 6a 10 00 00.*band #0x6,@0x0:16
- 1a8: 76 60
- 1aa: 6a 10 7f ff.*band #0x6,@0x7fff:16
- 1ae: 76 60
- 1b0: 6a 30 00 00.*band #0x6,@0x8000:32
- 1b4: 80 00 76 60
- 1b8: 6a 30 00 00.*band #0x6,@0xff00:32
- 1bc: ff 00 76 60
- 1c0: 6a 30 00 ff.*band #0x6,@0xffff00:32
- 1c4: ff 00 76 60
- 1c8: 6a 30 ff ff.*band #0x6,@0xffff7fff:32
- 1cc: 7f ff 76 60
- 1d0: 6a 10 80 00.*band #0x6,@0x8000:16
- 1d4: 76 60
- 1d6: 6a 10 fe ff.*band #0x6,@0xfeff:16
- 1da: 76 60
- 1dc: 7e 00 76 60.*band #0x6,@0x0:8
- 1e0: 7e ff 76 60.*band #0x6,@0xff:8
diff --git a/ld/testsuite/ld-h8300/relax-5-coff.d b/ld/testsuite/ld-h8300/relax-5-coff.d
deleted file mode 100644
index eed2ba0..0000000
--- a/ld/testsuite/ld-h8300/relax-5-coff.d
+++ /dev/null
@@ -1,50 +0,0 @@
-# name: H8300 Relaxation Test 5 (for COFF)
-# source: relax-5.s
-# ld: --relax -m h8300s
-# objdump: -d --no-show-raw-insn
-
-.*: file format .*-h8300
-
-Disassembly of section .text:
-
-00000100 <_start>:
- 100:.*ldc @0x0:16,ccr
- 106:.*ldc @0x7fff:16,ccr
- 10c:.*ldc @0x8000:32,ccr
- 114:.*ldc @0xff00:32,ccr
- 11c:.*ldc @0xffff00:32,ccr
- 124:.*ldc @0xffff7fff:32,ccr
- 12c:.*ldc @0x8000:16,ccr
- 132:.*ldc @0xfeff:16,ccr
- 138:.*ldc @0xff00:16,ccr
- 13e:.*ldc @0xffff:16,ccr
- 144:.*stc ccr,@0x0:16
- 14a:.*stc ccr,@0x7fff:16
- 150:.*stc ccr,@0x8000:32
- 158:.*stc ccr,@0xff00:32
- 160:.*stc ccr,@0xffff00:32
- 168:.*stc ccr,@0xffff7fff:32
- 170:.*stc ccr,@0x8000:16
- 176:.*stc ccr,@0xfeff:16
- 17c:.*stc ccr,@0xff00:16
- 182:.*stc ccr,@0xffff:16
- 188:.*ldc @0x0:16,exr
- 18e:.*ldc @0x7fff:16,exr
- 194:.*ldc @0x8000:32,exr
- 19c:.*ldc @0xff00:32,exr
- 1a4:.*ldc @0xffff00:32,exr
- 1ac:.*ldc @0xffff7fff:32,exr
- 1b4:.*ldc @0x8000:16,exr
- 1ba:.*ldc @0xfeff:16,exr
- 1c0:.*ldc @0xff00:16,exr
- 1c6:.*ldc @0xffff:16,exr
- 1cc:.*stc exr,@0x0:16
- 1d2:.*stc exr,@0x7fff:16
- 1d8:.*stc exr,@0x8000:32
- 1e0:.*stc exr,@0xff00:32
- 1e8:.*stc exr,@0xffff00:32
- 1f0:.*stc exr,@0xffff7fff:32
- 1f8:.*stc exr,@0x8000:16
- 1fe:.*stc exr,@0xfeff:16
- 204:.*stc exr,@0xff00:16
- 20a:.*stc exr,@0xffff:16
diff --git a/ld/testsuite/ld-h8300/relax-6-coff.d b/ld/testsuite/ld-h8300/relax-6-coff.d
deleted file mode 100644
index b9c1e2f..0000000
--- a/ld/testsuite/ld-h8300/relax-6-coff.d
+++ /dev/null
@@ -1,11 +0,0 @@
-# name: H8300 Relaxation Test 6
-# source: relax-6.s
-# ld: --relax -m h8300s
-# objdump: -d --no-show-raw-insn
-
-.*: file format .*-h8300
-Disassembly of section .text:
-
-00000100 <_start>:
- 100: mov.b r2l,@0xbd:8
- 102: rts