mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-26 02:30:30 +08:00
ieeefp.h: Handle ARM platforms that have pure-endian floating point.
* java/lang/ieeefp.h: Handle ARM platforms that have pure-endian floating point. From-SVN: r65693
This commit is contained in:
parent
351c2c4b2f
commit
bc617f8a48
@ -1,3 +1,8 @@
|
||||
2003-04-16 Richard Earnshaw <rearnsha@arm.com>
|
||||
|
||||
* java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
|
||||
floating point.
|
||||
|
||||
2003-04-15 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* configure.host (*-linux*): Don't set slow_pthread_self if primary
|
||||
|
@ -6,13 +6,23 @@
|
||||
#endif
|
||||
|
||||
#if defined(__arm__) || defined(__thumb__)
|
||||
/* ARM always has big-endian words. Within those words the byte ordering
|
||||
will be big or little endian depending upon the target. */
|
||||
/* ARM traditionally used big-endian words; and within those words the
|
||||
byte ordering was big or little endian depending upon the target.
|
||||
Modern floating-point formats are naturally ordered; in this case
|
||||
__VFP_FP__ will be defined, even if soft-float. */
|
||||
#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
|
||||
|
||||
#ifdef __hppa__
|
||||
#define __IEEE_BIG_ENDIAN
|
||||
|
Loading…
x
Reference in New Issue
Block a user