aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorJens Remus <jremus@linux.ibm.com>2024-03-01 12:45:14 +0100
committerJens Remus <jremus@linux.ibm.com>2024-03-01 12:45:14 +0100
commit566d4098fde1fd80bfff65ee1d9c45f63d6fd85e (patch)
tree5c1f3125dab1780ad2b648a11d565b561535829f /gas
parent9c021aef485a27ad32974a69e9cb042baef2fe0c (diff)
downloadgdb-566d4098fde1fd80bfff65ee1d9c45f63d6fd85e.zip
gdb-566d4098fde1fd80bfff65ee1d9c45f63d6fd85e.tar.gz
gdb-566d4098fde1fd80bfff65ee1d9c45f63d6fd85e.tar.bz2
s390: Assemble processor specific test cases for their processor
Assemble the esa-g5 test case with -march=g5. Assemble the zarch-z900 test case with -march=z900. gas/ * testsuite/gas/s390/s390.exp: Assemble processor specific test cases for their respective processor (-march=<processor>). Reviewed-by: Andreas Krebbel <krebbel@linux.ibm.com> Signed-off-by: Jens Remus <jremus@linux.ibm.com>
Diffstat (limited to 'gas')
-rw-r--r--gas/testsuite/gas/s390/s390.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gas/testsuite/gas/s390/s390.exp b/gas/testsuite/gas/s390/s390.exp
index b63c09e..ddba9f9 100644
--- a/gas/testsuite/gas/s390/s390.exp
+++ b/gas/testsuite/gas/s390/s390.exp
@@ -6,7 +6,7 @@ if [expr [istarget "s390-*-*"] || [istarget "s390x-*-*"]] then {
# s390x-ibm-tpf target does not support a 32-bit target.
if { ! [istarget "s390x-*-tpf*"] } then {
- run_dump_test "esa-g5" "{as -m31}"
+ run_dump_test "esa-g5" "{as -m31} {as -march=g5}"
run_dump_test "esa-z900" "{as -m31} {as -march=z900}"
run_dump_test "esa-z990" "{as -m31} {as -march=z990}"
run_dump_test "esa-z9-109" "{as -m31} {as -march=z9-109}"
@@ -29,7 +29,7 @@ if [expr [istarget "s390-*-*"] || [istarget "s390x-*-*"]] then {
# run_dump_test "s390pic"
# }
- run_dump_test "zarch-z900" "{as -m64}"
+ run_dump_test "zarch-z900" "{as -m64} {as -march=z900}"
run_list_test "zarch-z900-err" "-march=z900"
run_dump_test "zarch-z990" "{as -m64} {as -march=z990}"
run_list_test "zarch-z990-symbol-lay" "-m64 -march=z990"