HP-UX Linker and Libraries User's Guide

Table 6 options to change various attributes (continued)
Use the optionTo do this
-zEnable run-time dereferencing of null pointers to produce a SIGSEGV signal. (This is the
complement of the -Z option.)
-B immediateUse immediate binding for all libraries loaded at program start-up.
-B deferredUse deferred binding for all libraries loaded at program start-up.
-ZDisable run-time dereferencing of null pointers. (This is the complement of the -z option.)
+as modeControl the address space model to be used by the kernel. Possible values for mode are
default, share_magic, exec_magic, shmem_magic, and mpas. The default value is
currently equivalent to share_magic. In order to set the mode to any value other than
the default, the binary must be built with the -N compiler option to ensure that the text
and data segments are contiguous.
+b flagControl whether the embedded path list stored when the program (if any) was built 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 embedded path list. However,
you cannot use disable on an ELF file, and a warning message is issued. If +b enable
and +s enable are both specified, the order in which they appear determines which
search path is used first. See the +s option.
+c flagFormat 2 only: Enable or disable the code bit for a specified segment. If this is enabled,
it is denoted by the +c flag for the segment listing in the chatr output.
+cd flagEnable or disable the code bit for the file's data segment(s). If this is enabled, it is denoted
by the +c flag for the segment listing in the chatr output.
+ci flagEnable or disable the code bit for the file's text segments(s). If this is enabled, it is denoted
by the +c flag for the segment listing.
+dbg flagEnable or disable the ability to run a program, and, after it is running, attach to it with a
debugger and set breakpoints in its dependent shared libraries. For shared libraries, this
flag makes the text segment mapped private and writable.
+dz flagFormat 2 only: Enable or disable lazy swap allocation for dynamically allocated segments
(such as the stack or heap).
+es flagControl the ability of user code to execute from stack with the flag values, enable and
disable. See the "Restricting Execute Permission on Stacks" section of the chatr(1)
manpage for additional information related to security issues.
+gst flagControl whether the global symbol table hash mechanism is used to look up values of
symbol 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 disable.
+gstsize sizeRequest 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. This option works on files linked with the +gst option.
+id flagControls the preference of physical memory for the data segment. This is important only
on ccNUMA (Coherent Non-Uniform Memory Architecture) systems. The flag value may
be either enable or disable. When enabled, the data segment uses interleaved memory.
When disabled (the default), the data segment uses cell local memory. This behavior is
inherited across a fork() but not an exec. For more information on ccNUMA, see
pstat_getlocality(2).
+k flagRequest kernel assisted branch prediction. The flags, enable and disable, turn this request
on and off, respectively.
+l libnameDo not subject a library to path list lookup, even if path lists are provided. That is, use
default library path stored in the executable.
+m flagFormat 2 only: Enable or disable the modification bit for a specified segment. If this is
enabled, it is denoted by the +m flag for the segment listing in the chatr output.
54 Linker Tools for Itanium-Based Systems