Arm: .noinit and .persistent are not supported for Linux targets

Respective tests being run means guaranteed failures.
This commit is contained in:
Jan Beulich
2022-12-05 13:50:07 +01:00
parent 942fa4fb32
commit 07aeb917c4

View File

@@ -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;
}