diff options
Diffstat (limited to 'ld/testsuite/ld-elf/binutils.exp')
-rw-r--r-- | ld/testsuite/ld-elf/binutils.exp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/ld/testsuite/ld-elf/binutils.exp b/ld/testsuite/ld-elf/binutils.exp index 382d50f..4d91105 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, 2010 Free Software Foundation, Inc. +# Copyright 2006, 2007, 2008, 2009, 2010, 2012 Free Software Foundation, Inc. # # This file is part of the GNU Binutils. # @@ -24,6 +24,7 @@ # Make sure that binutils can correctly handle ld output in ELF. if { ![istarget *-*-linux*] + && ![istarget *-*-nacl*] && ![istarget *-*-gnu*]} { return } @@ -109,13 +110,15 @@ binutils_test strip "-z relro" relro1 binutils_test strip "-z relro -shared" relro1 binutils_test objcopy "-z relro" relro1 binutils_test objcopy "-z relro -shared" relro1 -if { ([istarget "i?86-*-elf*"] +if { ([istarget "i?86-*-elf*"] || (([istarget "i?86-*-linux*"] || [istarget "i?86-*-gnu*"]) && ![istarget "*-*-*aout*"] && ![istarget "*-*-*oldld*"]) || [istarget "x86_64-*-linux*"] - || [istarget "amd64-*-linux*"]) } { + || [istarget "amd64-*-linux*"] + || [istarget "i?86-*nacl*"] + || [istarget "x86_64-*nacl*"]) } { binutils_test strip "-z relro -shared" relro2 binutils_test objcopy "-z relro -shared" relro2 } |