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

User Commands (m - o) nld(1)
NAME
nld - Creates a non-PIC executable object le (loadle) from one or more relinkable non-PIC
object les (linkles)
SYNOPSIS
nld
[ -allow_duplicate_procs
]
[ -allow_missing_libs
]
[ -allow_multiple_mains
]
[ -ansistreams ]
[ -bdynamic ]
[ -bstatic ]
[ -change attribute-name attribute-value
lename ]
[ -e name ]
[ -elf_check lename ]
[ -export symbol_name ]
[ -import symbol_name { lename | =srlname }]
[{-l | -lib } lename ]
[{-L | -libvol } pathname ]
[ -libname Guardian_lename ]
[ -nostdles ]
[ -nostdlib ]
[ -noverbose ]
[ -o lename ]
[{-obey | - } lename ]
[ -r ]
[ -rename old-name new-name ]
[ -s ]
[ -set attribute-name attribute-value ]
[ -stdin ]
[ -strip lename ]
[ -ul ]
[ -verbose ]
[ -x ]
[ -y symbol ]
[ obj-lename ] ...
FLAGS
-allow_duplicate_procs
Tells nld to unconditionally accept multiple copies of a procedure, rather than to allow
only procedures specically 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 rst copy of the duplicated
procedure is the one that is kept. When building an executable le, no space is allo-
cated for the unused copies.
-allow_missing_libs
Tells nld not to stop processing the input le when it cannot nd an archive or a shared
run-time library (SRL) after searching for the name specied by a -l or -lib ag.
Instead, a warning message is issued and processing continues.
527188-003 Hewlett-Packard Company 641