From 0f90ef965036c1b52464ee9491f422eb34a3eaad Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sun, 12 May 1996 22:15:01 +0000 Subject: * Makerules ($(libdir)/libc.so): Make the file an ld script. * sysdeps/mach/hurd/configure.in: Don't grok --with-hurd option. * sysdeps/mach/configure.in: File removed. * sysdeps/mach/configure: File removed. --- Makerules | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) (limited to 'Makerules') diff --git a/Makerules b/Makerules index 66a5f28281..07e4da5e2e 100644 --- a/Makerules +++ b/Makerules @@ -577,17 +577,13 @@ ifndef subdir # the special object libc-syms.so that contains just the dynamic symbol # table of the shared libc object. install: $(libdir)/libc.so -$(libdir)/libc.so: $(common-objpfx)libc-syms.so subdir_install - $(AR) crvs $@ $< `cat $(addprefix $(common-objpfx)sor-,$(subdirs))` - -# Extract from the shared object file just the dynamic symbol table -# needed to link against the shared library. -$(common-objpfx)libc-syms.so: $(common-objpfx)libc.so - AWK='$(AWK)' OBJCOPY='$(OBJCOPY)' OBJDUMP='$(OBJDUMP)' \ - ./extract-dynsym $< $@ -ifndef subdir -generated += libc-syms.so -endif +$(libdir)/libc.so: $(common-objpfx)libc.so$(libc.so-version) \ + $(common-objpfx)libc.a + (echo '/* Use the shared library, but some functions are only in';\ + echo ' the static library, so try that secondarily. */';\ + echo 'GROUP ( $(^F) )') > $@.new + mv -f $@.new $@ + endif else -- cgit v1.2.3