aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorK. Richard Pixley <rich@cygnus>1992-05-02 01:19:02 +0000
committerK. Richard Pixley <rich@cygnus>1992-05-02 01:19:02 +0000
commitd3451fe888d9a6c8799d8b77195f354812cf5d29 (patch)
treec851883643045b89221aef22b6e70d4f445e100d /ld
parent7d6cc102a2de1fd6864ce093ababb7a0e13dbafb (diff)
downloadgdb-d3451fe888d9a6c8799d8b77195f354812cf5d29.zip
gdb-d3451fe888d9a6c8799d8b77195f354812cf5d29.tar.gz
gdb-d3451fe888d9a6c8799d8b77195f354812cf5d29.tar.bz2
use bootstrap for check
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog6
-rw-r--r--ld/Makefile.in2
-rwxr-xr-xld/config/sparc.mh2
3 files changed, 8 insertions, 2 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index d51e664..174cb2d 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 d320ec5..9db6ea6 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 260bbe1..4e7f4a0 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