aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-05-15 14:46:36 +0000
committerUlrich Drepper <drepper@redhat.com>1998-05-15 14:46:36 +0000
commitb17277cfa29eee1b76fcaa18f2d4bb21c1567d6c (patch)
tree80219b5b81d70a715003af4c8b00de47fd373aef
parent0f488414e05e73763e739222ff8a89682df93d42 (diff)
downloadglibc-b17277cfa29eee1b76fcaa18f2d4bb21c1567d6c.tar.xz
glibc-b17277cfa29eee1b76fcaa18f2d4bb21c1567d6c.zip
Update.
1998-05-15 14:36 Ulrich Drepper <drepper@cygnus.com> * posix/wordexp-test.c: Avoid duplicate messages. * sysdeps/generic/setenv.c: Use __tfind and __tsearch, not tfind and tsearch. Correctly interpret values returned by those functions. (unsetenv): Store pointer to string, not pointer to string pointer. * time/tzfile.c (__tzfile_compute): Take new arguments. Store DST information and offset in them. * time/tzset.c (__tz_convert): Pass extra parameters to __tzfile_compute. Compute equivalent values for use of tz_rules. 1998-05-15 00:49:11 Zack Weinberg <zack@rabi.phys.columbia.edu> * iconvdata/Makefile (gen-8bit-table): Use move-if-change and stamp files to avoid unnecessary recompilation. (gen-8bit-gap-table): Likewise. (move-if-change): New variable. (all generated .h rules): Change to be .stmp rules. (%.h): New rule; depend on %.stmp; no commands. (distribute): Add gen-8bit.sh, gen-8bit-gap.sh, gen-8bit-gap-1.sh. 1998-05-15 01:09 Zack Weinberg <zack@rabi.phys.columbia.edu> * Makerules (libc-map): Deleted. (load-map-file): Set to the appropriate compiler switch, not just the file name. If libfoo-map is not set, look for a libfoo.map in the current directory and $(..). (map-file): New variable, contains just the mapfile name. (build-shlib): Adjust for new value of load-map-file. (libc.so): Correct dependencies. * extra-lib.mk: Correct shlib dependencies since libfoo-map may not be set anymore. * elf/Makefile: Set ld-map to $(..)libc.map, not $(libc-map). Delete libdl-map. Tweak ld.so link rule to work with changed variable settings in Makerules. * iconvdata/Makefile: Tweak build-module to work with changed variable settings in Makerules. * db/Makefile: Delete libdb-map. * hesiod/Makefile: Delete libnss_hesiod-map. * linuxthreads/Makefile: Delete libpthread-map. * locale/Makefile: Delete libBrokenLocale-map. * login/Makefile: Delete libutil-map. * math/Makefile: Delete libm-map. * md5-crypt/Makefile: Delete libcrypt-map. * nis/Makefile: Delete libnsl-map, libnss_nis-map, libnss_nisplus-map, and libnss_compat-map. * nss/Makefile: Delete libnss_files-map, libnss_db-map, and libnss_ldap-map. * resolv/Makefile: Delete libresolv-map and libnss_dns-map. * rt/Makefile: Delete librt-map. 1998-05-15 01:06 Zack Weinberg <zack@rabi.phys.columbia.edu> * configure.in: Instead of substituting `yes' or `no' for whether --no-whole-archive is available, set @no_whole_archive@ to the appropriate gcc switch or the empty string. Likewise for -fno-exceptions. * config.make.in: Replace have-no-whole-archive with no-whole-archive and have-no-exceptions with no-exceptions. * Makerules: Delete stanzas setting no-whole-archive and no-exceptions. * sunrpc/Makefile: Use move-if-change to update generated .h and .c files. 1998-05-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * wcsmbs/wcsmbsload.c (extract_charset_name): Use strcspn instead of strchr loop. 1998-05-15 Andreas Jaeger <aj@arthur.rhein-neckar.de> * time/tzfile.c (__tzfile_read): Remove unused variable info. (__tzfile_compute): Likewise. 1998-05-15 Andreas Jaeger <aj@arthur.rhein-neckar.de> * sysdeps/unix/sysv/linux/bits/socket.h (AF_SNA,PF_SNA): Add new defines from Linux 2.1.102.
-rw-r--r--ChangeLog86
-rw-r--r--Makerules29
-rw-r--r--config.make.in4
-rwxr-xr-xconfigure42
-rw-r--r--configure.in10
-rw-r--r--db/Makefile1
-rw-r--r--elf/Makefile15
-rw-r--r--extra-lib.mk2
-rw-r--r--hesiod/Makefile1
-rw-r--r--iconvdata/Makefile207
-rw-r--r--linuxthreads/Makefile1
-rw-r--r--locale/Makefile1
-rw-r--r--login/Makefile1
-rw-r--r--login/README.utmpd7
-rw-r--r--math/Makefile2
-rw-r--r--md5-crypt/Makefile3
-rw-r--r--nis/Makefile3
-rw-r--r--nss/Makefile3
-rw-r--r--posix/wordexp-test.c10
-rw-r--r--resolv/Makefile2
-rw-r--r--rt/Makefile2
-rw-r--r--sunrpc/Makefile9
-rw-r--r--sysdeps/generic/setenv.c20
-rw-r--r--sysdeps/unix/sysv/linux/bits/socket.h2
-rw-r--r--time/tzfile.c9
-rw-r--r--time/tzset.c18
-rw-r--r--wcsmbs/wcsmbsload.c3
27 files changed, 287 insertions, 206 deletions
diff --git a/ChangeLog b/ChangeLog
index 5566a7f75d..75a2941ece 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,89 @@
+1998-05-15 14:36 Ulrich Drepper <drepper@cygnus.com>
+
+ * posix/wordexp-test.c: Avoid duplicate messages.
+
+ * sysdeps/generic/setenv.c: Use __tfind and __tsearch, not tfind and
+ tsearch. Correctly interpret values returned by those functions.
+ (unsetenv): Store pointer to string, not pointer to string pointer.
+
+ * time/tzfile.c (__tzfile_compute): Take new arguments. Store
+ DST information and offset in them.
+ * time/tzset.c (__tz_convert): Pass extra parameters to
+ __tzfile_compute. Compute equivalent values for use of tz_rules.
+
+1998-05-15 00:49:11 Zack Weinberg <zack@rabi.phys.columbia.edu>
+
+ * iconvdata/Makefile (gen-8bit-table): Use move-if-change and
+ stamp files to avoid unnecessary recompilation.
+ (gen-8bit-gap-table): Likewise.
+ (move-if-change): New variable.
+ (all generated .h rules): Change to be .stmp rules.
+ (%.h): New rule; depend on %.stmp; no commands.
+ (distribute): Add gen-8bit.sh, gen-8bit-gap.sh,
+ gen-8bit-gap-1.sh.
+
+1998-05-15 01:09 Zack Weinberg <zack@rabi.phys.columbia.edu>
+
+ * Makerules (libc-map): Deleted.
+ (load-map-file): Set to the appropriate compiler switch, not
+ just the file name. If libfoo-map is not set, look for a
+ libfoo.map in the current directory and $(..).
+ (map-file): New variable, contains just the mapfile name.
+ (build-shlib): Adjust for new value of load-map-file.
+ (libc.so): Correct dependencies.
+
+ * extra-lib.mk: Correct shlib dependencies since libfoo-map
+ may not be set anymore.
+
+ * elf/Makefile: Set ld-map to $(..)libc.map, not $(libc-map).
+ Delete libdl-map. Tweak ld.so link rule to work with changed
+ variable settings in Makerules.
+ * iconvdata/Makefile: Tweak build-module to work with changed
+ variable settings in Makerules.
+
+ * db/Makefile: Delete libdb-map.
+ * hesiod/Makefile: Delete libnss_hesiod-map.
+ * linuxthreads/Makefile: Delete libpthread-map.
+ * locale/Makefile: Delete libBrokenLocale-map.
+ * login/Makefile: Delete libutil-map.
+ * math/Makefile: Delete libm-map.
+ * md5-crypt/Makefile: Delete libcrypt-map.
+ * nis/Makefile: Delete libnsl-map, libnss_nis-map,
+ libnss_nisplus-map, and libnss_compat-map.
+ * nss/Makefile: Delete libnss_files-map, libnss_db-map, and
+ libnss_ldap-map.
+ * resolv/Makefile: Delete libresolv-map and libnss_dns-map.
+ * rt/Makefile: Delete librt-map.
+
+1998-05-15 01:06 Zack Weinberg <zack@rabi.phys.columbia.edu>
+
+ * configure.in: Instead of substituting `yes' or `no' for whether
+ --no-whole-archive is available, set @no_whole_archive@ to the
+ appropriate gcc switch or the empty string. Likewise for
+ -fno-exceptions.
+ * config.make.in: Replace have-no-whole-archive with
+ no-whole-archive and have-no-exceptions with no-exceptions.
+ * Makerules: Delete stanzas setting no-whole-archive and
+ no-exceptions.
+
+ * sunrpc/Makefile: Use move-if-change to update generated .h
+ and .c files.
+
+1998-05-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
+
+ * wcsmbs/wcsmbsload.c (extract_charset_name): Use strcspn instead
+ of strchr loop.
+
+1998-05-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
+
+ * time/tzfile.c (__tzfile_read): Remove unused variable info.
+ (__tzfile_compute): Likewise.
+
+1998-05-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
+
+ * sysdeps/unix/sysv/linux/bits/socket.h (AF_SNA,PF_SNA): Add new
+ defines from Linux 2.1.102.
+
1998-05-14 23:14 Ulrich Drepper <drepper@cygnus.com>
* locale/programs/ld-ctype.c: Write correct mb_cur_max value.
diff --git a/Makerules b/Makerules
index 223442cbfe..dadafdbc88 100644
--- a/Makerules
+++ b/Makerules
@@ -325,9 +325,9 @@ ifeq (yes,$(build-shared))
# Reference map file only when versioning is selected and a map file name
# is given.
ifeq ($(versioning),yes)
-load-map-file = $($(@F:%.so=%)-map)
-else
-load-map-file =
+map-file = $(firstword $(wildcard \
+ $($(@F:.so=-map)) $(@F:.so=.map) $(..)$(@F:.so=.map)))
+load-map-file = $(map-file:%=-Wl,--version-script=%)
endif
# Pattern rule to build a shared object from an archive of PIC objects.
@@ -338,12 +338,6 @@ endif
lib%.so: lib%_pic.a $(+preinit) $(+postinit)
$(build-shlib)
-ifeq ($(have-no-whole-archive),yes)
-no-whole-archive = -Wl,--no-whole-archive
-else
-no-whole-archive =
-endif
-
ifeq ($(elf),yes)
interp-obj = $(common-objpfx)elf/interp.os
$(common-objpfx)libc.so: $(interp-obj)
@@ -352,12 +346,12 @@ endif
define build-shlib
$(LINK.o) -shared -o $@ $(sysdep-LDFLAGS) $(config-LDFLAGS) \
- -B$(csu-objpfx) $(load-map-file:%=-Wl,--version-script=%) \
+ -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) \
-Wl,--whole-archive \
- $(filter-out $($(@F:.so=)-map) $(+preinit) $(+postinit),$^) \
+ $(filter-out $(map-file) $(+preinit) $(+postinit),$^) \
$(no-whole-archive) $(LDLIBS-$(@F:lib%.so=%).so)
endef
@@ -385,8 +379,6 @@ LDFLAGS-c.so = -nostdlib -nostartfiles
LDLIBS-c.so = $(gnulib)
# Give libc.so an entry point and make it directly runnable itself.
LDFLAGS-c.so += -e __libc_main
-# We have a versioning file for libc.so.
-libc-map = $(..)libc.map
# Pre-link the objects of libc_pic.a so that we can locally resolve
# COMMON symbols before we link against ld.so. This is because ld.so
# contains some of libc_pic.a already, which will prevent the COMMONs
@@ -399,7 +391,7 @@ $(common-objpfx)libc_pic.os: $(common-objpfx)libc_pic.a
$(common-objpfx)libc.so: $(elfobjdir)/soinit.os \
$(common-objpfx)libc_pic.os \
$(elfobjdir)/sofini.os $(elfobjdir)/ld.so \
- $(libc-map)
+ $(..)libc.map
$(build-shlib)
common-generated += libc.so libc_pic.os
ifdef libc.so-version
@@ -409,15 +401,6 @@ common-generated += libc.so$(libc.so-version)
endif
endif
-# Some files must not be compiled with the exception handler mechanism
-# enabled (introduced in gcc-2.8). Use $(no-exceptions) in the
-# appropriate CFLAGS definition.
-ifeq ($(have-no-exceptions),yes)
-no-exceptions = -fno-exceptions
-else
-no-exceptions =
-endif
-
# Figure out the source filenames in this directory.
override sources := $(addsuffix .c,$(filter-out $(elided-routines),\
diff --git a/config.make.in b/config.make.in
index d23ee8dbd8..0a76b10ede 100644
--- a/config.make.in
+++ b/config.make.in
@@ -37,9 +37,9 @@ need-nopic-initfini = @nopic_initfini@
with-cvs = @with_cvs@
versioning = @VERSIONING@
+no-whole-archive = @no_whole_archive@
+no-exceptions = @no_exceptions@
-have-no-whole-archive = @libc_cv_ld_no_whole_archive@
-have-no-exceptions = @libc_cv_gcc_no_exceptions@
have-bash2 = @libc_cv_have_bash2@
have-ksh = @libc_cv_have_ksh@
diff --git a/configure b/configure
index 5e6f231bd1..cb9c48f279 100755
--- a/configure
+++ b/configure
@@ -2523,9 +2523,12 @@ rm -f conftest*
fi
echo "$ac_t""$libc_cv_ld_no_whole_archive" 1>&6
+if test $libc_cv_ld_no_whole_archive = yes; then
+ no_whole_archive=-Wl,--no-whole-archive
+fi
echo $ac_n "checking for gcc -fno-exceptions""... $ac_c" 1>&6
-echo "configure:2529: checking for gcc -fno-exceptions" >&5
+echo "configure:2532: checking for gcc -fno-exceptions" >&5
if eval "test \"`echo '$''{'libc_cv_gcc_no_exceptions'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -2536,7 +2539,7 @@ __throw () {}
EOF
if { ac_try='${CC-cc} $CFLAGS
-nostdlib -nostartfiles -fno-exceptions
- -o conftest conftest.c 1>&5'; { (eval echo configure:2540: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then
+ -o conftest conftest.c 1>&5'; { (eval echo configure:2543: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then
libc_cv_gcc_no_exceptions=yes
else
libc_cv_gcc_no_exceptions=no
@@ -2545,17 +2548,20 @@ rm -f conftest*
fi
echo "$ac_t""$libc_cv_gcc_no_exceptions" 1>&6
+if test $libc_cv_ld_no_whole_archive = yes; then
+ no_exceptions=-fno-exceptions
+fi
if test "$base_machine" = alpha ; then
echo $ac_n "checking for function ..ng prefix""... $ac_c" 1>&6
-echo "configure:2552: checking for function ..ng prefix" >&5
+echo "configure:2558: checking for function ..ng prefix" >&5
if eval "test \"`echo '$''{'libc_cv_gcc_alpha_ng_prefix'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.c <<\EOF
foo () { }
EOF
-if { ac_try='${CC-cc} -S conftest.c -o - | fgrep "\$foo..ng" > /dev/null'; { (eval echo configure:2559: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; };
+if { ac_try='${CC-cc} -S conftest.c -o - | fgrep "\$foo..ng" > /dev/null'; { (eval echo configure:2565: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; };
then
libc_cv_gcc_alpha_ng_prefix=yes
else
@@ -2582,19 +2588,19 @@ if test "$host_cpu" = powerpc ; then
# Check for a bug present in at least versions 2.8.x of GCC
# and versions 1.0.x of EGCS.
echo $ac_n "checking whether clobbering cr0 causes problems""... $ac_c" 1>&6
-echo "configure:2586: checking whether clobbering cr0 causes problems" >&5
+echo "configure:2592: checking whether clobbering cr0 causes problems" >&5
if eval "test \"`echo '$''{'libc_cv_c_asmcr0_bug'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 2591 "configure"
+#line 2597 "configure"
#include "confdefs.h"
int tester(int x) { asm ("" : : : "cc"); return x & 123; }
int main() {
; return 0; }
EOF
-if { (eval echo configure:2598: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:2604: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
libc_cv_c_asmcr0_bug='no'
else
@@ -2616,12 +2622,12 @@ fi
fi
echo $ac_n "checking for DWARF2 unwind info support""... $ac_c" 1>&6
-echo "configure:2620: checking for DWARF2 unwind info support" >&5
+echo "configure:2626: checking for DWARF2 unwind info support" >&5
if eval "test \"`echo '$''{'libc_cv_gcc_dwarf2_unwind_info'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.c <<EOF
-#line 2625 "configure"
+#line 2631 "configure"
static char __EH_FRAME_BEGIN__;
_start ()
{
@@ -2648,7 +2654,7 @@ __bzero () {}
EOF
if { ac_try='${CC-cc} $CFLAGS -DCHECK__register_frame_info
-nostdlib -nostartfiles
- -o conftest conftest.c -lgcc >&5'; { (eval echo configure:2652: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then
+ -o conftest conftest.c -lgcc >&5'; { (eval echo configure:2658: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then
libc_cv_gcc_dwarf2_unwind_info=static
else
libc_cv_gcc_dwarf2_unwind_info=no
@@ -2656,7 +2662,7 @@ fi
if test $libc_cv_gcc_dwarf2_unwind_info = no; then
if { ac_try='${CC-cc} $CFLAGS -DCHECK__register_frame
-nostdlib -nostartfiles
- -o conftest conftest.c -lgcc >&5'; { (eval echo configure:2660: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then
+ -o conftest conftest.c -lgcc >&5'; { (eval echo configure:2666: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then
libc_cv_gcc_dwarf2_unwind_info=yes
else
libc_cv_gcc_dwarf2_unwind_info=no
@@ -2730,7 +2736,7 @@ if test "$uname" = "sysdeps/generic"; then
fi
echo $ac_n "checking OS release for uname""... $ac_c" 1>&6
-echo "configure:2734: checking OS release for uname" >&5
+echo "configure:2740: checking OS release for uname" >&5
if eval "test \"`echo '$''{'libc_cv_uname_release'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -2752,7 +2758,7 @@ echo "$ac_t""$libc_cv_uname_release" 1>&6
uname_release="$libc_cv_uname_release"
echo $ac_n "checking OS version for uname""... $ac_c" 1>&6
-echo "configure:2756: checking OS version for uname" >&5
+echo "configure:2762: checking OS version for uname" >&5
if eval "test \"`echo '$''{'libc_cv_uname_version'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -2774,7 +2780,7 @@ else
fi
echo $ac_n "checking stdio selection""... $ac_c" 1>&6
-echo "configure:2778: checking stdio selection" >&5
+echo "configure:2784: checking stdio selection" >&5
case $stdio in
libio) cat >> confdefs.h <<\EOF
@@ -2786,7 +2792,7 @@ esac
echo "$ac_t""$stdio" 1>&6
echo $ac_n "checking ldap selection""... $ac_c" 1>&6
-echo "configure:2790: checking ldap selection" >&5
+echo "configure:2796: checking ldap selection" >&5
case $add_ons in
*ldap*)
@@ -2837,7 +2843,7 @@ if test $shared = default; then
fi
echo $ac_n "checking whether -fPIC is default""... $ac_c" 1>&6
-echo "configure:2841: checking whether -fPIC is default" >&5
+echo "configure:2847: checking whether -fPIC is default" >&5
if eval "test \"`echo '$''{'pic_default'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -3044,8 +3050,8 @@ s%@AWK@%$AWK%g
s%@PERL@%$PERL%g
s%@VERSIONING@%$VERSIONING%g
s%@libc_cv_have_initfini@%$libc_cv_have_initfini%g
-s%@libc_cv_ld_no_whole_archive@%$libc_cv_ld_no_whole_archive%g
-s%@libc_cv_gcc_no_exceptions@%$libc_cv_gcc_no_exceptions%g
+s%@no_whole_archive@%$no_whole_archive%g
+s%@no_exceptions@%$no_exceptions%g
s%@uname_sysname@%$uname_sysname%g
s%@uname_release@%$uname_release%g
s%@uname_version@%$uname_version%g
diff --git a/configure.in b/configure.in
index d04c18b0b3..683f6b6a39 100644
--- a/configure.in
+++ b/configure.in
@@ -883,7 +883,10 @@ else
libc_cv_ld_no_whole_archive=no
fi
rm -f conftest*])
-AC_SUBST(libc_cv_ld_no_whole_archive)dnl
+if test $libc_cv_ld_no_whole_archive = yes; then
+ no_whole_archive=-Wl,--no-whole-archive
+fi
+AC_SUBST(no_whole_archive)dnl
AC_CACHE_CHECK(for gcc -fno-exceptions, libc_cv_gcc_no_exceptions, [dnl
cat > conftest.c <<\EOF
@@ -900,7 +903,10 @@ else
libc_cv_gcc_no_exceptions=no
fi
rm -f conftest*])
-AC_SUBST(libc_cv_gcc_no_exceptions)dnl
+if test $libc_cv_ld_no_whole_archive = yes; then
+ no_exceptions=-fno-exceptions
+fi
+AC_SUBST(no_exceptions)dnl
if test "$base_machine" = alpha ; then
AC_CACHE_CHECK(for function ..ng prefix, libc_cv_gcc_alpha_ng_prefix, [dnl
diff --git a/db/Makefile b/db/Makefile
index e9817e2f89..32a637f0bf 100644
--- a/db/Makefile
+++ b/db/Makefile
@@ -19,7 +19,6 @@ libdb-routines := bt_close bt_conv bt_debug bt_delete bt_get \
mpool \
rec_close rec_delete rec_get rec_open rec_put rec_search \
rec_seq rec_utils
-libdb-map := libdb.map
headers := db.h mpool.h ndbm.h
distribute := compat.h \
diff --git a/elf/Makefile b/elf/Makefile
index 2f2e4b1934..b8b5b36b40 100644
--- a/elf/Makefile
+++ b/elf/Makefile
@@ -35,7 +35,7 @@ elide-routines.os = $(dl-routines) dl-support enbl-secure
# ld.so uses those routines, plus some special stuff for being the program
# interpreter and operating independent of libc.
rtld-routines := rtld $(dl-routines) dl-sysdep dl-minimal
-ld-map = $(libc-map)
+ld-map = $(..)libc.map
distribute = $(rtld-routines:=.c) dynamic-link.h do-rel.h dl-machine.h \
dl-hash.h soinit.c sofini.c ldd.sh.in ldd.bash.in eval.c \
genrtldtbl.awk atomicity.h dl-procinfo.h ldsodefs.h \
@@ -44,7 +44,6 @@ distribute = $(rtld-routines:=.c) dynamic-link.h do-rel.h dl-machine.h \
extra-libs = libdl
extra-libs-others = $(extra-libs)
libdl-routines := dlopen dlclose dlsym dlvsym dlerror dladdr
-libdl-map := libdl.map
before-compile = $(objpfx)trusted-dirs.h $(objpfx)rtldtbl.h
@@ -112,14 +111,10 @@ endif
$(objpfx)ld.so: $(objpfx)librtld.os $(addprefix $(objpfx),$(rtld-ldscript)) \
$(ld-map)
- $(rtld-link) -Wl,-soname=$(rtld-instal