bfd/
[deliverable/binutils-gdb.git] / ld / testsuite / ld-elf / binutils.exp
index 382d50fa38aabf2da3a7d719531ad8232c3279ab..4d91105cb2e72fb55712c7dd67f860bfc4e2c6ed 100644 (file)
@@ -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
 }
This page took 0.027984 seconds and 4 git commands to generate.