Passing -L. is no longer necessary.
authorDavid MacKenzie <djm@cygnus>
Sat, 3 Jul 1993 02:23:22 +0000 (02:23 +0000)
committerDavid MacKenzie <djm@cygnus>
Sat, 3 Jul 1993 02:23:22 +0000 (02:23 +0000)
ld/ChangeLog
ld/Makefile.in

index 8c4857f2476d5c387f0d9a7281af206a38067fe0..adf4faf18fa14fffc0393b37dfbc47e1587b5ac0 100644 (file)
@@ -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
index 6c0b5c0163807abafd6582937d75adcbe422b870..fd1aaedda138ea7b418a61767f44d021599a0fe0 100644 (file)
@@ -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