2011-07-14 Roland McGrath <roland@hack.frob.com>
+ * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
+ of $(common-objpfx)shlib.lds.
+ * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
+
* sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
install-bin-script += sotruss
generated += sotruss
CPPFLAGS-sotruss-lib = -DNOT_IN_libc
-$(objpfx)sotruss-lib.so: $(objpfx)sotruss-lib.os $(common-objpfx)shlib.lds
+$(objpfx)sotruss-lib.so: $(objpfx)sotruss-lib.os
$(build-module-asneeded)
$(objpfx)sotruss-lib.so: $(common-objpfx)libc.so $(objpfx)ld.so \
$(common-objpfx)libc_nonshared.a
# Command to link into a larger single relocatable object.
reloc-link = $(LINK.o) -nostdlib -nostartfiles -r
+$(objpfx)sotruss-lib.so: $(shlib-lds)
+
$(objpfx)dl-allobjs.os: $(all-rtld-routines:%=$(objpfx)%.os)
$(reloc-link) -o $@ $^