summaryrefslogtreecommitdiff
path: root/sim/testsuite
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-01-05 00:22:28 -0500
committerMike Frysinger <vapier@gentoo.org>2021-01-05 19:26:33 -0500
commita2f8e947a8457341d2d82b555ff739839cb8de1f (patch)
treef17e4e1e4dcd46368d7ad00d57b9b15dc40e4dfc /sim/testsuite
parent0c7f5bd08c61ac3607f54cf1c5fe08f88b989175 (diff)
downloadbinutils-gdb-a2f8e947a8457341d2d82b555ff739839cb8de1f.tar.gz
sim: h8300: fix test mach markers
These tests all fail to assemble when targeting the h8300 or h8300h cpu variants with errors like: rotl.s:242: Warning: Opcode `rotl.b' with these operand types not available in H8/300H mode rotl.s:242: Error: invalid operands It's been this way for years and no one seems to care, so disable them for those targets since the assembler thinks it's impossible.
Diffstat (limited to 'sim/testsuite')
-rw-r--r--sim/testsuite/sim/h8300/ChangeLog6
-rw-r--r--sim/testsuite/sim/h8300/rotl.s2
-rw-r--r--sim/testsuite/sim/h8300/rotr.s2
-rw-r--r--sim/testsuite/sim/h8300/rotxl.s2
-rw-r--r--sim/testsuite/sim/h8300/rotxr.s2
-rw-r--r--sim/testsuite/sim/h8300/shal.s2
-rw-r--r--sim/testsuite/sim/h8300/shar.s2
-rw-r--r--sim/testsuite/sim/h8300/shll.s2
-rw-r--r--sim/testsuite/sim/h8300/shlr.s2
-rw-r--r--sim/testsuite/sim/h8300/tas.s2
10 files changed, 15 insertions, 9 deletions
diff --git a/sim/testsuite/sim/h8300/ChangeLog b/sim/testsuite/sim/h8300/ChangeLog
index a4e7532352b..82128cc43ad 100644
--- a/sim/testsuite/sim/h8300/ChangeLog
+++ b/sim/testsuite/sim/h8300/ChangeLog
@@ -1,5 +1,11 @@
2021-01-05 Mike Frysinger <vapier@gentoo.org>
+ * rotl.s (mach): Set to "h8300s h8sx".
+ * rotr.s, rotxl.s, rotxr.s, shal.s, shar.s, shll.s, shlr.s, tas.s:
+ Likewise.
+
+2021-01-05 Mike Frysinger <vapier@gentoo.org>
+
* allinsn.exp: Rewrite file to use globs.
2004-06-28 Alexandre Oliva <aoliva@redhat.com>
diff --git a/sim/testsuite/sim/h8300/rotl.s b/sim/testsuite/sim/h8300/rotl.s
index 088345d3df7..1978c2d5572 100644
--- a/sim/testsuite/sim/h8300/rotl.s
+++ b/sim/testsuite/sim/h8300/rotl.s
@@ -1,5 +1,5 @@
# Hitachi H8 testcase 'rotl'
-# mach(): all
+# mach(): h8300s h8sx
# as(h8300): --defsym sim_cpu=0
# as(h8300h): --defsym sim_cpu=1
# as(h8300s): --defsym sim_cpu=2
diff --git a/sim/testsuite/sim/h8300/rotr.s b/sim/testsuite/sim/h8300/rotr.s
index 2a964c1c29b..658ef821f0e 100644
--- a/sim/testsuite/sim/h8300/rotr.s
+++ b/sim/testsuite/sim/h8300/rotr.s
@@ -1,5 +1,5 @@
# Hitachi H8 testcase 'rotr'
-# mach(): all
+# mach(): h8300s h8sx
# as(h8300): --defsym sim_cpu=0
# as(h8300h): --defsym sim_cpu=1
# as(h8300s): --defsym sim_cpu=2
diff --git a/sim/testsuite/sim/h8300/rotxl.s b/sim/testsuite/sim/h8300/rotxl.s
index 3ae703ef800..d0ff4a3fb79 100644
--- a/sim/testsuite/sim/h8300/rotxl.s
+++ b/sim/testsuite/sim/h8300/rotxl.s
@@ -1,5 +1,5 @@
# Hitachi H8 testcase 'rotxl'
-# mach(): all
+# mach(): h8300s h8sx
# as(h8300): --defsym sim_cpu=0
# as(h8300h): --defsym sim_cpu=1
# as(h8300s): --defsym sim_cpu=2
diff --git a/sim/testsuite/sim/h8300/rotxr.s b/sim/testsuite/sim/h8300/rotxr.s
index 96ec8a12b6a..31a351fb23f 100644
--- a/sim/testsuite/sim/h8300/rotxr.s
+++ b/sim/testsuite/sim/h8300/rotxr.s
@@ -1,5 +1,5 @@
# Hitachi H8 testcase 'rotxr'
-# mach(): all
+# mach(): h8300s h8sx
# as(h8300): --defsym sim_cpu=0
# as(h8300h): --defsym sim_cpu=1
# as(h8300s): --defsym sim_cpu=2
diff --git a/sim/testsuite/sim/h8300/shal.s b/sim/testsuite/sim/h8300/shal.s
index ccea9071a8b..5d930d9da63 100644
--- a/sim/testsuite/sim/h8300/shal.s
+++ b/sim/testsuite/sim/h8300/shal.s
@@ -1,5 +1,5 @@
# Hitachi H8 testcase 'shal'
-# mach(): all
+# mach(): h8300s h8sx
# as(h8300): --defsym sim_cpu=0
# as(h8300h): --defsym sim_cpu=1
# as(h8300s): --defsym sim_cpu=2
diff --git a/sim/testsuite/sim/h8300/shar.s b/sim/testsuite/sim/h8300/shar.s
index 9c9166be31b..6b182aa01ce 100644
--- a/sim/testsuite/sim/h8300/shar.s
+++ b/sim/testsuite/sim/h8300/shar.s
@@ -1,5 +1,5 @@
# Hitachi H8 testcase 'shar'
-# mach(): all
+# mach(): h8300s h8sx
# as(h8300): --defsym sim_cpu=0
# as(h8300h): --defsym sim_cpu=1
# as(h8300s): --defsym sim_cpu=2
diff --git a/sim/testsuite/sim/h8300/shll.s b/sim/testsuite/sim/h8300/shll.s
index 7fbf14d056f..f21a60b81f2 100644
--- a/sim/testsuite/sim/h8300/shll.s
+++ b/sim/testsuite/sim/h8300/shll.s
@@ -1,5 +1,5 @@
# Hitachi H8 testcase 'shll'
-# mach(): all
+# mach(): h8300s h8sx
# as(h8300): --defsym sim_cpu=0
# as(h8300h): --defsym sim_cpu=1
# as(h8300s): --defsym sim_cpu=2
diff --git a/sim/testsuite/sim/h8300/shlr.s b/sim/testsuite/sim/h8300/shlr.s
index 42233134b45..c9f6a08bc83 100644
--- a/sim/testsuite/sim/h8300/shlr.s
+++ b/sim/testsuite/sim/h8300/shlr.s
@@ -1,5 +1,5 @@
# Hitachi H8 testcase 'shlr'
-# mach(): all
+# mach(): h8300s h8sx
# as(h8300): --defsym sim_cpu=0
# as(h8300h): --defsym sim_cpu=1
# as(h8300s): --defsym sim_cpu=2
diff --git a/sim/testsuite/sim/h8300/tas.s b/sim/testsuite/sim/h8300/tas.s
index b8aebd80dee..60bea920023 100644
--- a/sim/testsuite/sim/h8300/tas.s
+++ b/sim/testsuite/sim/h8300/tas.s
@@ -1,5 +1,5 @@
# Hitachi H8 testcase 'tas'
-# mach(): h8300h h8300s h8sx
+# mach(): h8300s h8sx
# as(h8300): --defsym sim_cpu=0
# as(h8300h): --defsym sim_cpu=1
# as(h8300s): --defsym sim_cpu=2