Module Name: src
Committed By: matt
Date: Tue Aug 18 21:28:07 UTC 2009
Modified Files:
src/sys/arch/mips/mips: fp.S
Log Message:
Fix a errant sw (should be lw) that ovewrites the saved [trap]frame
pointer with a possibly bogus value.
To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 src/sys/arch/mips/mips/fp.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/fp.S
diff -u src/sys/arch/mips/mips/fp.S:1.33 src/sys/arch/mips/mips/fp.S:1.34
--- src/sys/arch/mips/mips/fp.S:1.33 Wed Oct 17 19:55:37 2007
+++ src/sys/arch/mips/mips/fp.S Tue Aug 18 21:28:07 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: fp.S,v 1.33 2007/10/17 19:55:37 garbled Exp $ */
+/* $NetBSD: fp.S,v 1.34 2009/08/18 21:28:07 matt Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -647,7 +647,7 @@
bcemul_branch:
/* Fetch delay slot instruction */
- sw a1, CALLFRAME_SIZ + 4(sp)
+ lw a1, CALLFRAME_SIZ + 4(sp)
REG_PROLOGUE
REG_L a0, FRAME_EPC(a1)
REG_EPILOGUE