This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Patch: FYI: Minor GC patch for Linux PPC
- From: Tom Tromey <tromey at redhat dot com>
- To: GCC libjava patches <java-patches at gcc dot gnu dot org>
- Date: 09 Apr 2003 18:01:14 -0600
- Subject: Patch: FYI: Minor GC patch for Linux PPC
- Reply-to: tromey at redhat dot com
I'm checking this in to 3.3 and the trunk.
This changes the GC to treat the PPC Linux port like the other Linux
ports. Without this, gctest will crash on some systems.
Hans already has this in his tree.
Tom
Index: boehm-gc/ChangeLog
from Tom Tromey <tromey at redhat dot com>
* include/private/gcconfig.h (LINUX_STACKBOTTOM): Define for
POWERPC.
(STACK_GRAN, HEURISTIC1): Don't define for POWERPC.
Index: boehm-gc/include/private/gcconfig.h
===================================================================
RCS file: /cvs/gcc/gcc/boehm-gc/include/private/gcconfig.h,v
retrieving revision 1.29
diff -u -r1.29 gcconfig.h
--- boehm-gc/include/private/gcconfig.h 4 Mar 2003 22:18:08 -0000 1.29
+++ boehm-gc/include/private/gcconfig.h 10 Apr 2003 00:05:11 -0000
@@ -669,10 +669,8 @@
# define ALIGNMENT 4 /* Guess. Can someone verify? */
/* This was 2, but that didn't sound right. */
# define OS_TYPE "LINUX"
-# define HEURISTIC1
# define DYNAMIC_LOADING
-# undef STACK_GRAN
-# define STACK_GRAN 0x10000000
+# define LINUX_STACKBOTTOM
/* Stack usually starts at 0x80000000 */
# define LINUX_DATA_START
extern int _end[];