From d3451fe888d9a6c8799d8b77195f354812cf5d29 Mon Sep 17 00:00:00 2001 From: "K. Richard Pixley" Date: Sat, 2 May 1992 01:19:02 +0000 Subject: [PATCH] use bootstrap for check --- ld/ChangeLog | 6 ++++++ ld/Makefile.in | 2 +- ld/config/sparc.mh | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ld/ChangeLog b/ld/ChangeLog index d51e664d478..174cb2d4ffb 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,9 @@ +Fri May 1 18:17:52 1992 K. Richard Pixley (rich@cygnus.com) + + * config/sparc.mh: use ../gcc/libgcc.a on check if it exists. + + * Makefile.in: use bootstrap for check. + Fri May 1 13:03:41 1992 Steve Chamberlain (sac@thepub.cygnus.com) * ldlex.l, ldlang.c, ldctor.c: lint diff --git a/ld/Makefile.in b/ld/Makefile.in index d320ec5cb7f..9db6ea64d28 100644 --- a/ld/Makefile.in +++ b/ld/Makefile.in @@ -140,7 +140,7 @@ STAGESTUFF = *.x *.x[runN] *.sc[runN] $(GENERATED_SOURCES) $(GENERATED_HEADERS) all: Makefile $(LD_PROG) -check: +check: bootstrap info: ld.info ldgram.h ldgram.c: ldgram.y diff --git a/ld/config/sparc.mh b/ld/config/sparc.mh index 260bbe1a1d5..4e7f4a081f6 100755 --- a/ld/config/sparc.mh +++ b/ld/config/sparc.mh @@ -2,6 +2,6 @@ YACC=yacc -tvd #CC=gcc -Wall -ansi #stuff for self hosting HOSTING_CRT0=/lib/crt0.o -HOSTING_LIBS=/usr/latest/lib/gcc/sun4/libgcc.a -lc +HOSTING_LIBS=`if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else echo /usr/latest/lib/gcc/sun4/libgcc.a; fi` -lc HOSTING_EMU=LDEMULATION=sun4; export LDEMULATION -- 2.30.2