[kaffe] StrongARM problems

Guilhem Lavaux guilhem at kaffe.org
Thu Jun 17 10:08:08 PDT 2004


> 
> Hello,

Hi Fabien,

> 
> Me too I cannot compile HEAD, I have the same errors.
> 

Dalibor was on the track for this bug but I don't know what he is doing 
now about it. But here is the right fix I think...

Cheers,

Guilhem.
-------------- next part --------------
Index: config/arm/linux/md.h
===================================================================
RCS file: /cvs/kaffe/kaffe/config/arm/linux/md.h,v
retrieving revision 1.10
diff -u -r1.10 md.h
--- config/arm/linux/md.h	7 Jun 2004 19:14:15 -0000	1.10
+++ config/arm/linux/md.h	17 Jun 2004 16:59:46 -0000
@@ -33,19 +33,10 @@
 #endif
 
 /* Function prototype for signal handlers */
-#if defined(HAVE_STRUCT_SIGCONTEXT_STRUCT) && !defined(__GLIBC__)
-/* Linux < 2.1.1 */
-#define	SIGNAL_ARGS(sig, ctx) \
-	int sig, int arm_r1, int arm_r2, int arm_r3, struct sigcontext_struct ctx
-#elif defined(HAVE_STRUCT_SIGCONTEXT) || defined(__GLIBC__)
-/* Linux >= 2.1.1  or Linux 2.0.x with glibc2 */
-#define	SIGNAL_ARGS(sig, ctx) \
-	int sig, int arm_r1, int arm_r2, int arm_r3, struct sigcontext ctx
-#else
-#error Do not know how to define SIGNAL_ARGS
-#endif
-
 #include "sigcontextinfo.h"
+
+#define	SIGNAL_ARGS(sig, ctx) \
+	int sig, SIGCONTEXT ctx
 
 #define GET_SIGNAL_CONTEXT_POINTER(ctx) (&ctx)
 


More information about the kaffe mailing list