HP-UX Linker and Libraries Release Notes (August, 2006 )

HP-UX Linker and Libraries August 2006 Release Notes
New Features in This Release
Chapter 16
For example,
ld +Oprocelim +noprocelim_sym xproc +noprocelim_sym xdata x.o -lc
This link command enables procedure elimination optimization while linking an executable,
and it identifies two symbols that should not be eliminated: xproc and xdata.
New -w Option to Turn Off Linker Warnings
This version of linker provides the option to turn off linker warnings. In some build processes
you might want to improve parsing of build output by ignoring linker warnings. You can
choose to turn off linker warnings by using the new -w linker option.
New +alloc_hidden_commons Option to Force Storage Allocation for Hidden
Common Symbols
This version of linker provides the user greater control by allowing storage allocation only for
hidden common symbols. In relocatable links (when linking with -r), by default storage is not
allocated for common symbols. To force the allocation of storage for all common symbols, the
-d option is used with -r. The new option +alloc_hidden_commons enables the user to avoid
problems caused due to allocating storage space for non-hidden common symbols.
The new +alloc_hidden_commons option is a safer alternative to -d, because it allocates
storage only for common symbols that are not visible in subsequent links. This new option
provides consistent handling of hidden commons and hidden data.
If -d and +alloc_hidden_commons are both specified in the same link command, the -d
option will take precedence.
dldd Tools Available for Integrity Systems
This version of linker provides dldd tools (dldd32 and dldd64) on Integrity systems. The dldd
tool is used to manage address spaces across processes requesting to share vtables of objects
defined within shared libraries.
New Linker Features for PA32 Systems
The following new feature supports PA32 systems:
New -w Option to Turn Off Linker Warnings
This version of linker provides the option to turn off linker warnings. In some build processes
you might want to improve parsing of build output by ignoring linker warnings. You can
choose to turn off linker warnings by using the new -w linker option.