Command Reference Guide

__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man1/!!!intro.1
________________________________________________________________
___ ___
l
ld(1) ld(1)
When archive members are not compiled with +objdebug (and they contain debug
information, that is, they were compiled with -g), the debug information from the
archive members is copied into the a.out by default. The linker does not copy debug
information from shared libraries into the a.out, regardless of whether they are
compiled with +objdebug or +noobjdebug .
Use the +noobjdebug option when linking to explicitly tell the linker to copy all
debug information to the executable file, even from files compiled with +objdebug.
+objdebugonly
Ignore debug information from non-objdebug objects or archives and proceed in
+objdebug mode. This option can be passed from the C or C++ compiler command
line as -Wl,+objdebugonly. If you are debugging only files compiled with the
+objdebug option, +objdebugonly can improve link time by instructing the
linker to bypass the processing of debug information from files compiled with
+noobjdebug . With the +objdebugonly option, the linker suppresses the call
to pxdb.
+pd size Request a particular virtual memory page size that should be used for data. Sizes of
4K, 16K, 64K, 256K,
1M, 4M, 16M, 64M, 256M, D, and L are supported. A size of
D
allows the kernel to choose what page size should be used. A size of
L will result in
using the largest page size available. The actual page size may vary if the requested
size cannot be fulfilled.
+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.
+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
HP-UX Release 11i: December 2000 − 7 − Section 1−−429
___
___