Elf_Check; Export - HP nld Manual

Table of Contents

Advertisement

nld Options
-e
Note. Use only when linking a program (not a library) that will run without the standard run-
time support facilities.
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.
-e function-name
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.
-elf_check filename
filename
the name of the loadfile to be checked for corruptions.
Note. -elf_check is a read-only operation.

-export

Specifies that a symbol is exported by the user library or SRL being created.
-export symbol_name
symbol_name
is the name of the symbol to be exported by the SRL being created.
nld and noft Manual—520384-003
3 -5
-e

Advertisement

Table of Contents
loading

This manual is also suitable for:

Noft

Table of Contents