aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--binutils/testsuite/lib/binutils-common.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/binutils/testsuite/lib/binutils-common.exp b/binutils/testsuite/lib/binutils-common.exp
index ccc33a8..2aa528e 100644
--- a/binutils/testsuite/lib/binutils-common.exp
+++ b/binutils/testsuite/lib/binutils-common.exp
@@ -401,7 +401,7 @@ proc supports_noinit_section {} {
#
# arc-*-* is not included here, since it only supports .noinit with the
# non-default arcv2elf emulation.
- if {[istarget "arm-*-*"]
+ if { ([istarget "arm-*-*"] && ![istarget "arm*-linux-*"])
|| [istarget "avr-*-*"]
|| [istarget "msp430-*-*"]
|| [istarget "pru-*-*"] } {
@@ -420,7 +420,7 @@ proc supports_persistent_section {} {
# Targets that set HAVE_PERSISTENT=yes in their emulparams script utilizing
# elf.sc, or explicitly define a .persistent section in their linker script.
- if { [istarget "arm-*-*"]
+ if { ([istarget "arm-*-*"] && ![istarget "arm*-linux-*"])
|| [istarget "msp430-*-*"] } {
return 1;
}