From: H.J. Lu Date: Thu, 14 Oct 2004 16:20:47 +0000 (+0000) Subject: 2004-10-14 H.J. Lu X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e0255be8fccea5f3911f5f1b1942cb04c723ba12;p=binutils-gdb.git 2004-10-14 H.J. Lu * ld-scripts/sort.exp: Run for ELF targets only. --- diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index f9a8bd54f16..b14a287538a 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2004-10-14 H.J. Lu + + * ld-scripts/sort.exp: Run for ELF targets only. + 2004-10-14 Alan Modra * ld-scripts/overlay-size.d: Update for changed orphan section diff --git a/ld/testsuite/ld-scripts/sort.exp b/ld/testsuite/ld-scripts/sort.exp index af88223d647..5bab1c3b756 100644 --- a/ld/testsuite/ld-scripts/sort.exp +++ b/ld/testsuite/ld-scripts/sort.exp @@ -17,6 +17,11 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# FIXME: The expected outputs are correct only for ELF. +if ![is_elf_format] { + return +} + load_lib ld-lib.exp set sort_test_list [lsort [glob -nocomplain $srcdir/$subdir/sort*.d]]