Open System Services Shell and Utilities Reference Manual (G06.25+, H06.03+)
Table Of Contents
User Commands (d - f) eld(1)
Input Files
eld cannot process a linkfile that contains a code section larger than 16 megabytes. This size res-
triction is imposed by the Itanium standard.
Output Files
eld creates loadfiles on the host platform with an OSS file mode of 777 (rwxrwxrwx), which is
then ANDed with the umask value of the user creating the file. eld creates all other object files
with an OSS file mode of 666 (r-xr-xr-x), which is then ANDed with the umask value of the user
creating the file.
Any text file created by ld in the Guardian file system has a file code of 180. You can use the
CTOEDIT utility to convert such files to code 101 files for viewing with TEDIT.
Loadfiles or linkfiles created in the Guardian file system have a Guardian file code of 800.
Maintaining DLL Registry Files
A DLL registry file is a C text file that contains attribute information associated with a set of
DLLs. The file contains:
• An optional -dllarea specification that defines the first and last addresses of the virtual
memory area that is to be assigned to all DLLs. This specification has the form:
-dllarea dllarea_start_address dllarea_end_address
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_end_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_end_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 dll_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.
527188-003 Hewlett-Packard Company 3−75