dlfcn: Cleanups after -ldl is no longer required
authorFlorian Weimer <fweimer@redhat.com>
Thu, 3 Jun 2021 06:26:04 +0000 (08:26 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Thu, 3 Jun 2021 07:11:45 +0000 (09:11 +0200)
commit6f1c701026287f6928d3bdd1aea7359308635abe
tree8dcf3b5a755f131435a912f7629478deaff74264
parent0c1c3a771eceec46e66ce1183cf988e2303bd373
dlfcn: Cleanups after -ldl is no longer required

This commit removes the ELF constructor and internal variables from
dlfcn/dlfcn.c.  The file now serves the same purpose as
nptl/libpthread-compat.c, so it is renamed to dlfcn/libdl-compat.c.
The use of libdl-shared-only-routines ensures that libdl.a is empty.

This commit adjusts the test suite not to use $(libdl).  The libdl.so
symbolic link is no longer installed.

Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
17 files changed:
Makeconfig
dlfcn/Makefile
dlfcn/libdl-compat.c [moved from dlfcn/dlfcn.c with 75% similarity]
elf/Makefile
htl/Makefile
iconvdata/Makefile
include/dlfcn.h
malloc/Makefile
misc/Makefile
nptl/Makefile
nss/Makefile
resolv/Makefile
stdlib/Makefile
string/Makefile
sysdeps/mips/Makefile
sysdeps/pthread/Makefile
sysdeps/x86/Makefile