diff options
-rw-r--r-- | ld/testsuite/ld-elf/exclude.exp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ld/testsuite/ld-elf/exclude.exp b/ld/testsuite/ld-elf/exclude.exp index 1417ee1..60e41ed 100644 --- a/ld/testsuite/ld-elf/exclude.exp +++ b/ld/testsuite/ld-elf/exclude.exp @@ -26,8 +26,8 @@ if ![is_elf_format] { return } -# No shared lib support on this target. -if { [istarget "mcore-*-*"] } { +# Skip targets where -shared is not supported +if { ![check_shared_lib_support] } { return } |