HP-UX Reference (11i v1 05/09) - 1 User Commands A-M (vol 1)

c
chatr(1) chatr(1)
libraries.
+dbg flag Controls the mapping of shared library text segments privately. The flag values,
enable
and disable, toggle the request on and off. When enabled, this allows for mapping the
text segments of shared libraries in a private, writeable region. Also, you can use this
feature on individual shared libraries, which makes the text segment mapped private. If
_HP_DLDOPTS contains the string "-text_private
", all shared libraries are mapped
private. You can specify a colon-separated list of shared library base names with this
option, following an equal (
=) character; for example:
_HP_DLDOPTS="-text_private=libdebug.sl:libdld.2"
When used with +mergeseg enable
, this allows text segments of shared libraries to be
merged.
+es flag Control the ability of user code to execute from stack with the flag values,
enable and
disable. See the Restricting Execute Permission on Stacks section below for additional
information related to security issues.
+gst flag Control whether the global symbol table hash mechanism is used to look up values of sym-
bol import/export entries. The two flag values,
enable and disable, respectively
enable and disable use of the global symbol table hash mechanism. The default is
dis-
able
.
+gstsize size
Request a particular hash array size using the global symbol table hash mechanism. The
value can vary between 1 and MAXINT. The default value is 1103. Use this option with
+gst enable.
+k flag Request kernel assisted branch prediction. The flags enable and disable turn this
request on and off, respectively. (Available with the PA-RISC 64-bit FORMAT 2 command.)
+l library Indicate that the specified shared library is not subject to run-time path lookup if directory
path lists are provided (see +s and +b).
+mergeseg flag
Controls the shared library segment merging feature. The flag values, enable and dis-
able
, toggle this request ON and OFF. See the description of shared library segment
merging in the HP-UX Linker and Libraries User’s Guide. When enabled, all the data seg-
ments of the shared libraries loaded at program startup are merged. This increases run-
time performance by allowing the kernel to use larger size page table entries.
+pd size Request a particular virtual memory page size that should be used for data. Sizes of
4K,
16K, 64K, 256K, 1M, 4M, 16M, 64M, 256M, and
L are supported. A size of L will result
in using the largest page size available. The actual page size may vary if the requested size
cannot be fulfilled.
+pi size Request a particular virtual memory page size that should be used for instructions. See the
+pd option for additional information.
+r flag Request static branch prediction when executing this program. The flags enable and
disable turn this request on and off, respectively. (Available with the PA-RISC 64-bit
FORMAT 2 command.)
+s flag Control whether the directory path list specified with the SHLIB_PATH environment
variable 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 will be searched first. See the +b option. (Available with the PA-RISC 64-bit FOR-
MAT 2 command.)
+z Enable lazy swap on all data segments (using PA-RISC 32-bit chatr or PA-RISC 64-bit
chatr FORMAT 1) or on a specific segment (using PA-RISC 64-bit ELF chatr FORMAT
2). May not be used with non-data segments.
-z,-Z Enable run-time dereferencing of null pointers to produce a SIGSEGV signal. (This is the
complement of the -Z option.)
Section 174 Hewlett-Packard Company 2 HP-UX 11i Version 1: September 2005