aboutsummaryrefslogtreecommitdiff
path: root/Makerules
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2003-04-30 04:18:12 +0000
committerRoland McGrath <roland@gnu.org>2003-04-30 04:18:12 +0000
commit20792f9946b2ef0c9e6b75f4243d4404850ecd38 (patch)
tree56f10d817758d626bf23ade6071db5c74a6d736b /Makerules
parent476e7d78f4db291606903b9616515d47598dc791 (diff)
downloadglibc-20792f9946b2ef0c9e6b75f4243d4404850ecd38.zip
glibc-20792f9946b2ef0c9e6b75f4243d4404850ecd38.tar.gz
glibc-20792f9946b2ef0c9e6b75f4243d4404850ecd38.tar.bz2
* 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.
Diffstat (limited to 'Makerules')
-rw-r--r--Makerules6
1 files changed, 3 insertions, 3 deletions
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