Patch: fix arm-elf support in boehm collector
Anthony Green
green@redhat.com
Sat Sep 20 23:46:00 GMT 2003
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.
More information about the Java-patches
mailing list