* ld-scripts/sort.exp: Run for ELF targets only.
+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
# 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]]