From 13b87bbf0dad9c388ad6234df260ca0e497456c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Chigot?= Date: Thu, 20 Oct 2022 15:31:24 +0200 Subject: ld/testsuite: skip ld-elf/exclude when -shared is not supported ld/ChangeLog: * testsuite/ld-elf/exclude.exp: Call check_shared_lib_support. to skip for all targets without shared lib support. --- ld/testsuite/ld-elf/exclude.exp | 4 ++-- 1 file 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 } -- cgit v1.1