aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@cygnus>1994-01-28 18:02:43 +0000
committerKen Raeburn <raeburn@cygnus>1994-01-28 18:02:43 +0000
commitf3c6455fda4825a1212e4b808311ad9f94ad17a8 (patch)
tree3d7c192e8beee900ba778ef1eaf5ca1d23eb4adf /ld
parente2f9f0f6393a7c79f3932624feab6033849a36ea (diff)
downloadgdb-f3c6455fda4825a1212e4b808311ad9f94ad17a8.zip
gdb-f3c6455fda4825a1212e4b808311ad9f94ad17a8.tar.gz
gdb-f3c6455fda4825a1212e4b808311ad9f94ad17a8.tar.bz2
* Makefile.in (check): Don't bother running any tests of
cross-linker until the test suite no longer assumes native mode.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog5
-rw-r--r--ld/Makefile.in13
2 files changed, 14 insertions, 4 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index e43ab55..83a3ea8 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,8 @@
+Fri Jan 28 12:58:45 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
+
+ * Makefile.in (check): Don't bother running any tests of
+ cross-linker until the test suite no longer assumes native mode.
+
Thu Jan 27 17:19:54 1994 Steve Chamberlain (sac@jonny.cygnus.com)
* ldlang.c (print_one_symbol, print_input_section): Print
diff --git a/ld/Makefile.in b/ld/Makefile.in
index 7e72a67..c61bcf2 100644
--- a/ld/Makefile.in
+++ b/ld/Makefile.in
@@ -424,10 +424,15 @@ site.exp: ./config.status Makefile
-@rm -f ./tmp?
check: ld.new site.exp
- $(RUNTEST) --tool ld \
- --srcdir $(srcdir)/testsuite $(RUNTESTFLAGS) \
- CC="$(RUNTEST_CC)" CFLAGS="$(RUNTEST_CFLAGS)" \
- CXX="$(RUNTEST_CXX)" CXXFLAGS="$(RUNTEST_CXXFLAGS)"
+ @if [ $(host_canonical) = $(target_canonical) ]; then \
+ $(RUNTEST) --tool ld \
+ --srcdir $(srcdir)/testsuite $(RUNTESTFLAGS) \
+ CC="$(RUNTEST_CC)" CFLAGS="$(RUNTEST_CFLAGS)" \
+ CXX="$(RUNTEST_CXX)" CXXFLAGS="$(RUNTEST_CXXFLAGS)" ;\
+ if [ $$? != 0 ]; then exit 1; else true; fi ;\
+ else \
+ echo No cross-linker tests yet. ;\
+ fi
installcheck:
.PHONY: check installcheck