HP-UX Linker and Libraries User's Guide

Table 6 options to change various attributes (continued)
Use the optionTo do this
+md flagEnable or disable the modification bit for the file's data segment(s). If this is enabled, it
is denoted by the +m flag for the segment listing in the chatr output.
+mem_check
<enable|disable>
Enable or disable the automatic preloading of librtc.so 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.
+mergeseg flagEnable or disable the shared library segment merging features. When enabled, all data
segments of shared libraries loaded at program start-up are merged into a single block.
Data segments for each dynamically loaded library are merged with the data segments
of its dependent libraries. Merging of these segments increases run-time performance by
allowing the kernel to use larger size page table entries.
+mi flagEnable or disable the modification bit for the file's text segment(s). If this is enabled, it is
denoted by the +m flag for the segment listing in the chatr output.
+o flagEnable or disable the DF_ORIGIN flag to control use of $ORIGIN in calculating the
absolute path of the load module directory. Enabling the flag instructs the dynamic loader
to calculate the absolute path of the parent module (object module, shared library, or
executable) when it is first loaded. The loader then uses this path for all occurrences of
$ORIGIN. If there are no occurrences of $ORIGIN, you should disable the DF_ORIGIN
flag, to avoid calculating the absolute path. By default, if $ORIGIN is not present, the
DF_ORIGIN flag is disabled.
+p sizeFormat 2 only: Set the page size for a specified segment.
+pd sizeRequest a particular virtual memory page size that must be used for data. Sizes of 4K,
16K, 64K, 256K, 1M, 4M, 16M, 64M, 256M, 1G, 4G, D, and L are supported. A size
of D results in using the default page size. A size of L results in using the largest page
size available. The actual page size may vary if the requested size cannot be fulfilled.
+pi sizeRequest a particular virtual memory page size that should be used for text (instructions).
See the +pd option for additional information.
+r flagRequest static branch prediction when executing this program. The flags enable and
disable this request. If this request is enabled, it is denoted by the +r flag for the segment
listing in the chatr output.
+s flagControl whether the directory path list specified with the LD_LIBRARY_PATH and
SHLIB_PATH environment variables can be used to locate shared libraries needed by
the program. The two flag values, enable and disable, respectively enable and disable
use of the environment variable. If both +s and +b are used, their relative order on the
command line indicates which path list is searched first. See the +b option.
+sa addressFormat 2 only: Specify a segment using an address for a set of attribute modifications.
+sallFormat 2 only: Use all segments in the file for a set of attribute modifications.
+si indexFormat 2 only: Specify a segment using a segment index number for a set of attribute
modifications.
+z flagEnable or disable lazy swap on all data segments (using Format 1) or on a specific
segment (using Format 2). The flags enable and disable, this request. Cannot be used
with non-data segments.
+I flagEnable or disable dynamic instrumentation by /opt/langtools/bin/caliper. If
enabled, the dynamic loader (see dld.so(5)) automatically invokes caliper upon program
execution to collect profile information.
+protect disable
flag
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.
Changing a Program's Attributes with chatr(1) 55