To

Enable run-time use of the path list specified with the +b option at link time.

Use the option

+b enable

If +b enable and +s enable are both specified, the order in which they appear determines which search path is used first.

Disable run-time use of the path list specified with the +b option at link time.

+b disable

Enable the use of the SHLIB_PATH environment variable to perform run-time

+s enable

path list lookup of shared libraries.

 

Disable the use of the SHLIB_PATH environment variable to perform run-time

+s disable

path list lookup of shared libraries.

 

32-bit mode only: Use default library path stored in the executable even if

+l libname

path lists are provided. That is, prevent a library from looking up a path list.

 

32-bit mode only: Subject a library to path list lookup if directory path lists

-llibname

are provided. Useful for libraries that were specified with a full path name

 

at link time.

 

Set the virtual memory page size for data segments.

+pd size

Set the virtual memory page size for instructions.

+pi size

Assist branch prediction on PA-RISC 2.0 systems. Programs must be linked

+k

with +Ostaticprediction.

 

Request static branch prediction.

+r

Disable linkage table protection. Once you disable, you cannot use +protect

+protect disable

to enable linkage table protection. You have to relink the executable to turn

 

on the linkage table protection.

 

Enable or disable the automatic preloading of librtc.sl runtime library for the

+mem_check <enabledisable>

specified executable to support runtime memory leak checking. The

 

+mem_check option also directs the loader to map all shared library text

 

into the private address space of the process.

 

Using chatr for 64-bit Program Attributes

In 64-bit mode, chatr supports two different command syntaxes. One is compatible with the

32-bit command. Use it to modify files that have only a single text segment and data segment. The second command syntax allows you specify selected segments to modify. The following sections list the additional 64-bit mode options for the chatr command.

Table 10 For the 32-bit compatible syntax

To

Use the option

Set the modification bit for the file's data segment(s).

+md

Set the modification bit for the file's text segment(s).

+mi

Set the code bit for the file's data segment(s).

+cd

Set the code bit for the file's text segment(s).

+ci

Enable lazy swap on all data segments. Do not use with non-data segments.

+z

Enable run-time dereferencing of null pointers to produce a SIGSEGV signal. (This is

-z

the complement of the -Zoption.)

 

70 Linker Tools for PA-RISC Systems

Page 70
Image 70
HP UX Software Transition Kit (STK) manual Using chatr for 64-bit Program Attributes, For the 32-bit compatible syntax