diff options
Diffstat (limited to 'binutils-2.25/gas/testsuite/gas/alpha/alpha.exp')
-rw-r--r-- | binutils-2.25/gas/testsuite/gas/alpha/alpha.exp | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/binutils-2.25/gas/testsuite/gas/alpha/alpha.exp b/binutils-2.25/gas/testsuite/gas/alpha/alpha.exp new file mode 100644 index 00000000..06221b2e --- /dev/null +++ b/binutils-2.25/gas/testsuite/gas/alpha/alpha.exp @@ -0,0 +1,48 @@ +# Copyright 2012 +# 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 +# the Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# 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., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. + +# +# Some generic alpha tests +# + +if { [istarget alpha*-*-*] } then { + + set elf [expr [istarget *-*-elf*] \ + || [istarget *-*-linux*] \ + || [istarget *-*-freebsd*] \ + || [istarget *-*-kfreebsd*-gnu] \ + || [istarget *-*-netbsd*] ] + + if $elf { + run_dump_test "elf-reloc-1" + run_list_test "elf-reloc-2" "" + run_list_test "elf-reloc-3" "" + run_dump_test "elf-reloc-4" + run_dump_test "elf-reloc-5" + run_list_test "elf-reloc-6" "" + run_dump_test "elf-reloc-7" + run_dump_test "elf-reloc-8" + run_dump_test "elf-tls-1" + run_list_test "elf-tls-2" "" + run_list_test "elf-tls-3" "" + run_dump_test "elf-usepv-1" + run_list_test "elf-usepv-2" "" + } + + run_dump_test "fp" + run_dump_test "unop" +} |