This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Patch: ARM thumb support
- From: Anthony Green <green at redhat dot com>
- To: java-patches at gcc dot gnu dot org
- Date: Fri, 15 Mar 2002 23:20:50 -0800
- Subject: Patch: ARM thumb support
I wasn't building all of the xscale-elf mulitlibs before. This patch
is needed in order to get -mthumb working. Ok for branch and trunk?
Fri Mar 15 23:11:19 2002 Anthony Green <green@redhat.com>
* java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
Index: java/lang/ieeefp.h
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/lang/ieeefp.h,v
retrieving revision 1.7
diff -u -p -c -r1.7 ieeefp.h
*** ieeefp.h 2002/01/02 15:58:39 1.7
--- ieeefp.h 2002/03/16 07:14:21
***************
*** 5,15 ****
#define __IEEE_LITTLE_ENDIAN
#endif
! #ifdef __arm__
/* 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. */
#define __IEEE_BIG_ENDIAN
#endif
#ifdef __hppa__
--- 5,17 ----
#define __IEEE_LITTLE_ENDIAN
#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. */
#define __IEEE_BIG_ENDIAN
+ #ifdef __ARMEL__
+ #define __IEEE_BYTES_LITTLE_ENDIAN
+ #endif
#endif
#ifdef __hppa__
AG