[kaffe] Re: m68k/netbsd again

Kiyo Inaba inaba at src.ricoh.co.jp
Mon Jul 12 21:28:36 PDT 2004


Hi again,

At least 'HelloWorldApp.java' can be compiled and executed with the
patch attached. The patch was made against snapshot of 040708, and
hope it can be applied soon.

The result of regression can be reported tomorrow (or the day after
tomorrow), sorry for SLOOOW machine :-)

Kiyo
P.S. BTW still intrp or jit3 may not work for m68k/netbsd.

diff -Naur kaffe-snap-040708.orig/ChangeLog kaffe-snap-040708/ChangeLog
--- kaffe-snap-040708.orig/ChangeLog	Wed Jul  7 21:58:43 2004
+++ kaffe-snap-040708/ChangeLog	Tue Jul 13 13:20:55 2004
@@ -1,3 +1,9 @@
+2004-07-13  Kiyo Inaba <inaba at src.ricoh.co.jp>
+
+	* config/m68k/netbsd1/md.h:
+	Fix alignment bug for 'long long'.
+	This makes kjc work with m68k/netbsd for 'jit'.
+
 2004-07-07  Jim Huang <jserv at kaffe.org>
 
  	* libraries/javalib/java/awt/Graphics.java:
diff -Naur kaffe-snap-040708.orig/config/m68k/netbsd1/md.h kaffe-snap-040708/config/m68k/netbsd1/md.h
--- kaffe-snap-040708.orig/config/m68k/netbsd1/md.h	Wed Jun 23 01:04:58 2004
+++ kaffe-snap-040708/config/m68k/netbsd1/md.h	Tue Jul 13 11:04:31 2004
@@ -18,9 +18,9 @@
 #include "m68k/threads.h"
 
 /*
- * Alignment in structure is 4 bytes packed
+ * Alignment in structure is 8 bytes packed
  */
-#define ALIGNMENT_OF_SIZE(S)    ((S) < 4 ? (S) : 4)
+#define ALIGNMENT_OF_SIZE(S)    ((S) < 8 ? (S) : 8)
 
 /*
  * Stack offset.




More information about the kaffe mailing list