[kaffe] CVS kaffe (dalibor): Fixed alignment problem on m68k-netbsd

pancake sergipop at mx3.redestb.es
Wed May 19 04:51:02 PDT 2004


does anybody tested that on freebsd? kaffe on freebsd 5.2 segfaults and I don't know if it solves the bug.

thx

On Wed, 19 May 2004 03:38:01 -0700
Kaffe CVS <cvs-commits at kaffe.org> wrote:

> PatchSet 4752 
> Date: 2004/05/19 10:32:31
> Author: dalibor
> Branch: HEAD
> Tag: (none) 
> Log:
> Fixed alignment problem on m68k-netbsd
> 
> 2004-05-19  Kiyo Inaba  <inaba at src.ricoh.co.jp>
> 
>         * config/m68k/jit.h:
>         (_methodTrampoline) Made fixup packed to fix alignment problems
>         with gcc on m68k-netbsd.
> 
> Members: 
> 	ChangeLog:1.2324->1.2325 
> 	config/m68k/jit.h:1.13->1.14 
> 
> Index: kaffe/ChangeLog
> diff -u kaffe/ChangeLog:1.2324 kaffe/ChangeLog:1.2325
> --- kaffe/ChangeLog:1.2324	Tue May 18 20:22:50 2004
> +++ kaffe/ChangeLog	Wed May 19 10:32:31 2004
> @@ -1,3 +1,9 @@
> +2004-05-19  Kiyo Inaba  <inaba at src.ricoh.co.jp> 
> +
> +	* config/m68k/jit.h:
> +	(_methodTrampoline) Made fixup packed to fix alignment problems
> +	with gcc on m68k-netbsd.
> +
>  2004-05-18  Dalibor Topic  <robilad at kaffe.org>
>  
>          * libraries/javalib/gnu/classpath/ServiceFactory.java,
> Index: kaffe/config/m68k/jit.h
> diff -u kaffe/config/m68k/jit.h:1.13 kaffe/config/m68k/jit.h:1.14
> --- kaffe/config/m68k/jit.h:1.13	Mon Mar 15 17:37:04 2004
> +++ kaffe/config/m68k/jit.h	Wed May 19 10:32:33 2004
> @@ -52,7 +52,7 @@
>  
>  typedef struct _methodTrampoline {
>          unsigned short call;
> -	int fixup;
> +	int fixup __attribute__ ((packed));
>  	struct _methods* meth;
>  	void** where;
>  } methodTrampoline;
> 
> _______________________________________________
> kaffe mailing list
> kaffe at kaffe.org
> http://kaffe.org/cgi-bin/mailman/listinfo/kaffe




More information about the kaffe mailing list