aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@linux-mips.org>2013-02-13 17:09:09 +0000
committerMaciej W. Rozycki <macro@linux-mips.org>2013-02-13 17:09:09 +0000
commit5417f71edbd69e9ff55516239c6609dd8a0debfa (patch)
treed2e950c2143f5a905fb725e86eb24cd948610136 /binutils/testsuite/binutils-all/mips/mips.exp
parentFix typo: amd64 -> i386. (diff)
downloadbinutils-gdb-5417f71edbd69e9ff55516239c6609dd8a0debfa.tar.gz
binutils-gdb-5417f71edbd69e9ff55516239c6609dd8a0debfa.tar.bz2
binutils-gdb-5417f71edbd69e9ff55516239c6609dd8a0debfa.zip
opcodes/
* mips-dis.c (is_compressed_mode_p): Only match symbols from the section disassembled. binutils/testsuite/ * binutils-all/mips/mixed-micromips.d: New test. * binutils-all/mips/mixed-mips16.d: New test. * binutils-all/mips/mixed-micromips.s: New test source. * binutils-all/mips/mixed-mips16.s: New test source. * binutils-all/mips/mips.exp: New file.
Diffstat (limited to 'binutils/testsuite/binutils-all/mips/mips.exp')
-rw-r--r--binutils/testsuite/binutils-all/mips/mips.exp26
1 files changed, 26 insertions, 0 deletions
diff --git a/binutils/testsuite/binutils-all/mips/mips.exp b/binutils/testsuite/binutils-all/mips/mips.exp
new file mode 100644
index 00000000000..eba8868084f
--- /dev/null
+++ b/binutils/testsuite/binutils-all/mips/mips.exp
@@ -0,0 +1,26 @@
+# Copyright 2013
+# 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.
+
+if ![istarget mips*-*-*] {
+ return
+}
+
+if [is_elf_format] {
+ run_dump_test "mixed-mips16"
+ run_dump_test "mixed-micromips"
+}