HP-UX 11i June 2002 Release Notes
Programming
Miscellaneous
Chapter 15
264
Miscellaneous
Linker and Object File Tools (ld, crt0.o, dld.sl, libdld.sl, chatr,
and odump)
new at 11i
original release
The following list summarizes the changes to linker and object file tools. Details for
several of the linker changes follow the lists.
Linker Changes
• Incremental linking supported in 64-bit ld and elfdump.
• Unix 98 (32-bit dl()* calls) supported in libdld.sl and dld.sl.
• 32-bit Filtered shared libraries supported in ld, dld.sl and in odump.
• GProf 32-bit shared library supported in crt0.o and dld.sl.
• ld +filter option creates filtered shared libraries.
• Support for ldd32, which lists dynamic dependencies of executable files or shared
libraries in dld.sl.
• Plabel cache, caches PLABELS at run-time, supported in ld and dld.sl.
• ld +dependdb and +dependdb_outputdir options generate dependency database,
ldb file.
• ld +objdebugonly (in both 32-bit and 64-bit) ignores debug information from non-
objdebug objects or archives and then proceeds in +objdebug mode.
• Special support for OGL's TLS shared library in dld (both 32- and 64-bit).
Tools Enhancements
• elfdump +ild displays incremental linking information.
• ar -x option allows modules from lib to keep datestamp.
• odump -tlssym option displays the TLS (thread) symbols.
• chatr +q3p enable/disable and q4p enable/disable option supports marking
3rd/4th quadrant for private data space.
• odump -verifyall option suppresses stub warnings on executable.
• odump -filtertable to displays the filtered shared library's implementation
libraries.
Details of Linker Changes
Incremental linking: Incremental linking provides significant linktime improvements
for compile-link-debug development cycles by processing only those input files that are
actually modified between cycles. Files that are not modified do not need to be
reprocessed. For large application, incremental linking may provide up to 10x (and
sometimes greater) improvements in linktime.