aboutsummaryrefslogtreecommitdiff
path: root/Makerules
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-02-02 06:19:24 +0000
committerUlrich Drepper <drepper@redhat.com>2001-02-02 06:19:24 +0000
commit5d9167133cd1b614e2841eceba5d6c3828059254 (patch)
treed00e4cedc2f49111343107cad7c53ffc08ad23ef /Makerules
parent70dc5068f8105942b3ffa7ef57fbb88b6d4ce75a (diff)
downloadglibc-5d9167133cd1b614e2841eceba5d6c3828059254.zip
glibc-5d9167133cd1b614e2841eceba5d6c3828059254.tar.gz
glibc-5d9167133cd1b614e2841eceba5d6c3828059254.tar.bz2
Update.
2001-02-01 Ulrich Drepper <drepper@redhat.com> * Makerules (build-shlib): Add $(extra-B-$(@F:lib%.so=%).so). * configure.in: Test for -z initfirst linker option. * config.make.in: Add have-z-initfirst. * elf/dl-init.c (_dl_init): Split out actual initialization code in new function call_init. If _dl_initfirst is non-NULL initialize first. * elf/dl-load.c (_dl_map_from_fd): If DF_1_INITFIRST flag is set remember object in _dl_initfirst. * elf/soinit.c: Remove special support for calling __pthread_initialize_minimal. * conform/conformtest.pl: Add missing $prepend in type test. * elf/elf.h (SHT_CHECKSUM): New definition. * posix/tst-fnmatch.input: Add tests for [. .] in locales.
Diffstat (limited to 'Makerules')
-rw-r--r--Makerules5
1 files changed, 2 insertions, 3 deletions
diff --git a/Makerules b/Makerules
index 607db67..5c9b757 100644
--- a/Makerules
+++ b/Makerules
@@ -1,5 +1,4 @@
-# Copyright (C) 1991,92,93,94,95,96,97,98,99,2000
-# Free Software Foundation, Inc.
+# Copyright (C) 1991-1999, 2000,2001 Free Software Foundation, Inc.
# This file is part of the GNU C Library.
# The GNU C Library is free software; you can redistribute it and/or
@@ -416,7 +415,7 @@ lib%.so: lib%_pic.a $(+preinit) $(+postinit) $(+interp)
define build-shlib
$(LINK.o) -shared -Wl,-O1 -o $@ $(sysdep-LDFLAGS) $(config-LDFLAGS) \
- -B$(csu-objpfx) $(load-map-file) \
+ $(extra-B-$(@F:lib%.so=%).so) -B$(csu-objpfx) $(load-map-file) \
-Wl,-soname=lib$(libprefix)$(@F:lib%.so=%).so$($(@F)-version) \
$(LDFLAGS.so) $(LDFLAGS-$(@F:lib%.so=%).so) \
-L$(subst :, -L,$(rpath-link)) -Wl,-rpath-link=$(rpath-link) \