[kaffe] Loading stops after 2 classes

Helmer Krämer hkraemer at freenet.de
Fri Jun 25 03:53:16 PDT 2004

On Thu, 24 Jun 2004 13:26:38 +0200
Fabien Renaud <renaud at nentec.de> wrote:

>  #include "sigcontextinfo.h"
> +
> +#define	SIGNAL_ARGS(sig, ctx) \
> +	int sig, SIGCONTEXT ctx

That's not quite correct. On ARM, the first four parameters are
passed in registers, and the others are passed on the stack.
Since the SIGCONTEXT struct is passed on the stack, the macro
should read something like

#define SIGNAL_ARGS(sig, ctx) \
	int sig, int arm_r2, int arm_r3, int arm_r4, SIGCONTEXT ctx


More information about the kaffe mailing list