HP-UX Reference (11i v2 07/12) - 1 User Commands A-M (vol 1)
l
ld_ia(1)
Integrity Systems Only
ld_ia(1)
+padtext pagesize
Pads the text segment to a multiple of pagesize with zeros. This can improve page
allocation, thus reduce TLB misses by allowing the kernel to allocate fewer, larger
data pages. Use of this option increases your output file size.
+pd size Request a particular virtual memory page size that should be used for data. Sizes of
4K, 16K, 64K, 256K,
1M, 4M, 16M, 64M, 256M, D, and L are supported.
A size of
D allows the kernel to choose what page size should be used. A size of
L
results in using the largest page size available. The actual page size may vary if the
requested size cannot be fulfilled.
+pdzero This option is ignored.
+pgm name With the -P option, specify that name should be used as the look-up name in the
profile database file. The default is the basename of the output file (specified by the
-o option.) This option is incompatible with the
+ild option.
+pi size Request a particular virtual memory page size that should be used for instructions.
See the +pd option for additional information.
+plabel_cache flag
This option is ignored.
+profilebucketsize
[16|32]
Specifies the size of the profiling sample counter buckets. Valid values are 16 or 32.
See gprof(1) for more details.
+s This option is the default. Indicate that at run-time, the dynamic loader can use the
environment variables SHLIB_PATH and LD_LIBRARY_PATH
to locate shared
libraries needed by the executable output file that allow dynamic library searching.
Shared libraries that allow dynamic library searching either contain an internal name
without the slash (
/) character (for example, the base name of the shared library
pathname) or have no internal name and were specified with either -l or -L
, or just
the base name of the shared library pathname. The environment variables should be
set to a colon-separated list of directories.
In compatibility mode using the
+compat option, if both +s and +b are used, their
relative order on the command line indicates which path list is searched first (see the
+b option). In standard mode (default mode or using the +std option), the order of
+s and +b does not affect the dynamic loader search order and the environment vari-
ables are always searched first.
+rpathfirst
This option will cause the paths specified in RPATH (embedded path) to be used before
the paths specified in LD_LIBRARY_PATH
or SHLIB_PATH , in searching for
shared libraries. This changes the default search order of
LD_LIBRARY_PATH
,
SHLIB_PATH , and RPATH (embedded path).
+std This option is the default. Turn on standard mode of the linker. This option is the
complement of the
+compat option. Options set on with this option are:
-dynamic. Options set off or ignored when this option is specified are: +compat,
+noenvvar, -noshared .
+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 aC++ exception handling.
NOTE: Use of the
+stripunwind option might impair or prevent the use of a sym-
bolic debugger on the resulting program.
+tools This option is ignored.
+vallcompatwarnings
This option is ignored.
+v[no]compatwarnings
This option is ignored.
510 Hewlett-Packard Company − 13 − HP-UX 11i Version 2: December 2007 Update