diff options
author | Joakim Tjernlund <joakim.tjernlund@transmode.se> | 2004-08-13 13:56:25 +0000 |
---|---|---|
committer | Joakim Tjernlund <joakim.tjernlund@transmode.se> | 2004-08-13 13:56:25 +0000 |
commit | 9f47eaf3223c17a99cc88aea3287697e2635681f (patch) | |
tree | bb46e11388b630617ed8a7f42d4338ad32697c38 /ldso/libdl/Makefile | |
parent | 5e383688dc73a3b18d41eabe7714539e39bea752 (diff) |
Fix usage_count in ldso/libdl.
Don't' use atexit in libdl.
Make destrutor in libdl actually run and to dlclose all
dlopened libs.
Remove dlclosed libs from the _dl_symbol_tables list.
Diffstat (limited to 'ldso/libdl/Makefile')
-rw-r--r-- | ldso/libdl/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ldso/libdl/Makefile b/ldso/libdl/Makefile index 9e2fb09e7..f10510f51 100644 --- a/ldso/libdl/Makefile +++ b/ldso/libdl/Makefile @@ -73,7 +73,7 @@ $(OBJ): Makefile shared: $(LD) $(LDFLAGS) -soname=$(LIBDL_SHARED).$(MAJOR_VERSION) \ - -o $(LIBDL_SHARED_FULLNAME) --whole-archive $(LIBDL_PIC) \ + -o $(LIBDL_SHARED_FULLNAME) -fini dl_cleanup --whole-archive $(LIBDL_PIC) \ --no-whole-archive $(TOPDIR)/libc/misc/internals/interp.o \ -L$(TOPDIR)/lib -lc $(LDADD_LIBFLOAT) $(LIBGCC); $(INSTALL) -d $(TOPDIR)lib |