public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* ld sysroot-prefix test fails
@ 2021-01-05 12:38 Alan Modra
  0 siblings, 0 replies; only message in thread
From: Alan Modra @ 2021-01-05 12:38 UTC (permalink / raw)
  To: binutils

	* testsuite/ld-scripts/sysroot-prefix.exp: Exclude some targets.

diff --git a/ld/testsuite/ld-scripts/sysroot-prefix.exp b/ld/testsuite/ld-scripts/sysroot-prefix.exp
index 8955153aa1..b09bb184cd 100644
--- a/ld/testsuite/ld-scripts/sysroot-prefix.exp
+++ b/ld/testsuite/ld-scripts/sysroot-prefix.exp
@@ -17,6 +17,15 @@
 # Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
 # MA 02110-1301, USA.
 
+# Don't run on alpha-vms which requires linking with other libraries,
+# or on targets that complain about relocations in read-only sections.
+if { [istarget *-*-vms]
+     || [istarget bfin-*-*]
+     || [istarget frv-*-*]
+     || [istarget lm32-*-*] } then {
+    return
+}
+
 # Check that scripts using the "=" sysroot-prefix work, for both
 # toolchains with and without --sysroot support.
 

-- 
Alan Modra
Australia Development Lab, IBM

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-01-05 12:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-05 12:38 ld sysroot-prefix test fails Alan Modra

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).