aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2021-01-06 12:36:31 +1030
committerAlan Modra <amodra@gmail.com>2021-01-06 21:03:55 +1030
commit85f55c2b759ff61a53819a8b3a855d0313efcd64 (patch)
tree05169768e0b3a6cc8d36137fd594b4d8a11e335f
parent3677b7296185e6abfe8327c00c460712151ade15 (diff)
downloadgdb-85f55c2b759ff61a53819a8b3a855d0313efcd64.zip
gdb-85f55c2b759ff61a53819a8b3a855d0313efcd64.tar.gz
gdb-85f55c2b759ff61a53819a8b3a855d0313efcd64.tar.bz2
sparc-elf ld test fails
* testsuite/gas/sparc/sparc.exp: Move 64-bit tests inside gas_64_check.
-rw-r--r--gas/ChangeLog4
-rw-r--r--gas/testsuite/gas/sparc/sparc.exp34
2 files changed, 22 insertions, 16 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 2526f09..b0033ef 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,5 +1,9 @@
2021-01-06 Alan Modra <amodra@gmail.com>
+ * testsuite/gas/sparc/sparc.exp: Move 64-bit tests inside gas_64_check.
+
+2021-01-06 Alan Modra <amodra@gmail.com>
+
* testsuite/gas/macros/app1.d: xfail tic30.
* testsuite/gas/macros/app2.d: Likewise.
* testsuite/gas/macros/app3.d: Likewise.
diff --git a/gas/testsuite/gas/sparc/sparc.exp b/gas/testsuite/gas/sparc/sparc.exp
index 5b2e957..4d97a6c 100644
--- a/gas/testsuite/gas/sparc/sparc.exp
+++ b/gas/testsuite/gas/sparc/sparc.exp
@@ -59,7 +59,6 @@ if [istarget sparc*-*-*] {
# and a.out targets. Running them only in ELF targets allows
# us to don't have to replicate pattern test files as that
# would bring no practical advantage.
- run_dump_test "natural"
run_dump_test "natural-32"
run_list_test "pr4587" ""
run_dump_test "ticc-imm-reg"
@@ -75,7 +74,6 @@ if [istarget sparc*-*-*] {
run_dump_test "edge"
set_tests_arch "v9v"
- run_dump_test "cbcond"
run_dump_test "cfr"
run_dump_test "crypto"
run_dump_test "hpcvis3"
@@ -95,9 +93,8 @@ if [istarget sparc*-*-*] {
run_dump_test "on"
run_dump_test "rle"
run_dump_test "sparc6"
- set_tests_arch ""
- run_list_test "cbcond-diag" "-64"
+ set_tests_arch ""
run_dump_test "flush"
run_dump_test "ld_st_fsr"
run_dump_test "ldtw_sttw"
@@ -108,11 +105,6 @@ if [istarget sparc*-*-*] {
run_dump_test "imm-plus-rreg"
run_dump_test "dcti-couples-v9"
run_dump_test "call-relax"
- run_list_test "sparc6-diag" "-64"
- run_list_test "fpcmpshl-diag" "-64"
- run_list_test "ldm-stm-diag" "-64"
- run_list_test "ldmf-stmf-diag" "-64"
- run_list_test "on-diag" "-64"
} else {
# The next tests are a.out only.
run_dump_test "call-relax-aout"
@@ -120,18 +112,28 @@ if [istarget sparc*-*-*] {
if [gas_64_check] {
run_dump_test "asi"
+ set_tests_arch "v9v"
+ run_dump_test "cbcond"
+ set_tests_arch ""
+ run_dump_test "gotop64"
run_dump_test "membar"
+ run_dump_test "natural"
+ run_dump_test "pcrel64"
+ run_dump_test "plt64"
run_dump_test "prefetch"
+ run_dump_test "reloc64"
run_dump_test "set64"
run_dump_test "synth64"
run_dump_test "window"
- run_dump_test "reloc64"
- run_dump_test "pcrel64"
- run_dump_test "plt64"
- run_dump_test "gotop64"
- run_list_test "hwcaps-bump" "-64 -bump"
- run_list_test "asi-bump-warn" "-64 -bump"
- run_list_test "asi-arch-error" "-Av9"
+ run_list_test "asi-arch-error" "-Av9"
+ run_list_test "asi-bump-warn" "-64 -bump"
+ run_list_test "cbcond-diag" "-64"
+ run_list_test "fpcmpshl-diag" "-64"
+ run_list_test "hwcaps-bump" "-64 -bump"
+ run_list_test "ldm-stm-diag" "-64"
+ run_list_test "ldmf-stmf-diag" "-64"
+ run_list_test "on-diag" "-64"
+ run_list_test "sparc6-diag" "-64"
set_tests_arch "v9m"
run_dump_test "rdhpr"