[kaffe] CVS kaffe (robilad): Made ALIGNMENT_OF_SIZE os-dependant on powerpc
Kaffe CVS
cvs-commits at kaffe.org
Wed Oct 27 11:43:24 PDT 2004
PatchSet 5370
Date: 2004/10/27 17:23:16
Author: robilad
Branch: HEAD
Tag: (none)
Log:
Made ALIGNMENT_OF_SIZE os-dependant on powerpc
2004-10-27 Riccardo Mottola <rmottola at users.sf.net>
* config/powerpc/common.h,
config/powerpc/aix/md.h
config/powerpc/darwin/md.h
config/powerpc/linux/md.h
config/powerpc/machten/md.h
config/powerpc/netbsd1/md.h
Set size of alignment (ALIGNMENT_OF_SIZE) for each PPC os differently
Members:
ChangeLog:1.2922->1.2923
config/powerpc/common.h:1.7->1.8
config/powerpc/aix/md.h:1.4->1.5
config/powerpc/darwin/md.h:1.10->1.11
config/powerpc/linux/md.h:1.9->1.10
config/powerpc/machten/md.h:1.2->1.3
config/powerpc/netbsd1/md.h:1.3->1.4
Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.2922 kaffe/ChangeLog:1.2923
--- kaffe/ChangeLog:1.2922 Wed Oct 27 16:11:59 2004
+++ kaffe/ChangeLog Wed Oct 27 17:23:16 2004
@@ -1,3 +1,13 @@
+2004-10-27 Riccardo Mottola <rmottola at users.sf.net>
+
+ * config/powerpc/common.h,
+ config/powerpc/aix/md.h
+ config/powerpc/darwin/md.h
+ config/powerpc/linux/md.h
+ config/powerpc/machten/md.h
+ config/powerpc/netbsd1/md.h
+ Set size of alignment (ALIGNMENT_OF_SIZE) for each PPC os differently
+
2004-10-27 Helmer Kraemer <hkraemer at freenet.de>
* kaffe/kaffevm/thread.c (standardGroup): removed
Index: kaffe/config/powerpc/common.h
diff -u kaffe/config/powerpc/common.h:1.7 kaffe/config/powerpc/common.h:1.8
--- kaffe/config/powerpc/common.h:1.7 Fri Jul 23 16:50:50 2004
+++ kaffe/config/powerpc/common.h Wed Oct 27 17:23:20 2004
@@ -52,6 +52,4 @@
ret; \
})
-#define ALIGNMENT_OF_SIZE(S) ((S) < 4 ? (S) : 4)
-
#endif
Index: kaffe/config/powerpc/aix/md.h
diff -u kaffe/config/powerpc/aix/md.h:1.4 kaffe/config/powerpc/aix/md.h:1.5
--- kaffe/config/powerpc/aix/md.h:1.4 Tue Apr 27 18:25:16 2004
+++ kaffe/config/powerpc/aix/md.h Wed Oct 27 17:23:22 2004
@@ -37,4 +37,8 @@
#define SIGNAL_ARGS(sig, sc) int sig
#undef HAVE_SIGALTSTACK
+/* align data types to their size */
+/* might be wrong, some 8byte stuff is 4byte aligned */
+#define ALIGNMENT_OF_SIZE(S) (S)
+
#endif
Index: kaffe/config/powerpc/darwin/md.h
diff -u kaffe/config/powerpc/darwin/md.h:1.10 kaffe/config/powerpc/darwin/md.h:1.11
--- kaffe/config/powerpc/darwin/md.h:1.10 Sun Sep 12 09:37:50 2004
+++ kaffe/config/powerpc/darwin/md.h Wed Oct 27 17:23:22 2004
@@ -47,4 +47,8 @@
#include "kaffe-unix-stack.h"
+/* define alignment of 8 byte data types to 4byte boundaries */
+#define ALIGNMENT_OF_SIZE(S) ((S) < 4 ? (S) : 4)
+
+
#endif
Index: kaffe/config/powerpc/linux/md.h
diff -u kaffe/config/powerpc/linux/md.h:1.9 kaffe/config/powerpc/linux/md.h:1.10
--- kaffe/config/powerpc/linux/md.h:1.9 Mon Jul 5 11:40:07 2004
+++ kaffe/config/powerpc/linux/md.h Wed Oct 27 17:23:23 2004
@@ -45,5 +45,8 @@
#include "kaffe-unix-stack.h"
+/* align data types to their size */
+#define ALIGNMENT_OF_SIZE(S) (S)
+
#endif
Index: kaffe/config/powerpc/machten/md.h
diff -u kaffe/config/powerpc/machten/md.h:1.2 kaffe/config/powerpc/machten/md.h:1.3
--- kaffe/config/powerpc/machten/md.h:1.2 Tue Apr 27 18:25:17 2004
+++ kaffe/config/powerpc/machten/md.h Wed Oct 27 17:23:23 2004
@@ -22,4 +22,8 @@
#define SIGNAL_ARGS(sig, sc) int sig
#undef HAVE_SIGALTSTACK
+/* align data types to their size */
+#define ALIGNMENT_OF_SIZE(S) (S)
+
+
#endif
Index: kaffe/config/powerpc/netbsd1/md.h
diff -u kaffe/config/powerpc/netbsd1/md.h:1.3 kaffe/config/powerpc/netbsd1/md.h:1.4
--- kaffe/config/powerpc/netbsd1/md.h:1.3 Tue Apr 27 18:25:19 2004
+++ kaffe/config/powerpc/netbsd1/md.h Wed Oct 27 17:23:24 2004
@@ -49,4 +49,8 @@
#define SIGNAL_ARGS(sig, sc) int sig
#undef HAVE_SIGALTSTACK
+/* align data types to their size */
+#define ALIGNMENT_OF_SIZE(S) (S)
+
+
#endif
More information about the kaffe
mailing list