Open System Services Shell and Utilities Reference Manual (G06.27+, H06.04+)

eld(1) OSS Shell and Utilities Reference Manual
at the next 64K boundary after the end of the text segment. The -d ag can be
used to place the data segment at some other address, rather than directly after its
text segment. You should do this only if there is a special need to do so; HP
recommends using the default placement whenever possible.
You cannot use this ag if you use the -check_registry or -update_registry ags.
-data_resident Species that the loadle being created can contain both resident code and vari-
able data.
When you create a loadle with both resident code and variable data, you must
either specify the -data_resident ag or the -instance_data ag with one of the
values data2, data2hidden,ordata2protected. Otherwise, an error occurs and
no loadle is created.
When you use the -data_resident ag, eld also sets the
EF_TANDEM_DATA_RESIDENT
bit in the e_ags eld of the le header.
This is a special ag that can be used when building a proto-process.
{-dllname | -soname } DLL_name
Tells eld the DLL name to store in the DLL being created. When this DLL is
specied in the link step of another loadle, the DLL name stored in this DLL is
placed in the libList of the loadle for later use by rld or the eld -alf ag when
searching for DLLs.
If the DLL being created will reside in the Guardian le system, DLL_name must
conform to Guardian lename rules. If the DLL being created will reside in the
OSS le system, DLL_name must conform to OSS pathname rules. If you want
the DLL to be able to reside in either le system, use an unqualied Guardian le
identier as both its DLL_name and its OSS lename.
If you specify both a DLL_name and the -o ag, the output loadle le name is
determined by the -o specication and DLL_name is saved in the DLL being
created. HP recommends that you do not do this unless there is a specic need to
do so; making DLL_name differ from the DLLs le name can cause problems,
especially when the DLL needs to reside in both the OSS and Guardian le sys-
tems.
If you specify DLL_name but do not use the -o ag, the output loadle le name
uses the DLL_name value.
If you do not specify DLL_name but use the -o ag, the output loadle unqualied
lename is used as the DLL name stored in the DLL being created; that is, only
the unqualied part (rightmost part) of the output le pathname is used.
If you omit both a DLL_name and the -o ag, the output loadle lename and
DLL_name in the libList both default to a.out. HP recommends against using this
default value because it is too generic to allow for proper administration of les.
-e symbol_name1
Species a function identier. The specied function is the entry point, that is, the
point at which to begin executing the program when the program is loaded.
You should use this ag only when linking a program that will execute without
standard run-time support facilities and without linking a module such as
CCPLMAIN (in the Guardian le system) or ccplmain.o (in the OSS le system)
that contains a function with the MAIN attribute. Do not use this ag for libraries.
362 Hewlett-Packard Company 527188-004