From: David MacKenzie Date: Sat, 3 Jul 1993 02:23:22 +0000 (+0000) Subject: Passing -L. is no longer necessary. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a04f1d001ec71df71633e85fbeca9354a7014bf1;p=binutils-gdb.git Passing -L. is no longer necessary. --- diff --git a/ld/ChangeLog b/ld/ChangeLog index 8c4857f2476..adf4faf18fa 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -5,7 +5,7 @@ Fri Jul 2 18:06:05 1993 David J. Mackenzie (djm@thepub.cygnus.com) * configure.in (ldscripts): Make, instead of emulations. * Makefile.in (scriptdir): Take off the "ld" part. (install, clean, distclean): Use ldscripts, not emulations. - In tests, pass -L., not -Lemulations. + In tests, don't pass -Lemulations. Don't pass tooldir/lib to genscripts.sh. * genscripts.sh: Don't take tooldir/lib arg. * ldlang.c (lang_process): Add "ldscripts/" to the name of the diff --git a/ld/Makefile.in b/ld/Makefile.in index 6c0b5c01638..fd1aaedda13 100644 --- a/ld/Makefile.in +++ b/ld/Makefile.in @@ -312,18 +312,18 @@ installcheck: # Rules for testing by relinking ld itself. ld-partial.o: ld.new - ./ld.new -L. $(HOSTING_EMU) -o ld-partial.o -r $(OFILES) + ./ld.new $(HOSTING_EMU) -o ld-partial.o -r $(OFILES) ld1: ld-partial.o - ./ld.new -L. $(HOSTING_EMU) -o ld1 $(HOSTING_CRT0) ld-partial.o $(BFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) + ./ld.new $(HOSTING_EMU) -o ld1 $(HOSTING_CRT0) ld-partial.o $(BFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) ld1-full: ld.new - ./ld.new -L. $(HOSTING_EMU) -o ld1-full $(HOSTING_CRT0) $(OFILES) $(BFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) + ./ld.new $(HOSTING_EMU) -o ld1-full $(HOSTING_CRT0) $(OFILES) $(BFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) ld2: ld1 - ./ld1 -L. $(HOSTING_EMU) -o ld2 $(HOSTING_CRT0) $(OFILES) $(BFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) + ./ld1 $(HOSTING_EMU) -o ld2 $(HOSTING_CRT0) $(OFILES) $(BFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) ld3: ld2 - ./ld2 -L. $(HOSTING_EMU) -o ld3 $(HOSTING_CRT0) $(OFILES) $(BFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) + ./ld2 $(HOSTING_EMU) -o ld3 $(HOSTING_CRT0) $(OFILES) $(BFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) bootstrap: ld3 cmp ld2 ld3 @@ -331,7 +331,7 @@ bootstrap: ld3 # A test program for C++ constructors and destructors. cdtest: cdtest-main.o cdtest-func.o cdtest-foo.o ld.new - ./ld.new -L. $(HOSTING_EMU) -o cdtest $(HOSTING_CRT0) \ + ./ld.new $(HOSTING_EMU) -o cdtest $(HOSTING_CRT0) \ cdtest-main.o cdtest-func.o cdtest-foo.o $(HOSTING_LIBS) check-cdtest: cdtest $(srcdir)/cdtest.exp