HP-UX Reference (11i v2 04/09) - 1 User Commands A-M (vol 1)

l
ld_pa(1) ld_pa(1)
(For PA-RISC Systems)
+vallcompatwarnings
This option is accepted but ignored by the 64-bit
ld. Show more detail for any
warnings about compatibility issues. By default, only a terse message is printed.
See the
WARNINGS section below for further details.
+v[no]compatwarnings
This option is accepted but ignored by the 64-bit
ld. Enable [disable] printing
warnings about compatibility issues between systems. This includes any functional-
ity which may change in future releases. The default is
+vcompatwarnings
.
See the
WARNINGS section below for further details.
+v[no]shlibunsats
Enable [disable] printing a list of unsatisfied symbols used by shared libraries. The
default is
+vnoshlibunsats
. Some unsatisfied symbols reported by the linker
are not required at run time because the modules which reference the symbols are
not used.
+FP flag Specify how the environment for floating-point operations should be initialized at
program start-up. By default, all behaviors are disabled. The following flags are
supported (upper case flag enables; lower case flag disables):
V (v) Trap on invalid floating-point operations
Z (z) Trap on divide by zero
O (o) Trap on floating-point overflow
U (u) Trap on floating-point underflow
I (i) Trap on floating-point operations that produce inexact results.
D (d) Enable sudden underflow (flush to zero) of denormalized values.
Note: Enabling sudden underflow is an undefined operation on PA-RISC
1.0-based systems, but it is defined on all subsequent versions of PA-
RISC. Selecting this flag enables sudden underflow only if it is available
on the processor being used at run-time.
To dynamically change these settings at run-time, see fesettrapenable(3M).
+I symbol Specify the name of the initializer function when building a shared library. A
shared library may have multiple initializers specified. Initializers are executed in
the order that they are specified. You can specify more than one initializer, but
each must be preceded by +I. For more details on the initializer function, refer to
the +help option or the HP-UX Linker and Libraries User’s Guide manual.
+O[no]fastaccess
Enable [disable] fast access to global data. The linker rearranges the data to
further reduce the number of ADDIL instructions in the executable.
This optimization may reveal some subtle programming errors related to assump-
tions about data layout. This optimization can occur at optimization levels 2, 3 and
4. The default is
+Onofastaccess at optimization levels 2 and 3, and +Ofas-
taccess at optimization level 4.
Using the
+Ofastaccess option in the presence of debug information generates
a warning message and can cause corruption of the debug information. Avoid using
+Ofastaccess with the -g option.
This option is accepted but ignored by the 64-bit
ld.
+O[no]procelim
Enable [disable] the elimination of procedures that are not referenced by the appli-
cation. The default is +Onoprocelim. Procedure elimination can occur at any
optimization level, including level 0. For more details refer to the +help option or
the HP-UX Linker and Libraries User’s Guide manual. This option is incompatible
with the +ild option.
+Oreusedir=dir
Specify the name of the directory to use as the reuse repository for the object code
reuse feature. This directory holds the compiled object files for reuse. dir can be an
absolute or relative path to directory where you invoked the linker. The
Section 1478 Hewlett-Packard Company 10 HP-UX 11i Version 2: September 2004