]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gas/testsuite/gas/sh/basic.exp
Update year range in copyright notice of binutils files
[thirdparty/binutils-gdb.git] / gas / testsuite / gas / sh / basic.exp
index 3bb7931d1f2c438d50ec8ddf745e81bf1c2ec327..bd31bc2779433631d0ef2574deb5c933624d44cc 100644 (file)
@@ -1,5 +1,4 @@
-# Copyright (C) 1995, 1996, 1997, 2002, 2003, 2004, 2005, 2006, 2007, 2009
-# Free Software Foundation, Inc.
+# Copyright (C) 1995-2021 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -24,12 +23,6 @@ if {[istarget "sh*-*-linux-*"] || [istarget "sh*l*-*-netbsdelf*"]} then {
     global ASFLAGS
     set ASFLAGS "$ASFLAGS -big"
 }
-if {[istarget "sh64*-*-*"] || [istarget "sh5*-*-*"]} then {
-    global ASFLAGS
-
-    set old_ASFLAGS $ASFLAGS
-    set ASFLAGS "$ASFLAGS --abi=32 --isa=SHcompact"
-}
 
 proc do_fp {} {
     set testname "fp.s: floating point tests (sh3e)"
@@ -133,7 +126,6 @@ if [istarget sh*-*-*] then {
        run_dump_test "pcrel-coff"
     } elseif {[istarget sh*-hms] } {
        run_dump_test "pcrel-hms"
-    } elseif {![istarget sh64*-*-*] && ![istarget sh5*-*-*] } {
        # Test DSP instructions
        run_dump_test "dsp"
 
@@ -142,18 +134,18 @@ if [istarget sh*-*-*] then {
        run_dump_test "pcrel2"
     }
 
-    if {[istarget sh*-*elf] || [istarget sh*-linux*]} then {
-       if {![istarget "sh64*-*-*"] && ![istarget "sh5*-*-*"]} then {
-           run_dump_test "sh4a"
-           run_dump_test "sh4a-fp"
+    if {[istarget sh*-*elf] || [istarget sh*-*linux*]} then {
+       run_dump_test "sh4a"
+       run_dump_test "sh4a-fp"
 
-           run_dump_test "sh4a-dsp"
-           run_dump_test "sh4al-dsp"
+       run_dump_test "sh4a-dsp"
+       run_dump_test "sh4al-dsp"
 
-           run_dump_test "sh2a"
-       }
+       run_dump_test "sh2a"
+       run_dump_test "sh2a-pic"
 
        run_dump_test "pic"
+       run_dump_test "fdpic"
 
        # Test TLS.
        run_dump_test "tlsd"