Open System Services Shell and Utilities Reference Manual (G06.25+, H06.03+)
Table Of Contents
nld(1) OSS Shell and Utilities Reference Manual
-nostdlib
Prevents nld from searching the standard library locations for SRLs and archive files.
-noverbose
Prevents nld from writing warning and informational messages to its output listing. The
-verbose flag directs nld to write warning and informational messages to its output list-
ing. The default value is -noverbose.
-o filename
Specifies the filename of the output object file.
filename can be the same as the input file name. When this is true and linking is suc-
cessful, nld deletes the input file and then writes the output file. An error occurs if you
do not have permission to delete the input file.
If you do not specify a -o flag, the default output filename is a.out.
{ -obey | -fl } filename
Specifies the name of an nld command file containing nld command tokens (such as
filenames and command flag specifications).
filename is a C text file. Tokens can be separated by spaces, tabs, or ends of lines.
Within the command file, two hyphens indicate a comment that extends to the end of
the current line. Command files can be nested and there is no limit to the depth of nest-
ing. Recursive nesting does not cause an error; nld does not read the same command
file more than once.
-r Directs nld to create a relinkable object file for later use as an nld input file, instead of
creating an executable object file. nld creates an executable object file by default.
-rename old-name new-name
Changes the symbol name of an externally visible procedure or data item. old-name is
the name of the procedure or data item to rename. new-name is the new name to give
the procedure or data item. See the nld and noft Manual for details.
-s Removes symbol information used for linking and symbolic debugging from the output
executable object file. A file stripped of all symbol information cannot be symbolically
debugged with the Inspect debugger or linked again by nld.
You can use this flag only when creating an executable object file. If you specify both
the -r and -s flags, the -s flag is ignored. To strip all symbol information from an exist-
ing executable object file, use the -strip flag. You can strip only the symbol informa-
tion used for symbolic debugging with the -x flag.
-set attribute-name attribute-value
Sets the value of the run-time attribute specified in attribute-name to the value
specified in attribute-value when creating a relinkable or executable object file. Use
the -change flag to change a run-time attribute in an existing relinkable or executable
object file.
Each attribute-name has a corresponding range of accepted attribute-values as follows:
• FLOATTYPE is one of the following:
IEEE_FLOAT
NEUTRAL_FLOAT
TANDEM_FLOAT
If FLOATTYPE is specified more than once, all occurrences except the final
one are ignored.
6−44 Hewlett-Packard Company 527188-003