i386/soft-float
Ralf Corsepius
corsepiu@faw.uni-ulm.de
Thu Feb 22 03:04:00 GMT 2001
Hi,
Building newlib currently unconditionally inserts i386-fpu
instructions into libc, which prevents using newlib for i386's w/o
fpu (eg. if using gcc -msoft-float -mno-fpu-ret-in-387).
To work around this issue, the patch below disables the parts of
libc/machine/i386 which apply floating point instructions if
_SOFT_FLOAT is defined.
Regards
Ralf
--
Ralf Corsepius
Forschungsinstitut fuer Anwendungsorientierte Wissensverarbeitung
(FAW)
Helmholtzstr. 16, 89081 Ulm, Germany Tel: +49/731/501-8690
mailto:corsepiu@faw.uni-ulm.de FAX: +49/731/501-999
http://www.faw.uni-ulm.de
2001-02-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* libc/machine/i386/f_atan2.S: Do not build FPU-asm if _SOFT_FLOAT
is defined.
* libc/machine/i386/f_atan2f.S: Ditto.
* libc/machine/i386/f_exp.c: Ditto.
* libc/machine/i386/f_expf.c: Ditto.
* libc/machine/i386/f_frexp.S: Ditto.
* libc/machine/i386/f_frexpf.S: Ditto.
* libc/machine/i386/f_ldexp.S: Ditto.
* libc/machine/i386/f_ldexpf.S: Ditto.
* libc/machine/i386/f_log.S: Ditto.
* libc/machine/i386/f_log10.S: Ditto.
* libc/machine/i386/f_log10f.S: Ditto.
* libc/machine/i386/f_logf.S: Ditto.
* libc/machine/i386/f_pow.c: Ditto.
* libc/machine/i386/f_powf.c: Ditto.
* libc/machine/i386/f_tan.S: Ditto.
* libc/machine/i386/f_tanf.S: Ditto.
More information about the Newlib
mailing list