# Expect script for ld discard tests
-# Copyright 2001, 2002, 2005, 2007 Free Software Foundation, Inc.
+# Copyright 2001, 2002, 2005, 2007, 2010, 2012 Free Software Foundation, Inc.
#
# This file is part of the GNU Binutils.
#
# Test for ELF here, so we don't have to qualify on ELF specifically
# in every .d-file.
-if { ![istarget *-*-linux*] \
- && ![istarget *-*-gnu] \
- && ![istarget hppa*64*-*-hpux*] \
+if { ![istarget *-*-linux*]
+ && ![istarget *-*-gnu*]
+ && ![istarget *-*-nacl*]
+ && ![istarget hppa*64*-*-hpux*]
&& ![istarget *-*-elf] } {
return
}
-if { [istarget *-*-linux*aout*] \
+if { [istarget *-*-linux*aout*]
|| [istarget *-*-linux*oldld*] } {
return
}