[kaffe] kaffe-1.0.7 RC1 compile error on MIPS

Warwick Hunter whunter@agile.tv
Fri, 14 Jun 2002 14:33:56 +1000


This is a multi-part message in MIME format.
--------------050406060909020607060203
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

There seems to be a small error in one of the MIPS specific
header files that causes 1.0.7 to fail to compile on my
MIPS machine.

config/mips/common.h contains a movn instruction inside
a .set mips2 directive. According to my compiler and
reference manual the movn instruction is a mips 4 one.

Here is a patch.

Warwick
-- 
Warwick Hunter                    Agile TV Corporation
Voice: +61 7 5584 5912            Fax: +61 7 5575 9550
mailto:whunter@agile.tv           http://www.agile.tv


--------------050406060909020607060203
Content-Type: text/plain;
 name="kaffe-1.0.7rc1-agile.patch1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="kaffe-1.0.7rc1-agile.patch1"

--- kaffe-1.0.7-rc1/config/mips/common.h	Wed Mar  7 10:38:17 2001
+++ kaffe-1.0.7-rc1/config/mips/common.h.atv	Thu Jun  6 05:52:25 2002
@@ -52,7 +52,7 @@
  						\
 	asm volatile(				\
 	"	.set	noreorder\n"		\
-	"	.set	mips2\n"		\
+	"	.set	mips4\n"		\
 	"1:	ll	%0, %3\n"		\
 	"	xor	%1, %0, %4\n"		\
 	"	sltiu	%1, %1, 1\n"		\


--------------050406060909020607060203--