ld_ia.1 (2011 09)
l
ld_ia(1) Integrity Systems Only
ld_ia(1)
subsequent incremental links. The incremental link option is valid for both execut-
able and shared library links.
The following options are incompatible with the
+ild option. If you specify one of
the following incompatible
ld option with +ild, the linker emits a warning mes-
sage and ignores the +ild option.
• The
-r option: create a relocatable object file.
• Strip options:
-s, -x, and
-G strip the output file.
• Optimization options:
-I, -O, -P
, -PD, -PF, +df file, +fb, +fbu, +fbs, +pgm
name, and +Oprocelim.
The following options are compatible with the
+ild
option with limitations:
•
-D offset, -R offset
Set the origin for the data and text segments. If you change the offset after the
initial incremental link, the linker performs an initial incremental link automati-
cally.
•
-k mapfile
Provide a non-default mapfile. The user specified mapfile specifications are per-
mitted with the +ild option. But you should not modify the mapfile after the ini-
tial incremental link. If the mapfile is modified after the initial link, an initial
incremental link is performed automatically.
+ildnowarn Suppress incremental-linking related warnings. By default, the linker issues all
incremental-linking related warnings. This option is ignored if used without
+ild
or +ildrelink.
+ildpad percentage
Control the amount of padding percentage the incremental linker allocates, relative
to sizes of object file structures being padded. By default the linker allocates less
than 20% of padding space. This option is ignored if used without +ild or
+ildrelink.
+ildrelink Perform an initial incremental link, regardless of the output load module.
In certain situations (for example, internal padding space is exhausted) the incre-
mental linker is forced to perform an initial incremental link. The
+ildrelink
option allows you to avoid such unexpected initial incremental links by periodically
rebuilding the output file.
+init function_name
Specify the initializer function to be invoked in reverse order, the order the func-
tions appear right to left on the command line.
You can specify more than one initializer function on the command line with multi-
ple option-symbol pairs, that is, each initializer function you specify must be pre-
ceded by the
+init option.
+instrumenter name
Specify which instrumenter to use. Only sin or caliper are recognized. Default
is caliper.
If
sin is specified, the linker invokes /opt/langtools/bin/sin automati-
cally. If
caliper is specified, /opt/langtools/bin/caliper
is automati-
cally invoked by the dynamic loader when the program is executed.
+interp filename
Change the dld path to use the program specified by filename for the "interpreter"
program as the dynamic loader. This is useful when using special versions of
dld.so for debugging.
The default path for 32-bit programs is:
/usr/lib/hpux32/uld.so:/usr/lib/hpux32/dld.so, and for 64-bit pro-
grams is: /usr/lib/hpux64/uld.so:/usr/lib/hpux64/dld.so.
+interposer
Used only when building a shared library. This will create a shared library that
can be used for interposition. When resolving references for an application with
10 Hewlett-Packard Company − 10 − HP-UX 11i Version 3: September 2011