[kaffe] CVS kaffe (dalibor): Fixed alingment bug for long long on m68k-netbsd

Kaffe CVS cvs-commits at kaffe.org
Tue Jul 13 05:49:18 PDT 2004


PatchSet 4958 
Date: 2004/07/13 12:43:11
Author: dalibor
Branch: HEAD
Tag: (none) 
Log:
Fixed alingment bug for long long on m68k-netbsd

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'.

Members: 
	ChangeLog:1.2522->1.2523 
	config/m68k/netbsd1/md.h:1.8->1.9 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.2522 kaffe/ChangeLog:1.2523
--- kaffe/ChangeLog:1.2522	Tue Jul 13 06:43:53 2004
+++ kaffe/ChangeLog	Tue Jul 13 12:43:11 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-13  Guilhem Lavaux <guilhem at kaffe.org>
 
 	* kaffe/kaffevm/Makefile.am: Renamed all occurrences of stamp-h02
Index: kaffe/config/m68k/netbsd1/md.h
diff -u kaffe/config/m68k/netbsd1/md.h:1.8 kaffe/config/m68k/netbsd1/md.h:1.9
--- kaffe/config/m68k/netbsd1/md.h:1.8	Tue Jun 22 16:04:58 2004
+++ kaffe/config/m68k/netbsd1/md.h	Tue Jul 13 12:43:13 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