HP-UX Linker and Libraries June 2006 Release Notes
HP-UX 11i v1 and HP-UX 11i v2
Version: B.11.53 (for PA32 and PA64 Systems)
Version: B.12.35 (for Itanium-Based Systems)
Part Number: B2355-90969
Release Date: June 2006
Legal Notices
© Copyright 2006 Hewlett-Packard Development Company, L.P.Confidential computer software. Valid license from HP required for possession, use or copying. Consistent with FAR 12.211 and 12.212, Commercial Computer Software, Computer Software Documentation, and Technical Data for Commercial Items are licensed to the U.S. Government under vendor's standard commercial license.
U.S. Government License
The information contained in this document is subject to change without notice. The only
warranties for HP products and services are set forth in the express warranty statements accompanying such
products and services. Nothing herein should be construed as constituting an additional warranty.
HP shall not be liable for technical or editorial errors or omissions contained herein.
Trademark Notices
Intel and Itanium are trademarks or registered trademarks of Intel Corporation or its subsidiaries in the United States and other countries.
UNIX is a registered trademark of The Open Group.
Table of Contents
This section describes new features introduced in this release of HP-UX Linker and Libraries. This section discusses the following topics:
Following are the new features:
This version of linker reduces the link time for large programs built with profile-based optimization. The reduction in link time is even more when you invoke the linker with -P or -PF to carry out procedure reordering and global variable layout.
This feature is available for both Intel Itanium-based systems and PA64 systems.
Improved Application PerformanceThis version of linker provides an improved layout of global variables for programs built with profile-based optimization. The new layout controls variable alignment on cache boundaries.
This feature is available only for Intel Itanium-based systems.
Large Kernel Page Size SupportThis version of linker enables you to run application on large kernel pages. The dld now supports kernel page size up to 64KB. The linker aligns segments offset to 64KB boundary.
This feature is available for both Intel Itanium-based systems and PA64 systems.
Direct Access to the Linker FootprintThis version of linker adds a new program header, PT_HP_LINKER_FOOTPRINT, which points to the linker footprint in the output file.
This feature is available only for Intel Itanium-based systems.
New +FP Flag Values to Specify Rounding ModeFor floating point operations, this version of linker enables you to specify values for rounding mode. The following values are available:
This feature is available for both Intel Itanium-based systems and PA64 systems.
New Flag to Allocate Storage for Uninitialized DataThe new +nobss linker option enables you to include the bss data of the shared library in the shared library's data segment. When you build a program with the +nobss option, the number of mmap and munmap calls at load time are minimal. However, the use of +nobss option increases the disk size of the shared library. HP recommends the use of +nobss option only when the frequent loading and unloading of shared libraries affect the application performance.
This feature is available for both Intel Itanium-based systems and PA64 systems.
The following new feature supports PA32 systems:
Dynamic Path Search Behavior for setuid ProgramsFor setuid programs if SHLIB_PATH/LD_LIBRARY_PATH is not set, the loader does not consider the paths listed in the file /etc/dld.sl.conf. The dynamic path lookup is disabled and the search is restricted to the embedded path (RPATH).
This section discusses the following topics:
Before you begin to use the HP-UX Linker Online Help, complete the following steps:
Set the DISPLAY environment variable to graphic mode to open an HTML browser.
Set the BROWSER environment variable to point to the location of your HTML browser. If you do not set the BROWSER environment variable, the linker automatically runs the browser located at:
/opt/mozilla/mozilla
or
/opt/ns-navgold/bin/netscape
or
/opt/ns-communicator/netscape
To access the Linker online help on a system in which the HP-UX Linker is installed, enter the following command:
/usr/ccs/bin/ld +helpThis command opens a Web browser and displays the main page of the HP-UX Linker online help system.
If the browser path set by the BROWSER environment variable does not exist, or if the default browser paths /opt/mozilla/mozilla, /opt/ns-navgold/bin/netscape or /opt/ns-communicator/netscape do not exist, the system displays a message that the BROWSER environment variable must be set properly.
The following documentation is available on the HP-UX 11i v2 Instant Information CD and also at:
http://docs.hp.com
/opt/ansic/newconfig/RelNotes/64bitTrans.bk.ps
/opt/langtools/newconfig/white_papers/optimize.ps
http://www.software.hp.com/STK/index.html