DLL Programmer's Guide for TNS/R Systems

Advanced DLL Facility Controls
DLL Programmers Guide for TNS/R Systems522203-002
5-6
How to Set Run-Time Attributes of Your Loadfile
the following list, which summarizes the values that can be set. The linker places these
attribute values in the loadfile being linked, in order to make them available to the
system at load time. The purpose and meaning of these attributes may not be
described in this document.
cppdialect sets the C++ dialect of the output loadfile. The only accepted value is
cppneutral. See also C++ Dialect on page 2-19
float_lib_overrule inhibits float-type checking of the program and the libraries
from which the program imports symbols. Possible values are on or off, and the
default is off. See Checking the Floating-Point Types of Liblisted Libraries on
page 2-18
floattype sets the floating-point type of the output loadfile. Possible values are
ieee, tandem, and neutral. See Setting the Floating-Point Type of a Loadfile
Being Linked on page 2-18
heap_max has a numeric value with a default of zero (0).
highpin possible values are on and off. The default is on.
highrequestors possible values are on and off. The default is on.
inspect possible values are on and off. The default is on.
libname is the name of a DLL to be the user library of the PIC program being linked.
See Specifying a User Library for a Program on page 2-11.
mainstack_max has a numeric value with a default of zero (0).
oktosettype possible values are on and off. The default is off.
pfsize is accepted for compatibility with NLD but is ignored.
process_subtype has a numeric value with a default of zero (0).
rld_unresolved possible values are error, warn, and ignore, and the default is
error. If error is set (or by default), then an unresolved symbol encountered by
the loader (rld) will result in its error termination. If the loader cannot resolve a
symbol that references data, an error occurs regardless of the setting of
rld_unresolved.
However, if the loader cannot resolve a symbol that references code, and if warn
or ignore is set, it searches for a symbol definition named
UNRESOLVED_PROCEDURE_CALLED_. If this definition is found, the symbol is
bound to this definition and either a message is put out if warn is set or no
message is put out if ignore is set.
By default, the loader finds this function defined in the system library. If invoked, it
generates a non-deferrable SIGILL signal. You can provide your own function if
you wish: the loader searches normally for this symbol, so it will use any definition
found in the searchList of the loadfile containing the unresolved reference.
runnamed possible values are on and off. The default is off.