Module Name:    src
Committed By:   tsutsui
Date:           Sat Feb 26 11:16:12 UTC 2011

Modified Files:
        src/sys/arch/mips/mips: bds_emul.S

Log Message:
Use fpemul_fpuillinst() instead of fpemul_trapsignal() to deliver SIGILL.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/mips/mips/bds_emul.S

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/mips/mips/bds_emul.S
diff -u src/sys/arch/mips/mips/bds_emul.S:1.2 src/sys/arch/mips/mips/bds_emul.S:1.3
--- src/sys/arch/mips/mips/bds_emul.S:1.2	Sun Feb 20 07:45:47 2011
+++ src/sys/arch/mips/mips/bds_emul.S	Sat Feb 26 11:16:12 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: bds_emul.S,v 1.2 2011/02/20 07:45:47 matt Exp $	*/
+/*	$NetBSD: bds_emul.S,v 1.3 2011/02/26 11:16:12 tsutsui Exp $	*/
 
 /*
  * Copyright (c) 1992, 1993
@@ -621,9 +621,8 @@
 	REG_EPILOGUE
 
 	move	ra, t3				# restore ra
-	move	a2, a0				# code = instruction
+	move	a1, a0				# code = instruction
 	move	a0, MIPS_CURLWP			# get current process
-	li	a1, SIGILL
-	j	_C_LABEL(fpemul_trapsignal)
+	j	_C_LABEL(fpemul_fpuillinst)
 
 END(mips_emul_branchdelayslot)

Reply via email to