aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-scripts/sort.exp
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-scripts/sort.exp')
-rw-r--r--ld/testsuite/ld-scripts/sort.exp5
1 files changed, 5 insertions, 0 deletions
diff --git a/ld/testsuite/ld-scripts/sort.exp b/ld/testsuite/ld-scripts/sort.exp
index af88223..5bab1c3 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]]