# Expect script for ld discard tests
-# Copyright 2001, 2002, 2005, 2007, 2010 Free Software Foundation, Inc.
+# Copyright (C) 2001-2020 Free Software Foundation, Inc.
#
# This file is part of the GNU Binutils.
#
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]]