[1/2] s390: Enable .bss/.struct data allocation directives tests

Message ID 20241129141149.3770469-2-jremus@linux.ibm.com
State New
Headers
Series gas: Testsuite enhancements |

Checks

Context Check Description
linaro-tcwg-bot/tcwg_binutils_build--master-arm success Build passed
linaro-tcwg-bot/tcwg_binutils_build--master-aarch64 success Build passed
linaro-tcwg-bot/tcwg_binutils_check--master-aarch64 success Test passed
linaro-tcwg-bot/tcwg_binutils_check--master-arm success Test passed

Commit Message

Jens Remus Nov. 29, 2024, 2:11 p.m. UTC
  This reduces the number of unsupported tests on s390 by two.

gas/testsuite/
	* gas/elf/bss.d: Enable for s390*-*-*.
	* gas/elf/bad-bss.d: Likewise.

Signed-off-by: Jens Remus <jremus@linux.ibm.com>
---
 gas/testsuite/gas/elf/bad-bss.d | 2 +-
 gas/testsuite/gas/elf/bss.d     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
  

Patch

diff --git a/gas/testsuite/gas/elf/bad-bss.d b/gas/testsuite/gas/elf/bad-bss.d
index 427faf5f03e8..645decf5359f 100644
--- a/gas/testsuite/gas/elf/bad-bss.d
+++ b/gas/testsuite/gas/elf/bad-bss.d
@@ -2,4 +2,4 @@ 
 #source: bss.s
 #error_output: bad-bss.err
 #notarget: arm*-*-elf arm*-*-nto*
-#target: i?86-*-* x86_64-*-* ia64-*-* arm-*-* aarch64-*-* kvx-*-*
+#target: i?86-*-* x86_64-*-* ia64-*-* arm-*-* aarch64-*-* kvx-*-* s390*-*-*
diff --git a/gas/testsuite/gas/elf/bss.d b/gas/testsuite/gas/elf/bss.d
index 7edba655b9cd..da1d33600dd0 100644
--- a/gas/testsuite/gas/elf/bss.d
+++ b/gas/testsuite/gas/elf/bss.d
@@ -2,7 +2,7 @@ 
 #as: --defsym okay=1
 #warning: Warning: zero assumed
 #readelf: -sSW
-#target: i?86-*-* x86_64-*-* ia64-*-* arm-*-* aarch64-*-* kvx-*-*
+#target: i?86-*-* x86_64-*-* ia64-*-* arm-*-* aarch64-*-* kvx-*-* s390*-*-*
 
 There are [1-9][0-9]* section headers, starting at offset 0x[0-9a-f]*: