public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 1/2] ld/testsuite: skip ld-elf/exclude when -shared is not supported
@ 2022-10-20 14:43 Clément Chigot
  2022-10-20 14:43 ` [PATCH 2/2] ld/testsuite: adjust ld-arm to run shared tests only when supported Clément Chigot
  2022-10-21  9:53 ` [PATCH 1/2] ld/testsuite: skip ld-elf/exclude when -shared is not supported Nick Clifton
  0 siblings, 2 replies; 4+ messages in thread
From: Clément Chigot @ 2022-10-20 14:43 UTC (permalink / raw)
  To: binutils; +Cc: Clément Chigot

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 1417ee1fefc..60e41eda3a9 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
 }
 
-- 
2.25.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-10-21  9:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-20 14:43 [PATCH 1/2] ld/testsuite: skip ld-elf/exclude when -shared is not supported Clément Chigot
2022-10-20 14:43 ` [PATCH 2/2] ld/testsuite: adjust ld-arm to run shared tests only when supported Clément Chigot
2022-10-21  9:54   ` Nick Clifton
2022-10-21  9:53 ` [PATCH 1/2] ld/testsuite: skip ld-elf/exclude when -shared is not supported Nick Clifton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).