Check for shared lib support before running ld tests with -shared
[deliverable/binutils-gdb.git] / ld / testsuite / ld-ifunc / ifunc.exp
index d7519b546940bc7c50b38066fa9433db0b44ad21..ffff2f1ae56b03382456d253bc1a65025f8a614a 100644 (file)
@@ -41,6 +41,12 @@ if {!(([istarget "i?86-*-*"]
     return
 }
 
+# Skip targets where -shared is not supported
+
+if ![check_shared_lib_support] {
+    return
+}
+
 # We need a working compiler.  (Strictly speaking this is
 # not true, we could use target specific assembler files).
 if { [which $CC] == 0 } {
This page took 0.023561 seconds and 4 git commands to generate.