ld_pa.1 (2010 09)
l
ld_pa(1) PA-RISC Systems Only
ld_pa(1)
-nbucket bucketsizetype
Specify the bucketsizetype
to optimize the hash table size (number of hash
buckets). The valid values for bucketsizetype are:
n/2 Sets the number of hash buckets to half the number of dynamic sym-
bols in the library.
pow2 Sets the number of hash buckets to the highest power of 2 that is less
than the number of dynamic symbols in the library.
prime Sets the number of hash buckets to the largest prime number that is
less than the number of dynamic symbols in the library. (This option
is the default.)
-symbolic symbol
When building a shared library, causes the linker to resolve all references to the
specified symbol to the symbol defined in the library. This option is similar to
-B
symbolic, but operates on a per symbol basis.
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
-symbolic
option.
symbol can also be a regular expression that matches multiple symbol names. Reg-
ular expressions are described in regexp (5).
-w Suppress all warnings.
+alloc_hidden_commons
Force storage allocation for hidden "common" symbols in
-r output. This is similar
to the
-d option, which allocates storage for all "common" symbols. If
+alloc_hidden_commons
is specified in combination with the -d option, -d
will take precedence.
+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]concatrpath
[Disable] Enable concatenation of search path specified using
+b path_list.
+[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.
+[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.
14 Hewlett-Packard Company − 14 − HP-UX 11i Version 3: September 2010