ld_ia.1 (2011 09)

l
ld_ia(1) Integrity Systems Only
ld_ia(1)
RU Enable rounding upward (toward +Infinity).
RD Enable rounding downward (toward -Infinity).
RZ Enable rounding toward zero (truncate, chop).
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 multi-
ple 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]dynopt
Enable [disable] dynamic optimization for this load module. The default setting
allows the run-time environment to enable or disable dynamic optimization. This is
a unique setting that is only used when neither option is specified.
+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
levels; 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 pres-
ence 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
HP-UX 11i Version 3: September 2011 15 Hewlett-Packard Company 15