HP-UX Reference (11i v2 07/12) - 1 User Commands A-M (vol 1)
l
ld_pa(1)
PA-RISC Systems Only
ld_pa(1)
is specified. See +compat or
+std. Generally, this option is used for secure pro-
grams (e.g.
setuid).
+noprocelim_sym
symbol [+noprocelim_sym
symbol]...
Do not remove symbol when using dead code elimination (
+Oprocelim ). This
option can be used for hidden symbols as well as exported symbols.
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
+noprocelim_sym
option.
+nosectionmerge
Used with the -r option to allow procedures to be positioned independently. The
default is to merge all procedures into a single section.
+nosymb symbol
When building a shared library with -B symbolic
, causes the linker to exclude the
specified symbol from
-B symbolic symbol resolution.
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
+nosymb
option.
symbol can also be a regular expression that matches multiple symbol names. Regu-
lar expressions are described in regexp(5).
+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 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 +Opro-
celim
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.
Defaults
Unless otherwise directed, ld names its output a.out. The -o option overrides this. Executable output
files are of type SHARE_MAGIC . The default state of -a is to search shared libraries if available, archive
libraries otherwise. The default bind behavior is deferred.
The default value of the -Z/-z option is -Z.
For 64-bit mode, +std is on by default.
534 Hewlett-Packard Company − 16 − HP-UX 11i Version 2: December 2007 Update