diff options
author | Anthony Green <green@redhat.com> | 2002-03-17 16:18:53 +0000 |
---|---|---|
committer | Anthony Green <green@gcc.gnu.org> | 2002-03-17 16:18:53 +0000 |
commit | a46ccd1b4758832895a9ad52d0c9e6fbacdfe0bc (patch) | |
tree | 5cadd4395c7391958020311045ffddcfc6b14d6a /libjava/java/lang/ieeefp.h | |
parent | beb9c8a2348bfc9095cf35684aee67cdfd7461ef (diff) | |
download | gcc-a46ccd1b4758832895a9ad52d0c9e6fbacdfe0bc.zip gcc-a46ccd1b4758832895a9ad52d0c9e6fbacdfe0bc.tar.gz gcc-a46ccd1b4758832895a9ad52d0c9e6fbacdfe0bc.tar.bz2 |
Add arm thumb support
From-SVN: r50920
Diffstat (limited to 'libjava/java/lang/ieeefp.h')
-rw-r--r-- | libjava/java/lang/ieeefp.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/libjava/java/lang/ieeefp.h b/libjava/java/lang/ieeefp.h index 32ff11f..4439e6f 100644 --- a/libjava/java/lang/ieeefp.h +++ b/libjava/java/lang/ieeefp.h @@ -5,11 +5,13 @@ #define __IEEE_LITTLE_ENDIAN #endif -#ifdef __arm__ +#if defined(__arm__) || defined(__thumb__) /* ARM always has big-endian words. Within those words the byte ordering - appears to be big or little endian. Newlib doesn't seem to care about - the byte ordering within words. */ + will be big or little endian depending upon the target. */ #define __IEEE_BIG_ENDIAN +#ifdef __ARMEL__ +#define __IEEE_BYTES_LITTLE_ENDIAN +#endif #endif #ifdef __hppa__ |