[kaffe] CVS kaffe (dalibor): fixed cross-compilation for alpha-linux

Kaffe CVS cvs-commits at kaffe.org
Sat Aug 21 07:57:43 PDT 2004


PatchSet 5085 
Date: 2004/08/21 14:53:28
Author: dalibor
Branch: HEAD
Tag: (none) 
Log:
fixed cross-compilation for alpha-linux

2004-08-21  Dalibor Topic  <robilad at kaffe.org>

        Fixed cross-compilation for alpha-linux.

        * config/alpha/sysdepCallMethod.h:
        Include missing file.

        * kaffe/kaffevm/jit/methodcalls.c,
        kaffe/kaffevm/jit/methodcalls.h:
        Export soft_fixup_trampoline.

        * replace/ifaddrs_linux.c:
        Fix gcc 3.4.1 errors due to empty default:
        statements.

Members: 
	ChangeLog:1.2643->1.2644 
	config/alpha/sysdepCallMethod.h:1.2->1.3 
	kaffe/kaffevm/jit/methodcalls.c:1.1->1.2 
	kaffe/kaffevm/jit/methodcalls.h:1.1->1.2 
	replace/ifaddrs_linux.c:1.2->1.3 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.2643 kaffe/ChangeLog:1.2644
--- kaffe/ChangeLog:1.2643	Sat Aug 21 11:23:24 2004
+++ kaffe/ChangeLog	Sat Aug 21 14:53:28 2004
@@ -1,5 +1,20 @@
 2004-08-21  Dalibor Topic  <robilad at kaffe.org>
 
+	Fixed cross-compilation for alpha-linux.
+
+        * config/alpha/sysdepCallMethod.h:
+	Include missing file.
+
+        * kaffe/kaffevm/jit/methodcalls.c,
+        kaffe/kaffevm/jit/methodcalls.h:
+	Export soft_fixup_trampoline.
+
+        * replace/ifaddrs_linux.c:
+	Fix gcc 3.4.1 errors due to empty default:
+	statements.
+
+2004-08-21  Dalibor Topic  <robilad at kaffe.org>
+
 	* m4/glibcver.m4:
 	Fixed for cross compilation.
 
Index: kaffe/config/alpha/sysdepCallMethod.h
diff -u kaffe/config/alpha/sysdepCallMethod.h:1.2 kaffe/config/alpha/sysdepCallMethod.h:1.3
--- kaffe/config/alpha/sysdepCallMethod.h:1.2	Fri Apr 16 00:37:48 1999
+++ kaffe/config/alpha/sysdepCallMethod.h	Sat Aug 21 14:53:32 2004
@@ -11,6 +11,9 @@
  * by Alexandre Oliva <oliva at dcc.unicamp.br>
  */
 
+/* Needed for callMethodInfo declaration */
+#include "support.h"
+
 /* This file is supposed to be included twice, once with LONG_SYSDEP
    defined, once without it.  The first version cannot be inlined by
    gcc/egcs at least up to 1.2, because it contains variable-sized
Index: kaffe/kaffe/kaffevm/jit/methodcalls.c
diff -u kaffe/kaffe/kaffevm/jit/methodcalls.c:1.1 kaffe/kaffe/kaffevm/jit/methodcalls.c:1.2
--- kaffe/kaffe/kaffevm/jit/methodcalls.c:1.1	Thu Aug 19 19:29:03 2004
+++ kaffe/kaffe/kaffevm/jit/methodcalls.c	Sat Aug 21 14:53:32 2004
@@ -20,7 +20,7 @@
 /*
  * Trampolines come in here - do the translation and replace the trampoline.
  */
-static nativecode*
+nativecode*
 soft_fixup_trampoline(FIXUP_TRAMPOLINE_DECL)
 {
 	Method* meth;
Index: kaffe/kaffe/kaffevm/jit/methodcalls.h
diff -u kaffe/kaffe/kaffevm/jit/methodcalls.h:1.1 kaffe/kaffe/kaffevm/jit/methodcalls.h:1.2
--- kaffe/kaffe/kaffevm/jit/methodcalls.h:1.1	Thu Aug 19 19:29:03 2004
+++ kaffe/kaffe/kaffevm/jit/methodcalls.h	Sat Aug 21 14:53:32 2004
@@ -32,6 +32,12 @@
 engine_callMethod (callMethodInfo *call);
 
 /*
+ * Fix up trampoline.
+ */
+nativecode*
+soft_fixup_trampoline(FIXUP_TRAMPOLINE_DECL);
+
+/*
  * extra args the engine wants to pass when using callMethodA / callMethodV
  */
 #define engine_reservedArgs(M) 0
Index: kaffe/replace/ifaddrs_linux.c
diff -u kaffe/replace/ifaddrs_linux.c:1.2 kaffe/replace/ifaddrs_linux.c:1.3
--- kaffe/replace/ifaddrs_linux.c:1.2	Thu Jun 12 08:47:02 2003
+++ kaffe/replace/ifaddrs_linux.c	Sat Aug 21 14:53:33 2004
@@ -612,8 +612,8 @@
 	    case IFLA_LINK:
 	      break;
 	    case IFLA_QDISC:
-	      break;
 	    default:
+	      break;
 	    }
 	    break;
 	  case RTM_NEWADDR:
@@ -652,8 +652,8 @@
 	    case IFA_UNSPEC:
 	      break;
 	    case IFA_CACHEINFO:
-	      break;
 	    default:
+	      break;
 	    }
 	  }
 	}




More information about the kaffe mailing list