ld_ia.1 (2010 09)

l
ld_ia(1) Integrity Systems Only
ld_ia(1)
+nommap Disables the mmap feature and uses the normal buffering method to write into the
output file. NOTE: Do not use
+nommap unless in cases like the system has very
low memory and the linker fails because of this.
+noobjdebug
Override the +objdebug compiler option, and copy all debug information to the
executable file. When you use the +objdebug
compiler option with any of the -g
options, linker leaves the debug information in the object files instead of copying it
over to the output file. You can use the
+noobjdebug option at link time to force
the linker to copy the debug information over to the output file and negate the effect
of the
+objdebug compiler option. See also +nocopyobjdebug
.
+noprocelim_sym
symbol [+noprocelim_sym
symbol]...
Do not remove symbol when using dead code elimination (
+Oprocelim). This
option can be used for hidden symbols as well as exported symbols.
You can specify more than one symbol on the command line with multiple option-
symbol pairs, that is, each symbol you specify must be preceded by the
+noprocelim_sym
option.
+nosectionmerge
With the -r option, allow procedures to be positioned independently. The default is
to merge all procedures into a single section.
+nosmartbind
This option is ignored.
+nosrcpos The compiler option +srcpos is the default. +srcpos causes the compiler to gen-
erate part of the debug information even when the compiler option -g is not
specified. The default +srcpos option also causes part of the debug information to
be always copied over to the executable file, resulting in larger executables.
+srcpos enables the users to profile programs using tools like cxperf,
caliper, and sin, even in the absence of -g compilation.
The linker option
+nosrcpos can be used to override the default +srcpos com-
piler option, and strip these debug information during link time. +nosrcpos can
also be used with -g +objdebug to fully enforce the
+objdebug mode (i.e.,
leaving the debug information in the object files).
+nosymb symbol
When building a shared library with -B symbolic, causes the linker to exclude
the specified symbol from -B symbolic symbol resolution.
You can specify more than one symbol on the command line with multiple option-
symbol pairs, that is, each symbol you specify must be preceded by the
+nosymb
option.
symbol can also be a regular expression that matches multiple symbol names. Reg-
ular expressions are described in regexp (5).
+objdebugonly
Ignore debug information from non-objdebug objects or archives and proceed in
+objdebug mode. 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.
+origin shared_library_name -lx
(Use only before the -l option or the name of a shared library.) Cause the linker
to add $ORIGIN before the shared library name in the shared library list and set
the DF_ORIGIN flag for the output module. At runtime, the dynamic loader deter-
mines the current directory of the parent module (object module, shared library, or
executable) and replaces $ORIGIN for that directory name. For example,
$
ld -dynamic main.o +origin libx.so -L /usr/lib/hpux32/
-lc
While the +origin option is available, the recommended way to specify $ORIGIN
is in the embedded path with the +b option, for example,
12 Hewlett-Packard Company 12 HP-UX 11i Version 3: September 2010