ld Manual

Introduction to ld
ld Manual529650.001
1-16
Link-Time Consistency Checking
floattype Specified
As summarized in Table 1-2, when the floattype attribute is explicitly specified with
the -set option, any combination of floating types is allowed—ld sets the floattype
attribute value for the output object file to the specified value. If ld detects an
inconsistency between the specified floattype attribute value and that of any input
object file, it issues a warning message.
Table 1-1. Floating-Point Consistency Check by ld
(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
Table 1-2. Floating-Point Type Consistency Check by ld (floattype Specified)
Number of Input Files With
Floating-Point Type ... Consistency Check Result With floattype Set to ...
Tandem IEEE Neutral Tandem IEEE Neutral
1 or
more
00 or
more
No message.
Output file is
TANDEM_FLOAT.
Warning
message. Output
file is
IEEE_FLOAT.
Warning message.
Output file is
NEUTRAL_FLOAT.
01 or
more
0 or
more
Warning
message. Output
file is
TANDEM_FLOAT.
No message.
Output file is
IEEE_FLOAT.
Warning message.
Output file is
NEUTRAL_FLOAT.
0 0 1 or
more
Warning
message. Output
file is
TANDEM_FLOAT.
Warning
message. Output
file is
IEEE_FLOAT.
No message.
Output file is
NEUTRAL_FLOAT.
1 or
more
1 or
more
0 or
more
Warning
message. Output
file is
TANDEM_FLOAT.
Warning
message. Output
file is
IEEE_FLOAT.
Warning message.
Output file is
NEUTRAL_FLOAT.