From bb28380e0e9dbe3a381b33dc4ca21974f637cd9f Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Thu, 14 Oct 2004 16:20:47 +0000 Subject: [PATCH] 2004-10-14 H.J. Lu * ld-scripts/sort.exp: Run for ELF targets only. --- ld/testsuite/ChangeLog | 4 ++++ ld/testsuite/ld-scripts/sort.exp | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index f9a8bd54f1..b14a287538 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 af88223d64..5bab1c3b75 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]] -- 2.11.0