[kaffe] CVS kaffe (guilhem): Fix for signal handling on linux/ppc.

Kaffe CVS cvs-commits at kaffe.org
Sat Nov 20 10:15:47 PST 2004


PatchSet 5466 
Date: 2004/11/20 18:10:57
Author: guilhem
Branch: HEAD
Tag: (none) 
Log:
Fix for signal handling on linux/ppc.

2004-11-20  Djordje Nikolic  <dmn at ict-tower.com>

        * config/powerpc/linux/md.h:
        Disable SA_SIGINFO to get access to the sigcontext structure.

Members: 
	ChangeLog:1.3012->1.3013 
	config/powerpc/linux/md.h:1.10->1.11 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.3012 kaffe/ChangeLog:1.3013
--- kaffe/ChangeLog:1.3012	Sat Nov 20 15:57:24 2004
+++ kaffe/ChangeLog	Sat Nov 20 18:10:57 2004
@@ -1,3 +1,8 @@
+2004-11-20  Djordje Nikolic  <dmn at ict-tower.com>
+
+	* config/powerpc/linux/md.h:
+	Disable SA_SIGINFO to get access to the sigcontext structure.
+
 2004-11-20  Guilhem Lavaux  <guilhem at kaffe.org>
 
 	* configure.ac: Check for the semaphore library.
Index: kaffe/config/powerpc/linux/md.h
diff -u kaffe/config/powerpc/linux/md.h:1.10 kaffe/config/powerpc/linux/md.h:1.11
--- kaffe/config/powerpc/linux/md.h:1.10	Wed Oct 27 17:23:23 2004
+++ kaffe/config/powerpc/linux/md.h	Sat Nov 20 18:10:59 2004
@@ -25,6 +25,14 @@
 #include <asm/sigcontext.h>
 #endif
 
+/*
+ * We don't need a SA_SIGINFO flag to get a proper
+ * sigcontext pointer in a signal handlers.
+ */
+#if defined(SA_SIGINFO)
+#undef SA_SIGINFO
+#endif
+
 /* Linux requires a little initialisation */
 extern void init_md(void);
 #define	INIT_MD()	init_md()




More information about the kaffe mailing list