Module Name:    src
Committed By:   matt
Date:           Fri Aug 12 14:48:00 UTC 2011

Modified Files:
        src/sys/lib/libkern/arch/powerpc: gprsavrest.S

Log Message:
Fix bug when only restoring r31 (lr was not being restored properly).


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/lib/libkern/arch/powerpc/gprsavrest.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/lib/libkern/arch/powerpc/gprsavrest.S
diff -u src/sys/lib/libkern/arch/powerpc/gprsavrest.S:1.2 src/sys/lib/libkern/arch/powerpc/gprsavrest.S:1.3
--- src/sys/lib/libkern/arch/powerpc/gprsavrest.S:1.2	Sat Jul  2 23:36:02 2011
+++ src/sys/lib/libkern/arch/powerpc/gprsavrest.S	Fri Aug 12 14:48:00 2011
@@ -29,7 +29,7 @@
 
 #include <powerpc/asm.h>
 
-__RCSID("$NetBSD: gprsavrest.S,v 1.2 2011/07/02 23:36:02 mrg Exp $")
+__RCSID("$NetBSD: gprsavrest.S,v 1.3 2011/08/12 14:48:00 matt Exp $")
 
 #ifndef RESTGPR
 #define RESTGPR(n)	RESTOREXGPR(_restgpr_,n,_x)
@@ -64,8 +64,8 @@
 	RESTGPR(28)
 	RESTGPR(29)
 	RESTGPR(30)
-	lwz	0,4(11)
 	RESTGPR(31)
+	lwz	0,4(11)
 	mtlr	0
 	mr	1,11
 	blr

Reply via email to