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

Kaffe CVS cvs-commits at kaffe.org
Wed May 19 03:39:02 PDT 2004


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;




More information about the kaffe mailing list