From: Roland McGrath Date: Sat, 1 Nov 2003 00:36:04 +0000 (+0000) Subject: * Makerules (shlib.lds): Make sure that ld doesn't try to link X-Git-Tag: cvs/glibc-2_3_3~98 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c1e781ae7c77a3d37d99c5bfec048a38d875ab07;p=thirdparty%2Fglibc.git * Makerules (shlib.lds): Make sure that ld doesn't try to link anything while generating the linker script. --- diff --git a/ChangeLog b/ChangeLog index 3d1c05f6bab..1842eb5de1c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2003-09-26 Daniel Jacobowitz + + * Makerules (shlib.lds): Make sure that ld doesn't try to link + anything while generating the linker script. + 2003-10-31 Roland McGrath * locale/lc-ctype.c (_nl_postload_ctype): Update _nl_global_locale's diff --git a/Makerules b/Makerules index 500d1af0246..d1bef8c9836 100644 --- 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 \