Open System Services Shell and Utilities Reference Manual (G06.29+, H06.08+, J06.03+)
eld(1) OSS Shell and Utilities Reference Manual
-dll | -shared The file is to be a DLL.
You cannot use this flag when you use the -call_shared or -r flag.
-r The file is to be a linkfile. If there is only one input file, the new
linkfile has the same fingerprint as the input file.
You cannot use this flag when you use the -call_shared, -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. See
the -set flag for a description of attribute_name and attribute_value.
For a linkfile, you can only change the value for FLOATTYPE and
DATA_MODEL. The value for LIBNAME can only be changed for program
files. If LIBNAME is specified with a null value ("") for attribute_value, the
existing user library name is removed from the program file filename3.
The INCOMPLETE attribute only applies to an import library; the -change flag
can be used to turn it ON but cannot be used to turn it off.
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 eld timestamp as before.
-check_registry filename4
Tells eld to check the -range entry in the private DLL registry identified as
filename4 for an address range for the file specified as filename11 and verify that
the DLL being created can fit into the range found.
If neither the -check_registry flag nor the -update_registry flag is specified, eld
does not use a private DLL registry.
You must also use the -dll flag when you use this flag. You cannot use the follow-
ing flags when you use the
-check_registry fl
ag:
-d or -t
-grow_data_amount, -grow_limit, -grow_percent,or-grow_text_amount
-update_registry
-cross_dll_cleanup
Discards a procedure in an input linkfile if a procedure of the same name exists in
one of the other DLLs you specified. The reference to the symbol is resolved to
the copy of the symbol that is in the DLL.
Without the use of the -cross_dll_cleanup flag, input linkfiles can contain multi-
ple copies of the same global procedure, all marked STO_MULTIPLE_DEF_OK,
and eld discards the code for all except one copy of the procedure.
When the -cross_dll_cleanup flag is used and a procedure of the same name is
found in a DLL, eld discards the code for even the last copy of the procedure, and
instead resolves references to the procedure to the copy found in the DLL. Using
this flag allows you to reduce the size of the loadfile (program or DLL) you create.
When this flag is used, all the input linkfiles must have been compiled using the -
Wglobalized flag.
3−62 Hewlett-Packard Company 527188-021