This is the mail archive of the
ecos-patches@sourceware.org
mailing list for the eCos project.
Re: CYG_DOUBLE_BYTEORDER on little-endian ARM w/ VFP floating point format
- From: daniel dot neri at sigicom dot se (Daniel Néri)
- To: Andrew Lunn <andrew at lunn dot ch>
- Cc: ecos-patches at sources dot redhat dot com
- Date: Thu, 07 Sep 2006 12:04:03 +0200
- Subject: Re: CYG_DOUBLE_BYTEORDER on little-endian ARM w/ VFP floating point format
- References: <87k64hj8ie.fsf@dual.hq.sigicom.net> <20060907093348.GI20668@lunn.ch>
Andrew Lunn <andrew@lunn.ch> writes:
> I don't have a machine with floating point hardware,
Neither do I.
> so all i could test was that software libm did not break.
My objective was to use "x86 compatible" floating point byte ordering
on an little-endian ARM platform (w/o FP hardware). Without this fix,
printf breaks.
FWIW, newlib has something similar in <sys/ieeefp.h> for ARM.
Regards,
--
Daniel Néri <daniel.neri@sigicom.se>
Sigicom AB, Stockholm, Sweden