aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2009-09-28 12:40:58 +0000
committerNick Clifton <nickc@redhat.com>2009-09-28 12:40:58 +0000
commita69dcc759a545d7e95ccf79aba60ea5528a3228d (patch)
tree1ab70a0b93c72c4800e8871229792b7be07e844b
parent4be3efa9c573de9c95dab8d2124b726622908859 (diff)
downloadgdb-a69dcc759a545d7e95ccf79aba60ea5528a3228d.zip
gdb-a69dcc759a545d7e95ccf79aba60ea5528a3228d.tar.gz
gdb-a69dcc759a545d7e95ccf79aba60ea5528a3228d.tar.bz2
* ld-mips-elf/mips-elf.exp: Only run attribute tests on Linux
targets.
-rw-r--r--ld/testsuite/ChangeLog5
-rw-r--r--ld/testsuite/ld-mips-elf/mips-elf.exp5
2 files changed, 10 insertions, 0 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index 84d1846..04a84da 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2009-09-28 Nick Clifton <nickc@redhat.com>
+
+ * ld-mips-elf/mips-elf.exp: Only run attribute tests on Linux
+ targets.
+
2009-09-23 Jie Zhang <jie.zhang@analog.com>
* ld-srec/srec.exp: Add xfails for bfin-*-linux-uclibc.
diff --git a/ld/testsuite/ld-mips-elf/mips-elf.exp b/ld/testsuite/ld-mips-elf/mips-elf.exp
index bd06d20..42feb1f 100644
--- a/ld/testsuite/ld-mips-elf/mips-elf.exp
+++ b/ld/testsuite/ld-mips-elf/mips-elf.exp
@@ -466,6 +466,11 @@ run_ld_link_tests $mips16_intermix_test
run_dump_test "mips16-local-stubs-1"
+# The elf32btsmip target is only supported on linux and netbsd style targets.
+if {! [istarget "mips*-*-*linux"] } {
+ return
+}
+
run_dump_test "attr-gnu-4-00"
run_dump_test "attr-gnu-4-01"
run_dump_test "attr-gnu-4-02"