From b281a04ff0a40440c7a2a0ab75ac0410cc1f53e8 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Tue, 5 Jan 2021 22:54:25 +1030 Subject: [PATCH] ld sysroot-prefix test fails * testsuite/ld-scripts/sysroot-prefix.exp: Exclude some targets. --- ld/ChangeLog | 4 ++++ ld/testsuite/ld-scripts/sysroot-prefix.exp | 9 +++++++++ 2 files changed, 13 insertions(+) diff --git a/ld/ChangeLog b/ld/ChangeLog index 5fa56778f4f..dee8378bcc7 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,7 @@ +2021-01-05 Alan Modra + + * testsuite/ld-scripts/sysroot-prefix.exp: Exclude some targets. + 2021-01-05 Alan Modra PR ld/26256 diff --git a/ld/testsuite/ld-scripts/sysroot-prefix.exp b/ld/testsuite/ld-scripts/sysroot-prefix.exp index 8955153aa11..b09bb184cd8 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. -- 2.30.2