Command Reference Guide

__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man1/!!!intro.1
________________________________________________________________
___ ___
c
chatr(1) chatr(1)
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 PA64 ELF chatr
PA64 ELF
chatr is similar to SOM chatr but supports new options (and obsoletes others).
New options:
OPTIONS FOR PA64 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).
OPTIONS FOR PA64 ELF chatr (FORMAT 2)
With common options: -s, -B mode, +k flag, +r flag, +s flag,
+z flag.
+c Set the code bit for a specified segment.
+dz Enable or disable lazy swap allocation for dynamically allocated segments (such as the stack
or heap).
+m Set the modification bit for a specified segment.
+p Set the page size for a specified segment.
+sa Specify a segment using an address for a set of attribute modifications.
+sall Use all segments in the file for a set of attribute modifications.
+si Specify a segment using a segment index number for a set of attribute modifications.
chatr and MAGIC Numbers
The term shared applies to the magic number SHARE_MAGIC while the term demand-loaded applies to
the magic number DEMAND_MAGIC . See magic(4) and the HP-UX Linker and Libraries Online User
Guide for more information.
chatr labels the following type of executables in output.
SHARE_MAGIC : shared executable
DEMAND_MAGIC : demand load executable
EXEC_MAGIC: normal executable
HP-UX Release 11i: December 2000 − 3 − Section 1−−75
___
___