Check for shared lib support before running ld tests with -shared
[deliverable/binutils-gdb.git] / ld / testsuite / ld-elf / dwarf.exp
index 572c704979a64413599e3ab3bd8a29b2a5bf1f4c..529ebccd505d73d2bf4b9e27b516742e0c353cf8 100644 (file)
@@ -29,6 +29,12 @@ if ![is_elf_format] {
     return
 }
 
+# Skip targets where -shared is not supported
+
+if ![check_shared_lib_support] {
+    return
+}
+
 # Check if compiler works
 if { [which $CC] == 0 } {
     return
This page took 0.023763 seconds and 4 git commands to generate.