ld_ia.1 (2010 09)
l
ld_ia(1) Integrity Systems Only
ld_ia(1)
used in conjunction with the +noobjdebug option, forces the linker to omit
+objdebug information from all object files, including objects generated with the
-r option. +copyobjdebug
is the default.
+[no]defaultrpath
+defaultrpath is the default. Include any paths that are specified with
-L in
the embedded path, unless you specify the
+b
option. If you use +b, only the path
list specified by
+b is in the embedded path.
The
+nodefaultrpath
option removes all library paths that were specified with
the
-L option from the embedded path. The linker searches the library paths
specified by the -L option at link time. At run time, the only library paths searched
are those specified by the environment variables
LD_LIBRARY_PATH and
SHLIB_PATH, library paths specified by the
+b linker option, and finally the
default library paths.
+df file Used together with the -P
option, this option specifies that file should be used as
the profile database file. The default value is
flow.data. See the discussion of
the
FLOW_DATA environment variable for more information. This option is incom-
patible with the +ild option.
+dpv Output information on procedures that were eliminated by procelim. Equivalent to
+vtype procelim.
+dumpextern filename
Valid for executables and shared library links. Instructs the linker to dump all
external symbols into the file specified by filename . This dumps all external sym-
bols referred to within the load module (a.out or shared library) but not defined
within the load module into the specified file. You can pass this file back to your
compiler using the -Bextern:filename option. For more information, see the com-
piler options, -Bextern:filename , -Bhidden, and -Bprotected.
+e symbol When building a shared library or program, mark the symbol for export to the
dynamic loader. Only symbols explicitly marked are exported. When building a
shared library, calls to symbols that are not exported are resolved internally.
If you use the
+e or +ee option with -B symbolic, references to the symbol
specified are resolved internally if defined. The runtime behavior may be different
from using +e alone.
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
+e option.
+ee symbol This option is similar to the +e option in that it exports a symbol. However, unlike
the +e option, the +ee option does not alter the visibility of any other symbol in the
file. When building a +compat mode executable, by default ld exports only those
symbols that are actually referenced by a shared library seen at link time.
The
+ee option when specified with +compat, has the effect of exporting the
specified symbol without hiding any of the symbols exported by default.
In a
+std mode link, all symbols are exported by default, so +ee is not necessary
to make a symbol visible. However, it has the additional side effect of identifying
the symbol as necessary, so that it will not be removed when using dead code elimi-
nation (+Oprocelim). The +ee option still retains its export behavior if an option
such as +hideallsymbols is also given.
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
+ee option.
+fb Instruct the linker to run the fastbind tool on the executable it has produced. The
executable should be linked with shared libraries. For more details about fast-
bind(1), use the +help option, or see the HP-UX Linker and Libraries User’s Guide
manual. This option is incompatible with the +ild option.
+fbu Pass the -u option to the fastbind tool. For more details about fastbind (1), use the
+help option, or see the HP-UX Linker and Libraries User’s Guide manual. This
option is incompatible with the +ild option.
8 Hewlett-Packard Company − 8 − HP-UX 11i Version 3: September 2010