Fix some AVR test failures.
[deliverable/binutils-gdb.git] / ld / testsuite / ld-selective / sel-dump.exp
index c78bd6ea03416f597d8e125a454cd3db6eb2962a..3c54b7b25d3dc0dae0eff499dce08135ccbfe8e5 100644 (file)
@@ -1,5 +1,5 @@
 # Expect script for ld selective linking tests running run_dump_test
-#   Copyright 2002, 2005, 2004, 2007, 2011 Free Software Foundation, Inc.
+#   Copyright (C) 2002-2016 Free Software Foundation, Inc.
 #
 # This file is part of the GNU Binutils.
 #
@@ -20,7 +20,7 @@
 
 # Test for ELF here, so we don't have to qualify on ELF specifically
 # in every .d-file.
-if ![is_elf_format] {
+if { ![is_elf_format] || ![check_gc_sections_available] } {
     return
 }
 
@@ -28,8 +28,5 @@ set test_list [lsort [glob -nocomplain $srcdir/$subdir/*.d]]
 for { set i 0 } { $i < [llength $test_list] } { incr i } {
     # We need to strip the ".d", but can leave the dirname.
     verbose [file rootname [lindex $test_list $i]]
-    setup_xfail "am33*-*" "arc*-*" "d30v*-*" "dlx*-*"
-    setup_xfail "hppa*64-*-*" "i370*-*" "i860*-*" "i960*-*" "ia64*-*"
-    setup_xfail "m88*-*" "mn10200-*" "mep-*" "or32-*" "pj-*"
     run_dump_test [file rootname [lindex $test_list $i]]
 }
This page took 0.023634 seconds and 4 git commands to generate.