[kaffe] [PATCH] m68k compilation failure

Kiyo Inaba inaba at src.ricoh.co.jp
Wed Jan 5 23:04:26 PST 2005


Happy new year all, (or Akemashite Omedetou, in Japanese)

After the modification of JIT compiler symbol done by Guilhem last week,
kaffe can not be compiled on m68k. Attached patch should be needed for
this cpu. 

Similar patch should be needed for all types of cpu (except i386, of course)
including alpha or powerpc, because Guilhem just modified 'newlabel' part
of symbol change and not modified 'setEpilogueLabel' part.

Oh, I forget to write ChangeLog engry, how about this?

2005-1-6  Kiyo Inaba  <inaba at src.ricoh.co.jp>

        * config/m68k/jit-m68k.def,
        config/m68k/jit3-m68k.def: Adjusted calls to the new name of
        some JIT compiler symbols (for m68k).

Kiyo

diff -Naur kaffe-snap-041230.orig/config/m68k/jit3-m68k.def kaffe-snap-041230/config/m68k/jit3-m68k.def
--- kaffe-snap-041230.orig/config/m68k/jit3-m68k.def	2004-09-02 17:10:09.000000000 +0900
+++ kaffe-snap-041230/config/m68k/jit3-m68k.def	2005-01-06 14:54:43.000000000 +0900
@@ -1273,7 +1273,7 @@
 
 define_insn(epilogue, epilogue_xxx)
 {
-	setEpilogueLabel ((uintp)CODEPC);
+	KaffeJIT3_setEpilogueLabel ((uintp)CODEPC);
 
 	/* Restore the callee saved registers */
 #if defined(HAVE_NO_MOVEM)
diff -Naur kaffe-snap-041230.orig/config/m68k/jit-m68k.def kaffe-snap-041230/config/m68k/jit-m68k.def
--- kaffe-snap-041230.orig/config/m68k/jit-m68k.def	2004-09-02 17:10:09.000000000 +0900
+++ kaffe-snap-041230/config/m68k/jit-m68k.def	2005-01-06 14:54:28.000000000 +0900
@@ -1253,7 +1253,7 @@
 
 define_insn(epilogue, epilogue_xxx)
 {
-	setEpilogueLabel ((uintp)CODEPC);
+	KaffeJIT_setEpilogueLabel ((uintp)CODEPC);
 
 	op_unlk_a(REG_fp);
 	op_rts();




More information about the kaffe mailing list