diff options
Diffstat (limited to 'ld/testsuite/ld-ifunc/ifunc.exp')
-rw-r--r-- | ld/testsuite/ld-ifunc/ifunc.exp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ld/testsuite/ld-ifunc/ifunc.exp b/ld/testsuite/ld-ifunc/ifunc.exp index d7519b5..ffff2f1 100644 --- a/ld/testsuite/ld-ifunc/ifunc.exp +++ b/ld/testsuite/ld-ifunc/ifunc.exp @@ -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 } { |