[binutils-gdb] aarch64-pe fails of tls-debug tests

Alan Modra via Binutils-cvs <[email protected]> Sat, 11 Jul 2026 08:50:55 +0000 (GMT)
Newsgroups gmane.comp.gnu.binutils.cvs
Message-ID <[email protected]>
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=8fcc4a6bb9ad7f754b74ffa68da34ae826d7d0e6

commit 8fcc4a6bb9ad7f754b74ffa68da34ae826d7d0e6
Author: Alan Modra <[email protected]>
Date:   Sat Jul 11 13:59:32 2026 +0930

    aarch64-pe fails of tls-debug tests
    
    These fail to assemble since they use ELF section directives.  There
    isn't any need to test for an aarch64 target since that is done in
    aarch64.exp.
    
            * testsuite/gas/aarch64/tls-debug.d: Replace aarch64 target test
            with is_elf_format.
            * testsuite/gas/aarch64/tls-debug-bad.d: Likewise.

Diff:
---
 gas/testsuite/gas/aarch64/tls-debug-bad.d | 2 +-
 gas/testsuite/gas/aarch64/tls-debug.d     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/gas/testsuite/gas/aarch64/tls-debug-bad.d b/gas/testsuite/gas/aarch64/tls-debug-bad.d
index fb1af537d95..8491551039c 100644
--- a/gas/testsuite/gas/aarch64/tls-debug-bad.d
+++ b/gas/testsuite/gas/aarch64/tls-debug-bad.d
@@ -1,4 +1,4 @@
 #as:
 #objdump: -r
-#target: aarch64*-*-*
+#target: [is_elf_format]
 #error_output: tls-debug-bad.l
diff --git a/gas/testsuite/gas/aarch64/tls-debug.d b/gas/testsuite/gas/aarch64/tls-debug.d
index 1dd4df17542..aac39234ab6 100644
--- a/gas/testsuite/gas/aarch64/tls-debug.d
+++ b/gas/testsuite/gas/aarch64/tls-debug.d
@@ -1,6 +1,6 @@
 #as:
 #objdump: -r
-#target: aarch64*-*-*
+#target: [is_elf_format]
 
 #...
 RELOCATION RECORDS FOR \[\.debug_info\]: