Path: | icdoc!zmact61 |
From: | zmact61@doc.ic.ac.uk (D Spinellis) |
Newsgroups: | comp.unix.i386 |
Subject: | Re: What is "__fltused" symbol? |
Message-ID: | <1595@gould.doc.ic.ac.uk> |
Date: | 14 Feb 90 11:51:42 GMT |
References: | <204@ncrday.Dayton.NCR.COM> |
Sender: | news@doc.ic.ac.uk |
Reply-To: | dds@cc.ic.ac.uk (Diomidis Spinellis) |
Organization: | Imperial College Department of Computing |
Lines: | 20 |
Content-Length: | 1182 |
In article <204@ncrday.Dayton.NCR.COM> marlene@ncrday.UUCP () writes: >In Interactive Systems 386/ix 2.0.2 there is a symbol used in many of the >routines in the C libraries called "__fltused". It is not in 386/ix 1.0.6. >When using the 'nm' command I see it being an external symbol of value 0 >everywhere, but I never see where it is really defined. Can anybody tell me >its type and what it's used for? It is used by the Microsoft languages to indicate that a floating point library needs to be loaded. The symbol is declared as extern in all code that uses floating point and is defined in the floating point library. In this way it forces the library to be loaded when needed. This is needed because of the way a comprocessor is emulated. A program may be using floating point without having any external symbols defined in a floating point library. Diomidis -- Diomidis Spinellis Internet: dds@cc.ic.ac.uk Department of Computing UUCP: ...!ukc!iccc!dds Imperial College JANET: dds@uk.ac.ic.cc London SW7 2BZ #include "/dev/tty"