nld Manual

nld Utility
nld Manual528272-001
2-22
Link-Time Consistency Checking
Link-Time Consistency Checking
The nld utility checks the consistency of floating-point type combinations when linking
object files. The type of checking depends on whether the floattype attribute is
specified.
floattype Not Specified on page 2-22
floattype Specified on page 2-23
floattype Not Specified
When the floattype attribute is not explicitly set with the -set option, nld uses the
floattype attribute values of all the input object files to determine the floattype
attribute value of the output object file, as summarized in Table 2-3 on page 2-22. If the
consistency checks of the input object files result in an invalid floating-point type or an
inconsistent value, nld issues an error message and does not create an output object
file.
Table 2-3. Floating-Point Consistency Check by nld Utility
(floattype Not Specified)
Number of Input Files With
Floating-Point Type ... Consistency Check Result
Tandem IEEE Neutral
Error Message
Issued
Floating-Point type
of Output File
1 or more 0 0 or more No TANDEM_FLOAT
0 1 or more 0 or more No IEEE_FLOAT
0 0 1 or more No NEUTRAL_FLOAT
1 or more 1 or more 0 or more Yes No output object file is created