ld: Unify STT_GNU_IFUNC handling
[deliverable/binutils-gdb.git] / ld / testsuite / ld-ifunc / ifunc.exp
index 9f4aa73e7a749dd3e2f0116b567908ec3705eb80..dd3abd475ae2c328212f5cc424a5c9e4f8b9e276 100644 (file)
@@ -48,6 +48,13 @@ if ![check_shared_lib_support] {
 # This test does not need a compiler...
 run_dump_test "ifuncmod5"
 
+set test_list [lsort [glob -nocomplain $srcdir/$subdir/*.d]]
+foreach t $test_list {
+    # We need to strip the ".d", but can leave the dirname.
+    verbose [file rootname $t]
+    run_dump_test [file rootname $t]
+}
+
 # We need a working compiler.  (Strictly speaking this is
 # not true, we could use target specific assembler files).
 if { [which $CC] == 0 } {
@@ -425,13 +432,6 @@ run_ld_link_exec_tests [list \
     ] \
 ]
 
-set test_list [lsort [glob -nocomplain $srcdir/$subdir/*.d]]
-foreach t $test_list {
-    # We need to strip the ".d", but can leave the dirname.
-    verbose [file rootname $t]
-    run_dump_test [file rootname $t]
-}
-
 # Run-time tests which require working IFUNC support.
 if { ![check_ifunc_available] } {
     return
This page took 0.024184 seconds and 4 git commands to generate.