aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/comm-data.exp
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2012-02-20 01:51:52 +0000
committerAlan Modra <amodra@gmail.com>2012-02-20 01:51:52 +0000
commitfbe2ec189e66302995b66836623c5ae4134aaba7 (patch)
treebf38909aaf63c622fa6e3832017aa5493616b9e4 /ld/testsuite/ld-elf/comm-data.exp
parent1255680ef5a75124465df65433be36bbc0f32dd3 (diff)
downloadgdb-fbe2ec189e66302995b66836623c5ae4134aaba7.zip
gdb-fbe2ec189e66302995b66836623c5ae4134aaba7.tar.gz
gdb-fbe2ec189e66302995b66836623c5ae4134aaba7.tar.bz2
* ld-elf/comm-data.exp: Run for *-*-gnu*.
Diffstat (limited to 'ld/testsuite/ld-elf/comm-data.exp')
-rw-r--r--ld/testsuite/ld-elf/comm-data.exp7
1 files changed, 4 insertions, 3 deletions
diff --git a/ld/testsuite/ld-elf/comm-data.exp b/ld/testsuite/ld-elf/comm-data.exp
index 86e95d1..3bc8484 100644
--- a/ld/testsuite/ld-elf/comm-data.exp
+++ b/ld/testsuite/ld-elf/comm-data.exp
@@ -1,6 +1,6 @@
# Expect script for common symbol override.
#
-# Copyright 2011 Free Software Foundation, Inc.
+# Copyright 2011, 2012 Free Software Foundation, Inc.
#
# This file is part of the GNU Binutils.
#
@@ -29,9 +29,10 @@ if ![is_elf_format] {
return
}
-# Exclude non-Linux targets; feel free to include your favorite one
+# Exclude some more targets; feel free to include your favorite one
# if you like.
-if ![istarget *-*-linux*] {
+if { ![istarget *-*-linux*]
+ && ![istarget *-*-gnu*] } {
return
}