HP-UX Reference (11i v1 05/09) - 1 User Commands A-M (vol 1)
l
ld(1) ld(1)
+pgm name Used together with the -P
option, this option specifies that name should be used as
the look-up name in the profile database file. The default is the basename of the out-
put file (specified by the
-o option.) This option is incompatible with the +ild
option.
+pi size Request a particular virtual memory page size that should be used for instructions.
See the +pd option for additional information.
+profilebucketsize
size
Controls the size of profiling counters. The acceptable value for this variable is 16 or
32. A warning is issued if the value specified is other than 16 or 32. The default value
of the counter is 16, which is used if a valid value is not specified. Value at linktime
can be overridden by using
PROFILE_BUCKET_SIZE
environment variable. See
the description in gprof(1) for more details.
+s Indicates that at run-time, the shared library loader can use the environment variable
SHLIB_PATH and LD_LIBRARY_PATH
(64-bit only) to locate shared libraries
needed by the executable output file that were specified with either the
-l or -l:
option. The environment variables should be set to a colon-separated list of direc-
tories. If both
+s and +b are used, their relative order on the command line indi-
cates which path list will be searched first (see the +b option).
+std This option is ignored for 32-bit links. Turns on standard mode, which is the default
in 64-bit mode. Options turned on with this option are: -dynamic. Options turned
off or ignored when this option is specified are: +compat,+noenvvar ,
-
noshared
.
+vallcompatwarnings
This option is accepted but ignored by the 64-bit ld. Show more detail for any warn-
ings 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 warn-
ings about compatibility issues between systems. This includes any functionality
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 pro-
gram start-up. By default, all behaviors are disabled. The following flags are sup-
ported (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
Section 1−−446 Hewlett-Packard Company − 10 − HP-UX 11i Version 1: September 2005