HP-UX 11i Version 2 Release Notes (October 2003)
Libraries and Programming
Dynamic Loader (dld.so)
Chapter 9
212
Summary of Change
Changes to Dynamic Loader version B.12.20 include the following:
• Support for applications built with +[no]lazyload and -B
[direct|lazydirect|nodirect]
• Lazy loading of shared library - Shared libraries marked with lazy loading during
link time will not be loaded during program startup. Instead, the shared library will
be loaded on the first reference during execution.
Lazy loading of shared library can be disabled during runtime by setting the
environment variable LD_NOLAZYLOAD to a non-null value.
• Direct binding - For symbols with direct binding information, the dynamic loader
will try to resolve the symbol using interposer libraries. If the symbol cannot be
resolved using interposer libraries, the dynamic load will try to resolve the symbol
using only the shared library recorded during link time. Other loaded libraries will
not be searched.
Direct binding can be disabled during runtime by setting the environment variable
LD_NODIRECTBIND to a non-null value.
Impact
There are no impacts.
Compatibility
There are no compatibility issues.
Performance
Lazy loading of shared libraries improves an executable’s startup time. Direct binding
shortens symbol resolution time during execution.
Documentation
Please see the ld (1) manpage for more information on lazy loading or direct binding. For
further information about Dynamic Loader, see the manpage dld.so (5).
Obsolescence
Not applicable.