aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2022-12-05 13:50:07 +0100
committerJan Beulich <jbeulich@suse.com>2022-12-05 13:50:07 +0100
commit07aeb917c4d379e8fca611aa7346e977a4061e17 (patch)
treebe2384b5157123cccd978e1469d245f39eafc561 /binutils
parent942fa4fb32738ecbb447546d54f1e5f0312d2ed4 (diff)
downloadgdb-07aeb917c4d379e8fca611aa7346e977a4061e17.zip
gdb-07aeb917c4d379e8fca611aa7346e977a4061e17.tar.gz
gdb-07aeb917c4d379e8fca611aa7346e977a4061e17.tar.bz2
Arm: .noinit and .persistent are not supported for Linux targets
Respective tests being run means guaranteed failures.
Diffstat (limited to 'binutils')
-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;
}