Open System Services Shell and Utilities Reference Manual (G06.29+, H06.08+, J06.03+)

eld(1) OSS Shell and Utilities Reference Manual
uses the DLL_name value.
If you do not specify DLL_name but use the -o flag, the output loadfile unqualified
filename is used as the DLL name stored in the DLL being created; that is, only
the unqualified part (rightmost part) of the output file pathname is used.
If you omit both a DLL_name and the -o flag, the output loadfile filename 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 files.
-e symbol_name1
Specifies a function identifier. The specified 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 flag 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 file system) or ccplmain.o (in the OSS file system)
that contains a function with the MAIN attribute. Do not use this flag for libraries.
{ -export | -exported_symbol } symbol_name2
Tells eld to mark symbol_name2 for export in the output loadfile in addition to
those normally marked. This flag can be used with the -export_not or
-hidden_symbol flag to create sets of symbols to be exported.
The same symbol cannot be specified as symbol_name2 in an -export flag and as
symbol_name3 in an -export_not flag.
The default action when the -ul flag is not used is to export only those symbols
marked by a compiler as requiring export.
-export_all Tells eld to mark as exported all symbols in the dynamic symbol table of the out-
put loadfile except for the following:
Linker-defined symbols other than _MCB (for the master control block)
Procedures whose names begin with __sti__ (global constructors),
__std__ (global destructors), __INIT__ (initialization functions), or
__TERM__ (termination functions)
This flag can be used with the -export_not or -hidden_symbol flag to create a
subset of symbols to be exported.
The default action when the -ul flag is not used is to export only those symbols
marked by a compiler as requiring export.
{ -export_not | -hidden_symbol } symbol_name3
Tells eld not to mark symbol_name3 for export in the output loadfile. This flag
can be used with the -export_all flag to create sets of symbols to be exported.
The same symbol cannot be specified as symbol_name3 in
an -export_not flag
and as symbol_name2 in an -export flag.
The default action when the -ul flag is not used is to export only those symbols
marked by a compiler as requiring export.
-first_l pathname1
Tells eld to use the specified pathname when searching for libraries. pathname1 is
used in library searches before the public libraries are searched.
pathname1 is either the relative or absolute pathname of an OSS directory.
eld does not verify the names of locations specified in the -first_l flag.
364 Hewlett-Packard Company 527188-021