small patch for makeconfig
Philip Blundell
pb@nexus.co.uk
Fri Feb 19 08:39:00 GMT 1999
>I think libgcc should both be linked before and after libc. That's what
>gcc has always done, for good reason.
That sounds fair. Here's an updated patch. Ulrich, could you install this
for libc-2.1.1 if you don't see any problem with it?
p.
1999-02-19 Philip Blundell <pb@nexus.co.uk>
* Makeconfig (link-libc): When doing a static link, make sure that
libgcc.a is included both before and after libc.a
--- libc/Makeconfig 1999/01/16 17:00:11 1.209
+++ libc/Makeconfig 1999/02/16 10:16:11
@@ -419,7 +419,7 @@
else
nssobjdir := $(patsubst ../$(subdir),.,$(common-objpfx)nss)
resolvobjdir := $(patsubst ../$(subdir),.,$(common-objpfx)resolv)
-link-libc = $(common-objpfx)libc.a $(otherlibs) $(gnulib) $(common-objpfx)libc.a
+link-libc = $(common-objpfx)libc.a $(otherlibs) $(gnulib) $(common-objpfx)libc.a $(gnulib)
endif
endif
More information about the Libc-hacker
mailing list