aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-scripts
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2021-01-05 22:54:25 +1030
committerAlan Modra <amodra@gmail.com>2021-01-05 23:09:05 +1030
commitb281a04ff0a40440c7a2a0ab75ac0410cc1f53e8 (patch)
tree0383f0c0255f9ca65aaeff040288e50b8efeb305 /ld/testsuite/ld-scripts
parentc8bad65eee4667f731c4abcc4642c4a68c8601ca (diff)
downloadgdb-b281a04ff0a40440c7a2a0ab75ac0410cc1f53e8.zip
gdb-b281a04ff0a40440c7a2a0ab75ac0410cc1f53e8.tar.gz
gdb-b281a04ff0a40440c7a2a0ab75ac0410cc1f53e8.tar.bz2
ld sysroot-prefix test fails
* testsuite/ld-scripts/sysroot-prefix.exp: Exclude some targets.
Diffstat (limited to 'ld/testsuite/ld-scripts')
-rw-r--r--ld/testsuite/ld-scripts/sysroot-prefix.exp9
1 files changed, 9 insertions, 0 deletions
diff --git a/ld/testsuite/ld-scripts/sysroot-prefix.exp b/ld/testsuite/ld-scripts/sysroot-prefix.exp
index 8955153..b09bb18 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.