HP-UX Reference (11i v3 07/02) - 1 User Commands A-M (vol 1)

l
ld_ia(1)
Integrity Systems Only
ld_ia(1)
+nodynhash Disable the default linker behavior of the
+gst option to create the .dynhash section
for executables or shared libraries. Use this option to eliminate generation of pre-
computed hash table information for a library or an executable that is rarely used
with the global symbol table lookup scheme or for which the overhead of storing pre-
computed hash values is too high. This option has no effect when used with the
-r
option.
+noenvvar Instruct the dynamic loader to ignore the dynamic path searching environment vari-
ables,
LD_LIBRARY_PATH
, SHLIB_PATH, and $ORIGIN at runtime. By default,
or if you specify the
+std option, the dynamic loader looks at the environment vari-
ables, that is, the environment variables are enabled. If you specify the
+compat
option or the +noenvvar option, the option takes effect and the dynamic loader
ignores the variables (the environment variables are disabled). See the
+compat or
+std options. You can display the status of this option in an executable or shared
library from the "shared library dynamic path search" output of the
chatr
command.
See chatr(1) for more information. Generally, this option is used for secure programs.
+nommap Disables the mmap feature and uses the normal buffering method to write into the
output file. NOTE: Do not use +nommap except when the system has very low
memory and the linker fails because of low memory.
+noobjdebug
Override the +objdebug compiler option, and copy all debug information to the exe-
cutable 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., leav-
ing 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. Regu-
lar expressions are described in regexp(5).
+objdebugonly
Ignore debug information from non-objdebug objects or archives and proceed in
528 Hewlett-Packard Company 11 HP-UX 11i Version 3: February 2007