Open System Services Shell and Utilities Reference Manual (G06.25+, H06.03+)
Table Of Contents
ld(1) OSS Shell and Utilities Reference Manual
• At load time:
1. Loadfile itself
2. Libraries on the libList
3. Breadth-first transitive closure of DLLs on the libList
4. Loader loadList (libraries loaded by the program or libraries that
caused this loadfile to be loaded; this list is built from the
program’s and libraries’ libList and a breadth-first transitive clo-
sure of the libList-specified libraries)
5. Implicit libraries
A filename that is either a relative OSS pathname or a Guardian filename that is
not qualified is found using search path lists, as described in the Finding
Libraries subsection of this reference page under DESCRIPTION.
You cannot use this flag when you use the -bglobalized or -blocalized flag. The
default action is the action for the -blocalized flag.
-call_shared Tells ld to mark the linkfile specified by filename13 as the loadfile for a program.
This is the default ld action.
You cannot use this flag when you use the -dll or -shared flag.
-change attribute_name attribute_value filename3
Changes the value of the run-time attribute specified in attribute_name to the
value specified in attribute_value in the existing file specified by filename3.
For a linkfile, you can only change the values for FLOATTYPE,
FLOAT_LIB_OVERRULE, and SYSTYPE.
You can use the -set flag to set an attribute when creating a loadfile. See the -set
flag for a description of attribute_name and attribute_value.
You cannot specify other loadfile filenames or flags other than the following with
the -change flag:
-noverbose, -verbose,or-warn
-fl or -obey
-stdin
The resulting loadfile has the same ld timestamp as before.
-d address1 Specifies the hexadecimal virtual address at which the data area starts. When
creating a program file, the default value for address1 is 08000000. When creat-
ing a DLL, the default value is set to the next multiple of 16384 (0x4000) bytes
after the end of the text area.
The value specified for address1 is always hexadecimal and can optionally be
prefixed by 0x. The specified value is automatically rounded up to a multiple of
4096 (0x1000) bytes.
If you use this flag, you must also use the -t flag. If you use this flag with the -dll
or -shared flag, the value of address1 must be the next available address modulo
16384 after the text area in the DLL.
HP recommends against using this flag when creating a DLL.
5−36 Hewlett-Packard Company 527188-003