aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1993-01-28 23:13:32 +0000
committerIan Lance Taylor <ian@airs.com>1993-01-28 23:13:32 +0000
commitaf6237a4a87707eb41c9e23b0da0f3a7d2aeb429 (patch)
tree55b61ddd0ec91df5ce5b72083844cbfea1487bde /ld
parent41a882343acae65e846a5b6ce7ec2125eca4a7bf (diff)
downloadgdb-af6237a4a87707eb41c9e23b0da0f3a7d2aeb429.zip
gdb-af6237a4a87707eb41c9e23b0da0f3a7d2aeb429.tar.gz
gdb-af6237a4a87707eb41c9e23b0da0f3a7d2aeb429.tar.bz2
Thu Jan 28 15:12:04 1993 Ian Lance Taylor (ian@cygnus.com)
* Makefile.in (install): Remove $(tooldir)/bin/gld before creating the link to it.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog5
-rw-r--r--ld/Makefile.in1
2 files changed, 6 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 5bd9585..1e7218c 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,8 @@
+Thu Jan 28 15:12:04 1993 Ian Lance Taylor (ian@cygnus.com)
+
+ * Makefile.in (install): Remove $(tooldir)/bin/gld before creating
+ the link to it.
+
Tue Jan 26 11:49:50 1993 Ian Lance Taylor (ian@cygnus.com)
* ldmain.c, ldsym.c: Use new bfd_is_com_section macro rather than
diff --git a/ld/Makefile.in b/ld/Makefile.in
index 4c4ccb4..9c1328e 100644
--- a/ld/Makefile.in
+++ b/ld/Makefile.in
@@ -489,6 +489,7 @@ install: $(LD_PROG)
rm -f $(tooldir)/bin/ld; \
ln $(bindir)/$$n $(tooldir)/bin/ld \
|| $(INSTALL_PROGRAM) ld.new $(tooldir)/bin/ld; \
+ rm -f $(tooldir)/bin/gld; \
ln $(tooldir)/bin/ld $(tooldir)/bin/gld; \
else true; fi