aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorGeoff Keating <geoffk@cygnus.com>2000-01-24 20:56:33 +0000
committerGeoffrey Keating <geoffk@gcc.gnu.org>2000-01-24 20:56:33 +0000
commit360f2326ea3d48a37d912b4735d308da3a9ab6eb (patch)
treed6a6f3404f732b0a194faa05ab03e9a6860a76ad /gcc
parent1eb8759b1bc0fd2a74ddbd83db1f01df1a35df69 (diff)
downloadgcc-360f2326ea3d48a37d912b4735d308da3a9ab6eb.zip
gcc-360f2326ea3d48a37d912b4735d308da3a9ab6eb.tar.gz
gcc-360f2326ea3d48a37d912b4735d308da3a9ab6eb.tar.bz2
ecos.exp (gcsec-1.c): Check the version of the ld on the host, not on the build machine.
* gcc.dg/special/ecos.exp (gcsec-1.c): Check the version of the ld on the host, not on the build machine. Also, don't crash if '--help' is not a supported option. From-SVN: r31592
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog6
-rw-r--r--gcc/testsuite/gcc.dg/special/ecos.exp4
2 files changed, 8 insertions, 2 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 2081313..4d1c305 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,9 @@
+2000-01-24 Geoff Keating <geoffk@cygnus.com>
+
+ * gcc.dg/special/ecos.exp (gcsec-1.c): Check the version
+ of the ld on the host, not on the build machine.
+ Also, don't crash if '--help' is not a supported option.
+
2000-01-24 Richard Henderson <rth@cygnus.com>
* gcc.c-torture/execute/ieee/fp-cmp-4.c: New.
diff --git a/gcc/testsuite/gcc.dg/special/ecos.exp b/gcc/testsuite/gcc.dg/special/ecos.exp
index f944de9..a02b209 100644
--- a/gcc/testsuite/gcc.dg/special/ecos.exp
+++ b/gcc/testsuite/gcc.dg/special/ecos.exp
@@ -1,4 +1,4 @@
-# Copyright (C) 1999 Free Software Foundation, Inc.
+# Copyright (C) 1999, 2000 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -134,7 +134,7 @@ if { [ check_weak_available ] == 1 } {
# gcsec-1.c
###########
-set ld_output [ exec [ find_ld ] --help ]
+set ld_output [ remote_exec host "[ find_ld ]" "--help" ]
if { [ string first "--gc-sections" $ld_output ] >= 0 } {