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)
+linkersyms
(Kernel virtual environment support only.) Create linker-generated symbols even if
building a shared library. The kernel with virtual environment support is built with
the -b option which by default does not create linker-generated symbols in shared
libraries. See Kernel Virtual Environment Support for more information.
+nodefaultmap
This option tells the linker not to use the default memory map. The user needs to
supply a mapfile through the
-k linker option.
+nodynhash Disables the default linker behavior of the
+gst option to create the .dynhash sec-
tion 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 stor-
ing pre-computed hash values is too high. This option has no effect when used with
the
-r option.
+noenvvar Instructs the dynamic loader to not look at the
LD_LIBRARY_PATH
, SHLIB_PATH
and $ORIGIN environment variables at runtime. This is turned on if
ld +com-
pat is specified. (The dynamic loader, however, uses the
LD_PRELOAD environ-
ment variable with the
+noenvvar option.) This is turned off by default or if
ld
+std is specified. See +compat or +std. Generally, this option is used for
secure programs (e.g. setuid).
+nosectionmerge
Used with the -r option to allow procedures to be positioned independently. The
default is to merge all procedures into a single section.
+paddata pagesize
Pads the data segment to a multiple of pagesize with zeros. This can improve page
allocation, thus reduce TLB misses.
+padtext pagesize
Pads the text segment to a multiple of pagesize with zeros. This can improve page
allocation, thus reduce TLB misses.
+pdzero Generates a zero page of 4K bytes at the beginning of the data data segment. It
also sets the default starting address of the data segment to 0x8000000000000000.
This option improves performance by reducing TLB misses by allowing the kernel to
allocate bigger data pages.
+stripunwind
Do not output the unwind table. This creates smaller executable sizes. Use this
option if you do not need the unwind table for debugging or C++ exception handling.
+tools Request that the application be linked for profiling with CXperf.
+vtype type Produces verbose output about the link operation. type can have the following
values:
files
Dump info about each object file loaded.
heap
Dump info about the size of the heap used by a link.
libraries
Dump info about libraries searched.
procelim
Dump info about sections that have been rejected by the +Oprocelim option
sections
Dump info about each input section added to the output file.
symbols
Dump info about global symbols referenced/defined from/in the input files.
all Dumps all of the above info. Same as -v.
Section 1482 Hewlett-Packard Company 14 HP-UX 11i Version 2: September 2004