Commit a46ccd1b by Anthony Green Committed by Anthony Green

Add arm thumb support

From-SVN: r50920
parent beb9c8a2
2002-03-17 Anthony Green <green@redhat.com>
* java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
2002-03-17 Bryce McKinlay <bryce@waitaki.otago.ac.nz> 2002-03-17 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
Build a single libgcj.so, without separate gc and zlib libraries. Build a single libgcj.so, without separate gc and zlib libraries.
......
...@@ -5,11 +5,13 @@ ...@@ -5,11 +5,13 @@
#define __IEEE_LITTLE_ENDIAN #define __IEEE_LITTLE_ENDIAN
#endif #endif
#ifdef __arm__ #if defined(__arm__) || defined(__thumb__)
/* ARM always has big-endian words. Within those words the byte ordering /* 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 will be big or little endian depending upon the target. */
the byte ordering within words. */
#define __IEEE_BIG_ENDIAN #define __IEEE_BIG_ENDIAN
#ifdef __ARMEL__
#define __IEEE_BYTES_LITTLE_ENDIAN
#endif
#endif #endif
#ifdef __hppa__ #ifdef __hppa__
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment