diff options
Diffstat (limited to 'ld/testsuite/ld-elf/binutils.exp')
-rw-r--r-- | ld/testsuite/ld-elf/binutils.exp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/ld/testsuite/ld-elf/binutils.exp b/ld/testsuite/ld-elf/binutils.exp index 422c5d7..4f8a6fb 100644 --- a/ld/testsuite/ld-elf/binutils.exp +++ b/ld/testsuite/ld-elf/binutils.exp @@ -1,5 +1,5 @@ # Expect script for binutils tests -# Copyright 2006, 2007, 2008, 2009 Free Software Foundation, Inc. +# Copyright 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. # # This file is part of the GNU Binutils. # @@ -23,8 +23,8 @@ # Make sure that binutils can correctly handle ld output in ELF. -# Run on Linux only. -if { ![istarget *-*-linux*] } { +if { ![istarget *-*-linux*] + && ![istarget *-*-gnu*]} { return } @@ -112,6 +112,7 @@ if { ([istarget "i?86-*-elf*"] || ([istarget "i?86-*-linux*"] && ![istarget "*-*-*aout*"] && ![istarget "*-*-*oldld*"]) + || [istarget "i?86-*-gnu*"] || [istarget "x86_64-*-linux*"] || [istarget "amd64-*-linux*"]) } { binutils_test strip "-z relro -shared" relro2 |