This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Patch to resolve segfault on executables compiled with arm-linux-gcj (Bug 23662)
- From: Nathan M <ngmlinux at gmail dot com>
- To: java-patches at gcc dot gnu dot org
- Cc: tromey at gcc dot gnu dot org
- Date: Mon, 5 Sep 2005 15:22:10 -0400
- Subject: Patch to resolve segfault on executables compiled with arm-linux-gcj (Bug 23662)
The following patch appears to resolve a seg fault on executables
cross compiled for arm targets using arm-linux-gcj. This applies to
gcc-3.x.x and gcc-4.x.x compilers. More information is availible in
Bug 23662.
===code==========================================
diff -u -3 -p -r1.4 gcconfig.h
--- include/private/gcconfig.h 27 Jun 2005 19:55:40 -0000 1.4
+++ include/private/gcconfig.h 27 Jul 2005 20:53:51 -0000
@@ -1784,7 +1784,7 @@
# endif
# ifdef LINUX
# define OS_TYPE "LINUX"
-# define HEURISTIC1
+# define LINUX_STACKBOTTOM
# undef STACK_GRAN
# define STACK_GRAN 0x10000000
# define USE_GENERIC_PUSH_REGS
================================================
-Nathan