Open System Services Shell and Utilities Reference Manual (G06.29+, H06.08+, J06.03+)
User Commands (d - f) eld(1)
where both values are expressed in hexadecimal. If either value contains no more than 8
digits, it is automatically sign-extended to 16 digits. If dllarea_start_address is less than
dllarea_e nd_address, new addresses are assigned in ascending order; otherwise, new
addresses are assigned in descending order. The larger of the two address values is nonin-
clusive while the smaller address is inclusive.
The default values are:
dllarea_start_address
0x080000000
dllarea_e nd_address
0x070000000
• A -range specification for each DLL in the set of DLLs. This specification has the form:
-range dll_file_name dll_start_address dl l_max_size
where:
dll_file_name is a loadfile filename (the -o flag filename10 value or its equivalent)
dll_start_address
is the first location of the text space (which can be set using the -t flag)
dll_max_size includes the text space, the data space, and space for growth
The address range for a DLL begins at dll_start_address and extends through
dll_start_address+dll_max_size. Range specifications that do not overlap allow for faster
loading of DLLs. Overlapping range specifications must be created using a text editor.
Fields can be separated by spaces or tabs. Two successive hyphens indicate a comment that
extends to the end of the current line.
The eld linker appends new -range specifcations and can maintain existing -range specifications.
The -dllarea specification must be created using a text editor.
Saving Temporary Files
eld creates temporary working files while it processes command line or obey file information.
These temporary working files are given names of the form ZLDAFnnn (for all files except import
libraries and private DLL registry files), ZLDAInnn (for import libraries), or ZLDARnnn (for
private DLL registry files), where:
nnn is a unique sequentially assigned decimal number, beginning with 000
To create a final permanent file with the same name as an existing file, eld must first remove the
existing file. If eld processing is interrupted when removing and recreating the final file, the work-
ing file is preserved as a file named ZLDnnn.
The temp_i, -temp_o,or-temp_r flag allows you to save the completed working file as a tem-
porary regular file with a known filename before the original file is removed. The temporary file is
itself removed after the final permanent file is completely written.
Finding Libraries
If you specify an absolute or relative pathname for a flag’s filenamen value, no search occurs. eld
opens the specified file to see if it is a linkfile, an archive, or a DLL. If the file cannot be opened,
an error occurs.
If you specify an unqualified filename (a filename value that does not contain a / character) for the
-l or -lib flag, the OSS version of eld attempts to find the file. eld searches for libraries in the fol-
lowing locations when resolving the values specified for the -l or -lib flags:
527188-021 Hewlett-Packard Company 3−77