[kaffe] CVS kaffe (robilad): Fix for FTBFS on debian-sparc

Kaffe CVS cvs-commits at kaffe.org
Sat Aug 6 10:47:52 PDT 2005


PatchSet 6787 
Date: 2005/08/06 17:41:01
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
Fix for FTBFS on debian-sparc

2005-08-06  Dalibor Topic  <robilad at kaffe.org>

        * config/sparc/jit-sparc.def:
        (argcount) removed as argcount is handled in jit code
        already. Removed all uses to fix Debian bug #321209.

        * kaffe/kaffevm/classMethod.h (initialiseSecurity)
        Added missing prototype to fix compiler warning.

Members: 
	ChangeLog:1.4312->1.4313 
	config/sparc/jit-sparc.def:1.14->1.15 
	kaffe/kaffevm/classMethod.h:1.82->1.83 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.4312 kaffe/ChangeLog:1.4313
--- kaffe/ChangeLog:1.4312	Sat Aug  6 14:25:10 2005
+++ kaffe/ChangeLog	Sat Aug  6 17:41:01 2005
@@ -1,5 +1,14 @@
 2005-08-06  Dalibor Topic  <robilad at kaffe.org>
 
+	* config/sparc/jit-sparc.def:
+	(argcount) removed as argcount is handled in jit code
+	already. Removed all uses to fix Debian bug #321209.
+
+	* kaffe/kaffevm/classMethod.h (initialiseSecurity)
+	Added missing prototype to fix compiler warning.
+	
+2005-08-06  Dalibor Topic  <robilad at kaffe.org>
+
 	* kaffe/kaffevm/jar.c (jarSeek): Initialize pos
 	before use.
 	(getCentralDirCount) Initialize dir_size before use.
Index: kaffe/config/sparc/jit-sparc.def
diff -u kaffe/config/sparc/jit-sparc.def:1.14 kaffe/config/sparc/jit-sparc.def:1.15
--- kaffe/config/sparc/jit-sparc.def:1.14	Fri May  6 15:24:25 2005
+++ kaffe/config/sparc/jit-sparc.def	Sat Aug  6 17:41:06 2005
@@ -45,8 +45,6 @@
 #define	fregname(n)	rnames[(n)+32]
 #endif
 
-static int argcount = 0;
-
 /* --------------------------------------------------------------------- */
 /* Instruction formats							 */
 
@@ -1036,7 +1034,6 @@
 		ldst_RRC(0x04, r, REG_sp, w);
 		debug(("st %s,[sp+%d]\n", regname(r), w));
 	}
-	argcount++;
 }
 
 define_insn(push_float, fpush_xRC)
@@ -1062,7 +1059,6 @@
 		ldst_RRC(0x24, r, REG_sp, w);
 		debug(("stf %s,[sp+%d]\n", fregname(r), w));
 	}
-	argcount++;
 }
 
 define_insn(push_double, fpushl_xRC)
@@ -1106,13 +1102,10 @@
 		ldst_RRC(0x24, r+1, REG_sp, w);
 		debug(("stf %s,[sp+%d]\n", fregname(r+1), w));
 	}
-
-	argcount += 2;
 }
 
 define_insn(popargs, popargs_xxC)
 {
-	argcount = 0;
 }
 
 define_insn(return_int, return_Rxx)
Index: kaffe/kaffe/kaffevm/classMethod.h
diff -u kaffe/kaffe/kaffevm/classMethod.h:1.82 kaffe/kaffe/kaffevm/classMethod.h:1.83
--- kaffe/kaffe/kaffevm/classMethod.h:1.82	Thu Jun 23 16:43:58 2005
+++ kaffe/kaffe/kaffevm/classMethod.h	Sat Aug  6 17:41:07 2005
@@ -692,4 +692,6 @@
 extern Utf8Const* SourceFile_name;	/* "SourceFile" */
 extern Utf8Const* InnerClasses_name;	/* "InnerClasses" */
 
+void initialiseSecurity (void);
+
 #endif




More information about the kaffe mailing list