[PATCH] de-Linuxification

Thomas Schwinge thomas@schwinge.name
Wed Feb 15 23:03:00 GMT 2012


From: Thomas Schwinge <thomas@schwinge.name>

ld/testsuite/

	* ld-elf/comm-data.exp: Do not return for GNU systems.

---
 ld/testsuite/ld-elf/comm-data.exp |    7 ++++---
 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
 }
 
-- 
tg: (fe30cfd..) t/de-Linuxification (depends on: baseline)



More information about the Binutils mailing list