aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-ctf/ctf.exp
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-ctf/ctf.exp')
-rw-r--r--ld/testsuite/ld-ctf/ctf.exp7
1 files changed, 7 insertions, 0 deletions
diff --git a/ld/testsuite/ld-ctf/ctf.exp b/ld/testsuite/ld-ctf/ctf.exp
index c314f29..3ce5e1e 100644
--- a/ld/testsuite/ld-ctf/ctf.exp
+++ b/ld/testsuite/ld-ctf/ctf.exp
@@ -38,6 +38,11 @@ if {[info exists env(LC_ALL)]} {
}
set env(LC_ALL) "C"
+set saved_ASFLAGS "$ASFLAGS"
+if [istarget "sparc-*-*"] {
+ append ASFLAGS " -Av8plus"
+}
+
set ctf_test_list [lsort [glob -nocomplain $srcdir/$subdir/*.d]]
foreach ctf_test $ctf_test_list {
@@ -50,6 +55,8 @@ foreach ctf_test $ctf_test_list {
run_dump_test [file rootname $ctf_test] { { cc "-gctf -fPIC" } }
}
+set ASFLAGS "$saved_ASFLAGS"
+
if {[info exists old_lc_all]} {
set env(LC_ALL) $old_lc_all
} else {