Commit | Line | Data |
---|---|---|
2571583a | 1 | # Copyright (C) 2013-2017 Free Software Foundation, Inc. |
5417f71e MR |
2 | |
3 | # This program is free software; you can redistribute it and/or modify | |
4 | # it under the terms of the GNU General Public License as published by | |
5 | # the Free Software Foundation; either version 3 of the License, or | |
6 | # (at your option) any later version. | |
7 | # | |
8 | # This program is distributed in the hope that it will be useful, | |
9 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
10 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
11 | # GNU General Public License for more details. | |
12 | # | |
13 | # You should have received a copy of the GNU General Public License | |
14 | # along with this program; if not, write to the Free Software | |
15 | # Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, | |
16 | # MA 02110-1301, USA. | |
17 | ||
18 | if ![istarget mips*-*-*] { | |
19 | return | |
20 | } | |
21 | ||
40e5240e MR |
22 | if [is_remote host] { |
23 | set tempfile [remote_download host tmpdir/bintest.o] | |
24 | set copyfile copy | |
25 | } else { | |
26 | set tempfile tmpdir/bintest.o | |
27 | set copyfile tmpdir/copy | |
28 | } | |
29 | ||
5417f71e | 30 | if [is_elf_format] { |
5e7fc731 MR |
31 | run_dump_test "mips-ase-1" |
32 | run_dump_test "mips-ase-2" | |
33 | run_dump_test "mips-ase-3" | |
5417f71e MR |
34 | run_dump_test "mixed-mips16" |
35 | run_dump_test "mixed-micromips" | |
1401d2fe | 36 | run_dump_test "mixed-mips16-micromips" |
92708cec | 37 | run_dump_test "mips16-undecoded" |
860b03a8 | 38 | run_dump_test "mips16-pcrel" |
55af4784 | 39 | run_dump_test "mips16-extend-noinsn" |
0674ee5d | 40 | run_dump_test "mips16-extend-insn" |
6e3d1f07 MR |
41 | run_dump_test "mips16-alias" |
42 | run_dump_test "mips16-noalias" | |
5417f71e | 43 | } |