2004-10-14 H.J. Lu <hongjiu.lu@intel.com>
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 14 Oct 2004 16:20:47 +0000 (16:20 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 14 Oct 2004 16:20:47 +0000 (16:20 +0000)
* ld-scripts/sort.exp: Run for ELF targets only.

ld/testsuite/ChangeLog
ld/testsuite/ld-scripts/sort.exp

index f9a8bd5..b14a287 100644 (file)
@@ -1,3 +1,7 @@
+2004-10-14  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * ld-scripts/sort.exp: Run for ELF targets only.
+
 2004-10-14  Alan Modra  <amodra@bigpond.net.au>
 
        * ld-scripts/overlay-size.d: Update for changed orphan section
index af88223..5bab1c3 100644 (file)
 # 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]]