HP-UX HB v13.00 Ch-11 - Software Development

HP-UX Handbook Rev 13.00 Page 36 (of 101)
Chapter 11 Software Development
October 29, 2013
Types Of Executables
The usage of the quadrants Q1 and Q2 define the type of an executable. The first line of the
chatr(1) output on PA-RISC will show:
chatr(1) Label
Executable Type
Quadrant Usage
shared executable
SHARE_MAGIC
Q1 shared, text only, Q2 private
normal executable
EXEC_MAGIC
Q1 private, text+data, Q2 private
normal SHMEM_MAGIC executable
SHMEM_MAGIC
Q1 private, text+data, Q2 shared
On Itanium, the chatr(1) output contains a separate line that shows the address space model:
Address space model
Quadrant Usage
SHARE_MAGIC
Q1 shared, text only, Q2 private
EXEC_MAGIC
Q1 private, text+data, Q2 private
SHMEM_MAGIC
Q1 private, text+data, Q2 shared
MPAS
Q1 private, text+data, Q2-Q4
mostly private, shared regions
possible