HP-UX Reference (11i v3 07/02) - 1 User Commands A-M (vol 1)
l
ld_ia(1)
Integrity Systems Only
ld_ia(1)
RN Enable rounding to nearest (the default).
More than one mode can be specified with a comma separated list. For example:
+FP D,O,V,RZ
specifies sudden underflow, trapping on overflow and invalid, and rounding toward
zero. The commas and the space between +FP
and the modes may be omitted. Thus,
+FPDOVRZ is equivalent to +FP D,O,V,RZ.
To dynamically change these settings at run-time, see fesettrapenable(3M),
fesetflushtozero(3M), and fesetround(3M).
+I function 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 on the command line.
You can specify more than one initializer function on the command line with multiple
option-symbol pairs, that is, each initializer you specify must be preceded by the
+I
option.
This option is supported for compatibility. Use of the
+init and +fini
options is
recommended. For more details on the initializer function, use the
+help option or
see the HP-UX Linker and Libraries User’s Guide manual.
+O[no]fastaccess
This option is ignored.
+O[no]procelim
Enable [disable] the elimination of procedures and data that are not referenced by the
application. The default is +Onoprocelim .
Procedure and data elimination can occur at any optimization level, including level 0.
The elimination occurs on a per section basis; the section is removed only if all
procedures/data in the section are unreferenced. For more details use the
+help
option or see the HP-UX Linker and Libraries User’s Guide manual. This option is
incompatible with the
+ild option.
Note that compilers may pass +Oprocelim to the linker for higher optimization lev-
els; refer to compiler documentation for detail.
+Oreusedir= dir
This option is ignored and generates a warning message.
+Oselectivepercent
n
Instructs the interprocedural optimizer driver to pass the first n percent of the object
files to the high level optimizer for interprocedural optimizations such as inlining.
This option is designed to work at optimization level 4 (
+O4) in the presence of
dynamic profiling.
+Oselectivesize size
This option is accepted and ignored.
+OselectiveO3
This option is accepted and ignored.
+Ostaticprediction
This option is ignored and generates a warning message.
Defaults
Unless otherwise directed, ld names its output file a.out. The -o option overrides this. The default is
to create a dynamically linked program unless you specify the -noshared option. The default state of -a
is to search shared libraries if available, archive libraries otherwise. The default bind behavior is
deferred.
The default value of the -Z/-z option is -Z.
The +objdebug Compiler Option
The +objdebug compiler option, when used with any of the -g options, causes the debug information to
be left in the object files instead of being placed in output file. This results in shorter link times and
smaller output files.
HP-UX 11i Version 3: February 2007 − 14 − Hewlett-Packard Company 531