aboutsummaryrefslogtreecommitdiff
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
parent1255680ef5a75124465df65433be36bbc0f32dd3 (diff)
downloadgdb-fbe2ec189e66302995b66836623c5ae4134aaba7.zip
gdb-fbe2ec189e66302995b66836623c5ae4134aaba7.tar.gz
gdb-fbe2ec189e66302995b66836623c5ae4134aaba7.tar.bz2
* ld-elf/comm-data.exp: Run for *-*-gnu*.
-rw-r--r--ld/testsuite/ChangeLog4
-rw-r--r--ld/testsuite/ld-elf/comm-data.exp7
2 files changed, 8 insertions, 3 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index dce4b72..260a201 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2012-02-20 Thomas Schwinge <thomas@schwinge.name>
+
+ * ld-elf/comm-data.exp: Run for *-*-gnu*.
+
2012-02-14 Alan Modra <amodra@gmail.com>
* ld-elf/linkoncerdiff.d: Don't run for hppa64-hpux.
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
}