Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/lib/libkern/arch/powerpc Fix bug when only restoring r31...
details: https://anonhg.NetBSD.org/src/rev/b75fea17b639
branches: trunk
changeset: 768240:b75fea17b639
user: matt <matt%NetBSD.org@localhost>
date: Fri Aug 12 14:48:00 2011 +0000
description:
Fix bug when only restoring r31 (lr was not being restored properly).
diffstat:
sys/lib/libkern/arch/powerpc/gprsavrest.S | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (22 lines):
diff -r bb9a5952a742 -r b75fea17b639 sys/lib/libkern/arch/powerpc/gprsavrest.S
--- a/sys/lib/libkern/arch/powerpc/gprsavrest.S Fri Aug 12 14:36:29 2011 +0000
+++ b/sys/lib/libkern/arch/powerpc/gprsavrest.S Fri Aug 12 14:48:00 2011 +0000
@@ -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)
+ RESTGPR(31)
lwz 0,4(11)
- RESTGPR(31)
mtlr 0
mr 1,11
blr
Home |
Main Index |
Thread Index |
Old Index