Open System Services Shell and Utilities Reference Manual (G06.25+, H06.03+)
Table Of Contents
User Commands (m - o) nld(1)
NAME
nld - Creates a non-PIC executable object file (loadfile) from one or more relinkable non-PIC
object files (linkfiles)
SYNOPSIS
nld
[ -allow_duplicate_procs
]
[ -allow_missing_libs
]
[ -allow_multiple_mains
]
[ -ansistreams ]
[ -bdynamic ]
[ -bstatic ]
[ -change attribute-name attribute-value
filename ]
[ -e name ]
[ -elf_check filename ]
[ -export symbol_name ]
[ -import symbol_name { filename | =srlname }]
[{-l | -lib } filename ]
[{-L | -libvol } pathname ]
[ -libname Guardian_filename ]
[ -nostdfiles ]
[ -nostdlib ]
[ -noverbose ]
[ -o filename ]
[{-obey | -fl } filename ]
[ -r ]
[ -rename old-name new-name ]
[ -s ]
[ -set attribute-name attribute-value ]
[ -stdin ]
[ -strip filename ]
[ -ul ]
[ -verbose ]
[ -x ]
[ -y symbol ]
[ obj-filename ] ...
FLAGS
-allow_duplicate_procs
Tells nld to unconditionally accept multiple copies of a procedure, rather than to allow
only procedures specifically marked as duplicatable by C++. The only check made is
that all copies of the procedure have the same procedure attributes; it is an acceptable
condition, for example, if they have different sizes. The first copy of the duplicated
procedure is the one that is kept. When building an executable file, no space is allo-
cated for the unused copies.
-allow_missing_libs
Tells nld not to stop processing the input file when it cannot find an archive or a shared
run-time library (SRL) after searching for the name specified by a -l or -lib flag.
Instead, a warning message is issued and processing continues.
527188-003 Hewlett-Packard Company 6−41