This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Patch: fix arm-elf support in boehm collector
- From: Anthony Green <green at redhat dot com>
- To: java-patches at gcc dot gnu dot org
- Cc: Hans Boehm <hans_boehm at hp dot com>
- Date: 20 Sep 2003 15:25:50 -0700
- Subject: Patch: fix arm-elf support in boehm collector
- Organization: Red Hat, Inc.
The following change from Richard Earnshaw was lost during the
upgrade to 6.3alpha1. I suppose it never made it to the upstream
sources.
Ok?
2003-09-20 <green@redhat.com>
* include/private/gcconfig.h: Don't check for __XSCALE__. Instead
check for __arm__ or __thumb__.
Index: include/private/gcconfig.h
===================================================================
RCS file: /cvs/uberbaum/boehm-gc/include/private/gcconfig.h,v
retrieving revision 1.32
diff -c -u -p -r1.32 gcconfig.h
--- include/private/gcconfig.h 28 Jul 2003 04:18:23 -0000 1.32
+++ include/private/gcconfig.h 20 Sep 2003 22:20:37 -0000
@@ -60,7 +60,7 @@
# endif
/* Determine the machine type: */
-# if defined(__XSCALE__)
+# if defined(__arm__) || defined(__thumb__)
# define ARM32
# if !defined(LINUX)
# define NOSYS
--
Anthony Green <green@redhat.com>
Red Hat, Inc.