HP-UX Reference (11i v2 04/09) - 1 User Commands A-M (vol 1)

l
ld_pa(1) ld_pa(1)
(For PA-RISC Systems)
resort, searches for the shared libraries in its absolute, recorded path in the
a.out. You can
specify more than one shared library oldpath:newpath, but each must be preceded by the
+cdp option.
+cg pathname
Specify the use of pathname as the code generator for compiling ISOMs to SOMs. See the dis-
cussion of profile based optimization in the HP-UX Linker and Libraries Online User’s Guide
for more information.
+dpv
Display verbose messages regarding procedures which have been removed due to dead pro-
cedure elimination. The symbol name, input object file, and the size (in bytes) of the deleted
procedure are displayed. The total size (in bytes) of the deleted procedures is also displayed.
+eafilename
Exports all the symbols in the file filename.
+gstbuckets size
Request a particular number of buckets per entry using the global symbol table hash mechan-
ism. The default value is 3. The value can be overridden at runtime by setting the
_HP_DLDOPTS environment variable to the value -symtab_buckets
number. You can set
the value using
chatr +gstbuckets size file.
+nosmartbind
Disable SmartBind when binding a shared library. With this option enabled, the linker places
all symbols in the link into a single SmartBind module instead of placing each .o file in its
own module.
+plabel_cache
Enable the plabel caching mechanism. Use this option with the +gst option.
This option is only effective with C++. In C++ applications, the dynamic loader needs to
repetitively access PLABEL information (import stub). In order to make this access faster, the
dynamic loader uses the global symbol table structure to also contain PLABEL entries. This
behavior is enabled when the PLABEL_CACHE flag is set in the dl_header structure (enabled
ld +plabel_cache enable a.out or
chatr +plabel_cache enable a.out).
PA-RISC 64-Bit Options
+allowrorelocs
(Kernel virtual environment support only.) Allow generation of dynamic relocations
in read-only sections such as .text and .rodata. Normally the linker emits an
error message when a dynamic relocation is required in read-only sections. See
Kernel Virtual Environment Support for more information.
+[no]allowunsats
+allowunsats Does not flag errors if the resulting output file has unsatisfied
symbols. This is the default for relocatable links and shared library builds.
+noallowunsats Flags an error if the resulting output file has unsatisfied sym-
bols. This is the default for program files.
+[no]forceload
+forceload loads all object files from archive libraries. +noforceload is the
default — loads only the required object files from archive libraries. The mode that
is selected, either explicitly or by default, remains on until it is changed.
+hideallsymbols
This option is used to prevent all the symbols from being exported unless explicitly
exported with the +e.
+ild Specify incremental linking.
If the output file does not exist, or if it was created without the
+ild option, the
linker performs an initial incremental link. The output file produced is suitable for
subsequent incremental links. The incremental link option is valid for both execut-
able and shared library links.
Note: The HP WDB symbolic debugger only supports debugging of incrementally
linked load modules that you create with the +objdebug compiler option enabled.
(The HP DDE debugger does not support the +ild option.)
Section 1−−480 Hewlett-Packard Company − 12 − HP-UX 11i Version 2: September 2004