From 20792f9946b2ef0c9e6b75f4243d4404850ecd38 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Wed, 30 Apr 2003 04:18:12 +0000 Subject: * configure.in: Search for AUTOCONF unconditionally. Just don't complain about missing it under --without-cvs. * configure: Regenerated. * include/libc-symbols.h (__symbol_set_attribute): New macro, give hidden for [SHARED] and weak for [! SHARED]. (symbol_set_declare): Use that. Never need weak_extern these days. * Makerules ($(common-objpfx)shlib.lds): Go back to using PROVIDE. Depend on $(..)Makerules. --- Makerules | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Makerules') diff --git a/Makerules b/Makerules index 0929e6e..d855ae3 100644 --- a/Makerules +++ b/Makerules @@ -511,7 +511,7 @@ endif ifeq (yes,$(elf)) # binutils only position loadable notes into the first page for binaries, # not for shared objects -$(common-objpfx)shlib.lds: $(common-objpfx)config.make +$(common-objpfx)shlib.lds: $(common-objpfx)config.make $(..)Makerules $(LINK.o) -shared -Wl,-O1 \ $(sysdep-LDFLAGS) $(config-LDFLAGS) $(LDFLAGS.so) \ -Wl,--verbose 2>&1 | \ @@ -519,9 +519,9 @@ $(common-objpfx)shlib.lds: $(common-objpfx)config.make -e '/^=========/,/^=========/!d;/^=========/d' \ -e 's/^.*\.hash[ ]*:.*$$/ .note.ABI-tag : { *(.note.ABI-tag) } &/' \ -e 's/^.*\*(\.dynbss).*$$/& \ - __start___libc_freeres_ptrs = .; \ + PROVIDE(__start___libc_freeres_ptrs = .); \ *(__libc_freeres_ptrs) \ - __stop___libc_freeres_ptrs = .;/' + PROVIDE(__stop___libc_freeres_ptrs = .);/' mv -f $@T $@ common-generated += shlib.lds -- cgit v1.1