* Makerules (shlib.lds): Make sure that ld doesn't try to link
authorRoland McGrath <roland@gnu.org>
Sat, 1 Nov 2003 00:36:04 +0000 (00:36 +0000)
committerRoland McGrath <roland@gnu.org>
Sat, 1 Nov 2003 00:36:04 +0000 (00:36 +0000)
anything while generating the linker script.

ChangeLog
Makerules

index 3d1c05f6babde58a2a0d1f06697f5d588a0c740f..1842eb5de1ca38f23ad0961971e59b98bc763a7c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2003-09-26  Daniel Jacobowitz  <drow@mvista.com>
+
+       * Makerules (shlib.lds): Make sure that ld doesn't try to link
+       anything while generating the linker script.
+
 2003-10-31  Roland McGrath  <roland@redhat.com>
 
        * locale/lc-ctype.c (_nl_postload_ctype): Update _nl_global_locale's
index 500d1af024682dbcf296fd6517789d9029eeade8..d1bef8c98366b57b9da179369ca31fd1502e7aed 100644 (file)
--- a/Makerules
+++ b/Makerules
@@ -479,6 +479,7 @@ ifeq (yes,$(elf))
 # not for shared objects
 $(common-objpfx)shlib.lds: $(common-objpfx)config.make $(..)Makerules
        $(LINK.o) -shared -Wl,-O1 \
+                 -nostdlib -nostartfiles \
                  $(sysdep-LDFLAGS) $(config-LDFLAGS) $(LDFLAGS.so) \
                  -Wl,--verbose 2>&1 | \
          sed > $@T \