nld and noft Manual

nld Options
nld and noft Manual520384-003
3-5
-e
-e
Identifies the function at which the program is to begin executing when the program is
loaded. Without -e, the program begins executing at the function that has the MAIN
attribute.
function-name
is the name of the function at which the program is to begin executing when the
program is loaded.
-elf_check
Causes nld to check a loadfile for corruptions that were caused by older versions of
nld and Guardian. These corruptions might have occurred in the following situations:
Unresolved references in the data portion of the file that were not aligned on 4-byte
boundaries were later resolved.
The PC version of nld changed the file header during an SRL fixup operation.
filename
the name of the loadfile to be checked for corruptions.
-export
Specifies that a symbol is exported by the user library or SRL being created.
symbol_name
is the name of the symbol to be exported by the SRL being created.
Note. Use only when linking a program (not a library) that will run without the standard run-
time support facilities.
-e function-name
-elf_check filename
Note. -elf_check is a read-only operation.
-export symbol_name