about summary refs log tree commit diff
path: root/elf/Makefile
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-08-25 19:33:19 +0000
committerUlrich Drepper <drepper@redhat.com>2000-08-25 19:33:19 +0000
commitad7534c8f08c31f3e140a31e4099e7e0b5e193d2 (patch)
tree311f04ac9b09f2b4f5fea5aad8ab6de18e05dc38 /elf/Makefile
parentbb8d0fd5b125d43445124e37a2569f53bb7fb2ea (diff)
downloadglibc-ad7534c8f08c31f3e140a31e4099e7e0b5e193d2.tar.gz
glibc-ad7534c8f08c31f3e140a31e4099e7e0b5e193d2.tar.xz
glibc-ad7534c8f08c31f3e140a31e4099e7e0b5e193d2.zip
Update.
2000-08-25  Ulrich Drepper  <drepper@redhat.com>

	* elf/Makefile (LDFLAGS-nodelete): Add -rdynamic.
	* elf/nodelete.c (fini_ran): New global variable.
	(do_test): Before every dlclose call clear fini_ran and test
	afterwards that it is not set by the destructors.
	* elf/nodelmod1.c: Add destructor which sets fini_ran.
	* elf/nodelmod2.c: Likewise.
	* elf/nodelmod4.c: Likewise.
Diffstat (limited to 'elf/Makefile')
-rw-r--r--elf/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/elf/Makefile b/elf/Makefile
index 49dd2bcc0e..369aaba693 100644
--- a/elf/Makefile
+++ b/elf/Makefile
@@ -302,6 +302,7 @@ $(objpfx)noload: $(objpfx)testobj1.so
 LDFLAGS-noload = -rdynamic
 $(objpfx)noload.out: $(objpfx)testobj5.so
 
+LDFLAGS-nodelete = -rdynamic
 LDFLAGS-nodelmod1.so = -Wl,--enable-new-dtags,-z,nodelete
 LDFLAGS-nodelmod4.so = -Wl,--enable-new-dtags,-z,nodelete
 $(objpfx)nodelete: $(libdl)