public inbox for binutils-cvs@sourceware.org
 help / color / mirror / Atom feed
* [binutils-gdb] Arm: .noinit and .persistent are not supported for Linux targets
@ 2022-12-05 12:53 Jan Beulich
  0 siblings, 0 replies; only message in thread
From: Jan Beulich @ 2022-12-05 12:53 UTC (permalink / raw)
  To: bfd-cvs

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=07aeb917c4d379e8fca611aa7346e977a4061e17

commit 07aeb917c4d379e8fca611aa7346e977a4061e17
Author: Jan Beulich <jbeulich@suse.com>
Date:   Mon Dec 5 13:50:07 2022 +0100

    Arm: .noinit and .persistent are not supported for Linux targets
    
    Respective tests being run means guaranteed failures.

Diff:
---
 binutils/testsuite/lib/binutils-common.exp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/binutils/testsuite/lib/binutils-common.exp b/binutils/testsuite/lib/binutils-common.exp
index ccc33a827b4..2aa528ec1ed 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;
     }

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-12-05 12:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-05 12:53 [binutils-gdb] Arm: .noinit and .persistent are not supported for Linux targets Jan Beulich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).