summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2005-07-18 14:50:12 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2005-07-18 14:50:12 +0000
commit3276cd16221cedeba3d932b7bee7fc3a9f305f90 (patch)
tree1384bfd159b34985f37a2bf10f21e47c53f0c57a /sys
parent3668777b4cdbb21eff3be943c3805e926ad7e60a (diff)
cache a copy of the fprs so we know what fp restore we should do after
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/sparc64/sparc64/locore.s3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/sparc64/sparc64/locore.s b/sys/arch/sparc64/sparc64/locore.s
index 4b31b832513..914ce05eee0 100644
--- a/sys/arch/sparc64/sparc64/locore.s
+++ b/sys/arch/sparc64/sparc64/locore.s
@@ -1,4 +1,4 @@
-/* $OpenBSD: locore.s,v 1.50 2005/07/14 01:46:13 deraadt Exp $ */
+/* $OpenBSD: locore.s,v 1.51 2005/07/18 14:50:11 deraadt Exp $ */
/* $NetBSD: locore.s,v 1.137 2001/08/13 06:10:10 jdolecek Exp $ */
/*
@@ -4933,6 +4933,7 @@ _C_LABEL(sigcode):
stda %f48, [%l0] ASI_BLK_P
2:
membar #Sync
+ rd %fprs, %l0 ! reload fprs copy, for checking after
rd %y, %l1 ! in any case, save %y
lduw [%fp + BIAS + 128], %o0 ! sig
ldx [%fp + BIAS + 128 + 8], %o1 ! siginfo