-# Copyright (C) 1995, 1996, 1997, 2002, 2003 Free Software Foundation, Inc.
+# Copyright (C) 1995, 1996, 1997, 2002, 2003, 2004
+# 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
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
# Please email any bugs, comments, and/or additions to this file to:
# dejagnu@gnu.org
# Written by Cygnus Support.
-if [istarget "sh*-*-linux-gnu"] {
+if [istarget "sh*-*-linux-*"] {
global ASFLAGS
set ASFLAGS "$ASFLAGS -big"
}
# dumped as sh4.
if {[istarget sh*-*coff] || [istarget sh*-pe*] || [istarget sh*-rtems]} 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"
}
if {[istarget sh*-*elf] || [istarget sh*-linux*]} then {
- run_dump_test "sh4a"
- run_dump_test "sh4a-fp"
+ if {![istarget "sh64*-*-*"] && ![istarget "sh5*-*-*"]} 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 "pic"
run_dump_test "tlspic"
run_dump_test "tlsnopic"
+
+ # Test --renesas.
+ run_dump_test "renesas-1"
+
+ # Test --allow-reg-prefix.
+ run_dump_test "reg-prefix"
}
}