chatr_pa.1 (2010 09)

c
chatr_pa(1)
PA-RISC Systems Only
chatr_pa(1)
NAME
chatr_pa: chatr - change program’s internal attributes on PA-RISC systems
SYNOPSIS
PA-RISC 32-bit SOM chatr
chatr [-nqsMN [z|Z
]] [-l library ][-B mode][+b flag][+dbg flag][
+es flag]
[
+mergeseg flag][+gst
flag][+gstbuckets size ][+gstsize size ][+k flag][+l
library ]
[
+mem_check flag][+pd size][
+pi size][+plabel_cache
flag][+q3p flag][+q4p flag]
[
+r flag][+rtc flag][
+s flag][+z flag] file ...
PA-RISC 64-bit ELF chatr
There are two possible syntactic forms that can be used to invoke PA-RISC 64-bit
chatr.
FORMAT 1: The first syntactic form, which is compatible with the SOM
chatr, is used for back-
ward compatibility, and for easy manipulation of ordinary files that only have a single text and a
single data segment:
chatr [-nqszZ][-l library ][
-B mode][+b flag][+cd flag][+ci
flag][+es flag][+gst flag]
[
+gstsize size ][+k flag][
+l library ][+md flag][+mem_check flag][+mi
flag][+pd size]
[
+pi size][+rtc flag][
+s flag][+z flag] file ...
FORMAT 2: The second syntactic form provides the ability to explicitly specify segments to be
modified:
chatr [-s][-B mode][+c flag][+dz flag][
+k flag][+m flag][+p size][+r flag][+s flag]
[
+si index | +sa address | +sall ][+z flag] file ...
Remarks
This manpage describes
chatr on PA-RISC systems. For chatr
on Integrity systems, see chatr_ia (1).
DESCRIPTION
chatr allows you to change a programs internal attributes for 32-bit mode SOM and 64-bit mode ELF
files.
Upon completion,
chatr prints the file’s old and new values to standard output unless
-s is specified.
The
+pd and +pi options only provide a hint for the virtual memory page size. The actual page sizes
may vary. Under certain conditions, page size hints of L may result in better performance, depending on
the specific memory requirements of the application.
The performance of some applications may benefit from static branch prediction, others may not. The
+r
option provides a hint for using or avoiding this feature.
The
+gst and related options provide performance enhancements through use of global symbol table
which improves searching for exported symbols. See dld.sl (5) and the HP-UX Linker and Libraries
Online User Guide for more information.
Common Options For PA-RISC 32-bit SOM And PA-RISC 64-bit ELF (FORMAT 1) chatr
chatr, by default, prints each file’s magic number and file attributes to the standard output.
-l library Indicate that the specified shared library is subject to run-time path lookup if directory
path lists are provided (see +s and +b).
-n Change file from demand-loaded (DEMAND_MAGIC) to shared (SHARE_MAGIC)(Ignored
in PA-RISC 64-bit FORMAT 1.)
-q Change file from shared (SHARE_MAGIC) to demand-loaded (DEMAND_MAGIC).
(Ignored in PA-RISC 64-bit FORMAT 1.)
-s Perform its operation silently. (Available with the PA-RISC 64-bit FORMAT 2 com-
mand.)
-B mode Select run-time binding behavior mode of a program using shared libraries. You must
specify one of the major binding modes immediate or deferred. One or more of the
binding modifiers nonfatal, verbose,or restricted can also be specified, each
with a separate option. See the HP-UX Linker and Libraries User’s Guide manual for a
description of binding modes. (Available with the PA-RISC 64-bit FORMAT 2 command.)
+b flag Control 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
HP-UX 11i Version 3: September 2010 1 Hewlett-Packard Company 1

Summary of content (8 pages)