aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2020-02-06 04:44:39 -0800
committerH.J. Lu <hjl.tools@gmail.com>2020-02-06 04:44:39 -0800
commit986ac31487544ed7553e74f4570f6de83fba1c8d (patch)
treed16d09f9234391dcaa90a22f98626a84ba28a1a1 /gas
parentbb4e012ca040df594ed16d23e1a565754b686c6f (diff)
downloadgdb-986ac31487544ed7553e74f4570f6de83fba1c8d.zip
gdb-986ac31487544ed7553e74f4570f6de83fba1c8d.tar.gz
gdb-986ac31487544ed7553e74f4570f6de83fba1c8d.tar.bz2
x86: Run unique tests only for ELF targets
* testsuite/gas/i386/i386.exp: Run unique and x86-64-unique only for ELF targets. * testsuite/gas/i386/unique.d: Don't xfail. * testsuite/gas/i386/x86-64-unique.d: Likewise.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog7
-rw-r--r--gas/testsuite/gas/i386/i386.exp4
-rw-r--r--gas/testsuite/gas/i386/unique.d1
-rw-r--r--gas/testsuite/gas/i386/x86-64-unique.d1
4 files changed, 9 insertions, 4 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 7c6f245..8955f53 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,10 @@
+2020-02-06 H.J. Lu <hongjiu.lu@intel.com>
+
+ * testsuite/gas/i386/i386.exp: Run unique and x86-64-unique
+ only for ELF targets.
+ * testsuite/gas/i386/unique.d: Don't xfail.
+ * testsuite/gas/i386/x86-64-unique.d: Likewise.
+
2020-02-06 Alan Modra <amodra@gmail.com>
* testsuite/gas/i386/unique.d: xfail for non-elf targets.
diff --git a/gas/testsuite/gas/i386/i386.exp b/gas/testsuite/gas/i386/i386.exp
index ffeff0c..59b1415 100644
--- a/gas/testsuite/gas/i386/i386.exp
+++ b/gas/testsuite/gas/i386/i386.exp
@@ -491,7 +491,6 @@ if [expr ([istarget "i*86-*-*"] || [istarget "x86_64-*-*"]) && [gas_32_check]]
run_list_test "inval-pseudo" "-al"
run_dump_test "nop-1"
run_dump_test "nop-2"
- run_dump_test "unique"
run_dump_test "optimize-1"
run_dump_test "optimize-1a"
run_dump_test "optimize-2"
@@ -590,6 +589,7 @@ if [expr ([istarget "i*86-*-*"] || [istarget "x86_64-*-*"]) && [gas_32_check]]
run_dump_test "nop-4"
run_dump_test "nop-5"
run_dump_test "nop-6"
+ run_dump_test "unique"
run_dump_test "evex-no-scale-32"
run_dump_test "property-1"
@@ -1051,7 +1051,6 @@ if [expr ([istarget "i*86-*-*"] || [istarget "x86_64-*-*"]) && [gas_64_check]] t
run_dump_test "x86-64-movd-intel"
run_dump_test "x86-64-nop-1"
run_dump_test "x86-64-nop-2"
- run_dump_test "x86-64-unique"
run_dump_test "x86-64-movsxd"
run_dump_test "x86-64-movsxd-intel"
run_list_test "x86-64-movsxd-inval" "-al"
@@ -1150,6 +1149,7 @@ if [expr ([istarget "i*86-*-*"] || [istarget "x86_64-*-*"]) && [gas_64_check]] t
run_dump_test "x86-64-nop-4"
run_dump_test "x86-64-nop-5"
run_dump_test "x86-64-nop-6"
+ run_dump_test "x86-64-unique"
run_dump_test "evex-no-scale-64"
run_dump_test "x86-64-property-1"
diff --git a/gas/testsuite/gas/i386/unique.d b/gas/testsuite/gas/i386/unique.d
index 11fe90d..0337733 100644
--- a/gas/testsuite/gas/i386/unique.d
+++ b/gas/testsuite/gas/i386/unique.d
@@ -1,6 +1,5 @@
#objdump: -dw
#name: i386 unique sections
-#xfail: *-*-darwin *-*-pe *-*-*cygwin* *-*-mingw*
.*: +file format .*
diff --git a/gas/testsuite/gas/i386/x86-64-unique.d b/gas/testsuite/gas/i386/x86-64-unique.d
index 59b8693..4cfd30d 100644
--- a/gas/testsuite/gas/i386/x86-64-unique.d
+++ b/gas/testsuite/gas/i386/x86-64-unique.d
@@ -1,7 +1,6 @@
#source: unique.s
#objdump: -dw
#name: 64bit unique sections
-#xfail: *-*-darwin *-*-pe *-*-*cygwin* *-*-mingw*
.*: +file format .*