[kaffe] CVS kaffe (guilhem): More stack cleanup for darwin + condition relaxed in jthreads/signal.

Kaffe CVS Kaffe Mailing List <kaffe@kaffe.org>
Sun May 30 13:54:03 2004


PatchSet 4797 
Date: 2004/05/30 20:37:06
Author: guilhem
Branch: HEAD
Tag: (none) 
Log:
More stack cleanup for darwin + condition relaxed in jthreads/signal.

        * config/powerpc/darwin/md.h: Added a few includes.

        * kaffe/kaffevm/systems/unix-jthreads/signal.c: As we
        don't need STACK_POINTER anymore for the detection we
        may relax the condition.

Members: 
	ChangeLog:1.2366->1.2367 
	config/powerpc/darwin/md.h:1.4->1.5 
	kaffe/kaffevm/systems/unix-jthreads/signal.c:1.18->1.19 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.2366 kaffe/ChangeLog:1.2367
--- kaffe/ChangeLog:1.2366	Sun May 30 20:16:41 2004
+++ kaffe/ChangeLog	Sun May 30 20:37:06 2004
@@ -1,5 +1,13 @@
 2004-05-30  Guilhem Lavaux <guilhem@kaffe.org>
 
+	* config/powerpc/darwin/md.h: Added a few includes.
+
+	* kaffe/kaffevm/systems/unix-jthreads/signal.c: As we
+	don't need STACK_POINTER anymore for the detection we
+	may relax the condition.
+
+2004-05-30  Guilhem Lavaux <guilhem@kaffe.org>
+
 	* config/powerpc/darwin/md.h
 	(mdGetStackSize): Implemented for Darwin/PPC.
 
Index: kaffe/config/powerpc/darwin/md.h
diff -u kaffe/config/powerpc/darwin/md.h:1.4 kaffe/config/powerpc/darwin/md.h:1.5
--- kaffe/config/powerpc/darwin/md.h:1.4	Sun May 30 20:16:43 2004
+++ kaffe/config/powerpc/darwin/md.h	Sun May 30 20:37:08 2004
@@ -18,6 +18,17 @@
 #include "powerpc/common.h"
 #include "powerpc/threads.h"
 
+#if defined(HAVE_SYS_TYPES_H)
+#include <sys/types.h>
+#endif
+#if defined(HAVE_SYS_TIME_H)
+#include <sys/time.h>
+#endif
+#if defined(HAVE_SYS_RESOURCE_H)
+#include <sys/resource.h>
+#endif
+
+
 #undef SP_OFFSET
 #define SP_OFFSET	0
 
Index: kaffe/kaffe/kaffevm/systems/unix-jthreads/signal.c
diff -u kaffe/kaffe/kaffevm/systems/unix-jthreads/signal.c:1.18 kaffe/kaffe/kaffevm/systems/unix-jthreads/signal.c:1.19
--- kaffe/kaffe/kaffevm/systems/unix-jthreads/signal.c:1.18	Sat May 29 17:01:18 2004
+++ kaffe/kaffe/kaffevm/systems/unix-jthreads/signal.c	Sun May 30 20:37:09 2004
@@ -432,7 +432,7 @@
 #endif
 }
 
-#elif defined(STACK_POINTER) && defined(SA_ONSTACK) && defined(HAVE_SIGALTSTACK) && !defined(KAFFEMD_BUGGY_STACK_OVERFLOW)
+#elif defined(SA_ONSTACK) && defined(HAVE_SIGALTSTACK) && !defined(KAFFEMD_BUGGY_STACK_OVERFLOW)
 
 static JTHREAD_JMPBUF outOfLoop;