aarch64-pe fails of tls-debug tests

Alan Modra <[email protected]>
Newsgroups gmane.comp.gnu.binutils
Message-ID <[email protected]>
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 --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\]:

-- 
Alan Modra
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.