MIPS/BFD: Correctly report unsupported `.reginfo' section size
[deliverable/binutils-gdb.git] / binutils / testsuite / binutils-all / mips / mips.exp
CommitLineData
219d1afa 1# Copyright (C) 2013-2018 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
dd47d677 18if {![istarget mips*-*-*] || ![is_elf_format]} {
5417f71e
MR
19 return
20}
21
40e5240e
MR
22if [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
e5713223
MR
30set has_newabi [expr [istarget *-*-irix6*] \
31 || [istarget mips*-*-linux*] \
32 || [istarget mips*-sde-elf*] \
33 || [istarget mips*-mti-elf*] \
34 || [istarget mips*-img-elf*]]
35
dd47d677
MR
36run_dump_test "mips-ase-1"
37run_dump_test "mips-ase-2"
38run_dump_test "mips-ase-3"
9785fc2a
MR
39run_dump_test "mips-xpa-virt-1"
40run_dump_test "mips-xpa-virt-2"
41run_dump_test "mips-xpa-virt-3"
42run_dump_test "mips-xpa-virt-4"
dd47d677
MR
43run_dump_test "mixed-mips16"
44run_dump_test "mixed-micromips"
45run_dump_test "mixed-mips16-micromips"
46run_dump_test "mips16-undecoded"
47run_dump_test "mips16e2-undecoded"
48run_dump_test "mips16-pcrel"
49run_dump_test "mips16-extend-noinsn"
50run_dump_test "mips16-extend-insn"
51run_dump_test "mips16e2-extend-insn"
52run_dump_test "mips16-alias"
53run_dump_test "mips16-noalias"
e5713223
MR
54
55run_dump_test "mips-note-2"
56run_dump_test "mips-note-2r"
57if $has_newabi {
58 run_dump_test "mips-note-2-n32"
59 run_dump_test "mips-note-2-n64"
60 run_dump_test "mips-note-2r-n32"
61 run_dump_test "mips-note-2r-n64"
62}
2d6dda71
MR
63
64run_dump_test "mips-reginfo"
65if $has_newabi {
66 run_dump_test "mips-reginfo-n32"
67}
This page took 0.224822 seconds and 4 git commands to generate.