HP-UX Linker and Libraries User's Guide
Use the optionTo
+b enable
Enable run-time use of the path list specified with the +b option at link time.
If +b enable and +s enable are both
specified, the order in which they appear
determines which search path is used
first.
+b disable
Disable run-time use of the path list specified with the +b option at link time.
+s enable
Enable the use of the SHLIB_PATH environment variable to perform run-time
path list lookup of shared libraries.
+s disable
Disable the use of the SHLIB_PATH environment variable to perform run-time
path list lookup of shared libraries.
+l libname
32-bit mode only: Use default library path stored in the executable even if
path lists are provided. That is, prevent a library from looking up a path list.
-l libname
32-bit mode only: Subject a library to path list lookup if directory path lists
are provided. Useful for libraries that were specified with a full path name
at link time.
+pd size
Set the virtual memory page size for data segments.
+pi size
Set the virtual memory page size for instructions.
+k
Assist branch prediction on PA-RISC 2.0 systems. Programs must be linked
with +Ostaticprediction.
+r
Request static branch prediction.
+protect disable
Disable linkage table protection. Once you disable, you cannot use +protect
to enable linkage table protection. You have to relink the executable to turn
on the linkage table protection.
+mem_check <enable|disable>
Enable or disable the automatic preloading of librtc.sl runtime library for the
specified executable to support runtime memory leak checking. The
+mem_check option also directs the loader to map all shared library text
into the private address space of the process.
Using chatr for 64-bit Program Attributes
In 64-bit mode, chatr supports two different command syntaxes. One is compatible with the
32-bit command. Use it to modify files that have only a single text segment and data segment. The
second command syntax allows you specify selected segments to modify. The following sections
list the additional 64-bit mode options for the chatr command.
Table 10 For the 32-bit compatible syntax
Use the optionTo
+mdSet the modification bit for the file's data segment(s).
+miSet the modification bit for the file's text segment(s).
+cdSet the code bit for the file's data segment(s).
+ciSet the code bit for the file's text segment(s).
+zEnable lazy swap on all data segments. Do not use with non-data segments.
-zEnable run-time dereferencing of null pointers to produce a SIGSEGV signal. (This is
the complement of the -Z option.)
70 Linker Tools for PA-RISC Systems