Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Jun 1995 02:53:31 -0700
From:      Doug Rabson <dfr>
To:        CVS-commiters, cvs-lib
Subject:   cvs commit: src/lib/csu/i386 c++rt0.c crt0.c
Message-ID:  <199506270953.CAA22501@freefall.cdrom.com>

next in thread | raw e-mail | index | archive | help
dfr         95/06/27 02:53:29

  Modified:    include   link.h
               gnu/usr.bin/ld/rtld  rtld.c
               lib/csu/i386  c++rt0.c crt0.c
  Log:
  Change ld.so to correctly load dependant libraries for dlopen and unload them
  on dlclose.  Also correctly call constructors and destructors for libraries
  linked with /usr/lib/c++rt0.o.
  Change interpretation of dlopen manpage to call _init() rather than init()
  for dlopened objects.
  Change c++rt0.o to avoid using atexit to call destructors, allowing dlclose to
  call destructors when an object is unloaded.
  Change interface between crt0 and ld.so to allow crt0 to call a function on
  exit to call destructors for shared libraries explicitly.
  
  These changes are backwards compatible.  Old binaries will work with the new
  ld.so and new binaries will work with the old ld.so.  A version number has
  been introduced in the crt0-ld.so interface to allow for future changes.
  
  Reviewed by:	GAWollman, Craig Struble <cstruble@singularity.bevc.blacksburg.va.us>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199506270953.CAA22501>