aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf
diff options
context:
space:
mode:
authorClément Chigot <chigot@adacore.com>2022-10-20 15:31:24 +0200
committerClément Chigot <chigot@adacore.com>2022-10-24 14:05:48 +0200
commit13b87bbf0dad9c388ad6234df260ca0e497456c3 (patch)
treeae713c78afa70c1302836b4a0c1518e01e4178be /ld/testsuite/ld-elf
parent05bb930a054c80b6f8aecd93dafbcb464a403bc5 (diff)
downloadgdb-13b87bbf0dad9c388ad6234df260ca0e497456c3.zip
gdb-13b87bbf0dad9c388ad6234df260ca0e497456c3.tar.gz
gdb-13b87bbf0dad9c388ad6234df260ca0e497456c3.tar.bz2
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.
Diffstat (limited to 'ld/testsuite/ld-elf')
-rw-r--r--ld/testsuite/ld-elf/exclude.exp4
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
}