2004-02-05 Paul Brook <paul@codesourcery.com>
* libc/include/machine/ieeefp.h[__arm__][__VFP_FP__]: Set IEEE_{BIG,LITTLE} based on __ARMEL__ flag.
This commit is contained in:
parent
656a999a33
commit
b4a84c6695
|
@ -1,3 +1,8 @@
|
||||||
|
2004-02-05 Paul Brook <paul@codesourcery.com>
|
||||||
|
|
||||||
|
* libc/include/machine/ieeefp.h[__arm__][__VFP_FP__]: Set
|
||||||
|
IEEE_{BIG,LITTLE} based on __ARMEL__ flag.
|
||||||
|
|
||||||
2004-02-02 Jeff Johnston <jjohnstn@redhat.com>
|
2004-02-02 Jeff Johnston <jjohnstn@redhat.com>
|
||||||
|
|
||||||
* NEWS: Update with 1.12.0 info.
|
* NEWS: Update with 1.12.0 info.
|
||||||
|
|
|
@ -51,11 +51,25 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#if (defined(__arm__) || defined(__thumb__)) && !defined(__MAVERICK__)
|
#if (defined(__arm__) || defined(__thumb__)) && !defined(__MAVERICK__)
|
||||||
/* ARM always has big-endian words. Within those words the byte ordering
|
/* ARM traditionally used big-endian words; and within those words the
|
||||||
will be big or little endian depending upon the target. */
|
byte ordering was big or little endian depending upon the target.
|
||||||
#define __IEEE_BIG_ENDIAN
|
Modern floating-point formats are naturally ordered; in this case
|
||||||
#ifdef __ARMEL__
|
__VFP_FP__ will be defined, even if soft-float.
|
||||||
#define __IEEE_BYTES_LITTLE_ENDIAN
|
|
||||||
|
FIXME: long double support is broken for the ARM when __ARMEL__
|
||||||
|
is specified. New long double formats need to be added
|
||||||
|
to the long double conversion routines. */
|
||||||
|
#ifdef __VFP_FP__
|
||||||
|
# ifdef __ARMEL__
|
||||||
|
# define __IEEE_LITTLE_ENDIAN
|
||||||
|
# else
|
||||||
|
# define __IEEE_BIG_ENDIAN
|
||||||
|
# endif
|
||||||
|
#else
|
||||||
|
# define __IEEE_BIG_ENDIAN
|
||||||
|
# ifdef __ARMEL__
|
||||||
|
# define __IEEE_BYTES_LITTLE_ENDIAN
|
||||||
|
# endif
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue