Support for dynamic shared libraries loaded by dlopen()
is one of the cooler things about XFLAT. This could be
the basis for an MMU-liess object broker, for example.
But dlclose is not yet supported (neither is dlerror,
but that is less important).
The purpose of dlcose is unload shared libraries that
are no longer needed by a process. This capability
requires: (1) logic to track the shared libraries
loaded by a shared library (and of the libraries loaded
by those libraries, etc.), (2) reference counting to
determine if there are still references to a shared
library, and (3) logic to clean up the resources
consumed by the shared library. These capabilities are
not included in XFLAT at this writing.
Anonymous