# Expect script for ld discard tests
-# Copyright 2001, 2002, 2005, 2007 Free Software Foundation, Inc.
+# Copyright (C) 2001-2019 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 arm*-*-uclinuxfdpiceabi]
&& ![istarget *-*-elf] } {
return
}
-if { [istarget *-*-linux*aout*] \
- || [istarget *-*-linux*oldld*] } {
- return
-}
-
load_lib ld-lib.exp
set test_list [lsort [glob -nocomplain $srcdir/$subdir/*.d]]