HP-UX Reference (11i v1 05/09) - 1 User Commands A-M (vol 1)
c
chatr(1) chatr(1)
Options For PA-RISC 32-bit SOM chatr Only
-M Change file from EXEC_MAGIC to SHMEM_MAGIC
. (This option is an interim solution
until 64-bit addressability is available with a true 64-bit kernel. See "chatr and Magic
Numbers" and "Using SHMEM_MAGIC" below.)
-N Change file from SHMEM_MAGIC to EXEC_MAGIC
. (This option is an interim solution
until 64-bit addressability is available with a true 64-bit kernel. See "chatr and Magic
Numbers" below.)
+gstbuckets size
Request a particular number of buckets per entry using the global symbol table hash
mechanism. The value can vary between 1 and
MAXINT. The default value is 3. Use this
option with
+gst enable.
+plabel_cache
flag
Control the use of the plabel caching mechanism. The flags
enable and disable turn
this request on and off, respectively. The default is
disable. Use this option with
+gst
enable
.
This option is effective with C++. In C++ applications, the dynamic loader needs to repeti-
tively access PLABEL information (import stub). In order to make this access faster, the
dynamic loader uses the global symbol table structure to also contain PLABEL entries.
This behavior is enabled when the PLABEL_CACHE flag is set in the dl_header structure
(enabled ld +plabel_cache enable a.out
or chatr +plabel_cache
enable a.out
).
+q3p flag Control the flag bit setting to indicate how 32-bit processes use the third quadrant as data
space.
The enable flag sets the flag bit to indicate that 32-bit processes use the third quadrant
as a private data space. By setting the bit, the private data space increases from 1.9GB to
2.85GB for 32-bit processes.
The disable flag unsets the bit, which returns the third quadrant to the default state, in
which it is used for shared memory.
This flag mechanism differs from how to set usage for the first and second quadrants. Set
these values by using the magic number of the executable. (See the -M and -N options.)
+q4p flag Control the flag bit setting to indicate how 32-bit processes use the third and fourth qua-
drant as data space.
The enable flag sets the flag bit to indicate that 32-bit processes use the fourth quadrant
as a private data space. By setting the +q4p flag bit, the private data space increases from
1.9GB to 3.8GB for 32-bit processes. When you set the fourth quadrant for private data
space, the third quadrant is automatically set for use as private data space, ignoring the
current +q3p value.
The disable flag unsets the flag bit, which returns the fourth quadrant to the default
state, in which it is used for shared memory. With +q4p disable, the value of the
+q3p flag controls whether the third quadrant is used as a private data space or for shared
memory.
This flag mechanism differs from how to set usage for the first and second quadrants. Set
these values by using the magic number of the executable. (See the -M and -N options.)
Options For PA-RISC 64-bit ELF chatr
PA-RISC 64-bit ELF chatr is similar to SOM chatr but supports new options (and obsoletes others).
New options:
OPTIONS FOR PA-RISC 64-bit ELF chatr (FORMAT 1)
+cd
Set the code bit for the file’s data segment(s).
+ci Set the code bit for the file’s text segments(s).
+md Set the modification bit for the file’s data segment(s).
+mi Set the modification bit for the file’s text segment(s).
HP-UX 11i Version 1: September 2005 − 3 − Hewlett-Packard Company Section 1−−75