ld_pa.1 (2010 09)
l
ld_pa(1) PA-RISC Systems Only
ld_pa(1)
For 64-bit links, the LAST of multiple
+b options is recorded in the output file by
default. Use
+[no]concatrpath
to change this default behavior. A double
colon (
::) does not have special meaning (i.e., treated as NULL entry).
+compat This option is ignored for 32-bit links. This option turns on compatibility mode in
the linker — 64-bit links mimic behavior of 32-bit links).
+copyobjdebug
Copy objdebug space.
+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.
+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.
+ee symbol This option is similar to the
+e option in that it exports a symbol. However, unlike
the
+e option, +ee does not alter the visibility of any other symbol in the file.
In a 32-bit link or
+compat mode 64-bit link, it has the effect of exporting the
specified symbol without hiding any of the symbols exported by default. In a 64
+std 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 elimination
(+Oprocelim). Of course, +ee still retains its export behavior if an option such as
+hideallsymbols is also given.
+fb Instructs the linker to run the fastbind tool on the executable it has produced. The
executable should be linked with shared libraries. For more details refer to fast-
bind(1), the +help option, or 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 refer to fastbind (1), the
+help option, or the HP-UX Linker and Libraries User’s Guide manual. This
option is incompatible with the +ild option.
+filter shared_library_path
Enables the shared library filter mechanism, which allows you divide a large library
into a "filter" and several "implementation" libraries for more efficient organization
of shared libraries. shared_library_path specifies the location of the filter library.
See the HP-UX Linker and Libraries User’s Guide for more information.
+fini function_name
Specify the terminator (finalizer) functions to be invoked in forward order, the order
the functions appear left to right on the command line. The terminator functions
are called in reverse of the depth-first order of initializers.
Use this option while building a shared library, an incomplete executable, or fully
bound executable. Functions specified with this option should take no arguments
and return nothing (void functions). Terminators are invoked only if
main() calls
exit(). They are not called if main() calls return().
Do not use
+fini with the -r option. (The linker ignores the +fini option.)
You can specify more than one terminator function on the command line with multi-
ple option-symbol pairs, that is, each function you specify must be preceded by the
+fini option.
For more details on the terminator function, use the
+help option or see the HP-
UX Linker and Libraries User’s Guide .
+gst Enable the global symbol table hash mechanism, used to look up values of symbol
import/export entries. The +gst and related options provide performance
enhancements through use of global symbol table which improves searching for
exported symbols. See dld.sl (5) and the HP-UX Linker and Libraries Online User
Guide for more information.
HP-UX 11i Version 3: September 2010 − 7 − Hewlett-Packard Company 7