This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]