Module Name: src
Committed By: joerg
Date: Wed Aug 13 15:41:22 UTC 2014
Modified Files:
src/lib/libc/arch/powerpc64/gen: swapcontext.S
Log Message:
[] -> ()
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/lib/libc/arch/powerpc64/gen/swapcontext.S
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libc/arch/powerpc64/gen/swapcontext.S
diff -u src/lib/libc/arch/powerpc64/gen/swapcontext.S:1.4 src/lib/libc/arch/powerpc64/gen/swapcontext.S:1.5
--- src/lib/libc/arch/powerpc64/gen/swapcontext.S:1.4 Wed Sep 12 02:00:52 2012
+++ src/lib/libc/arch/powerpc64/gen/swapcontext.S Wed Aug 13 15:41:21 2014
@@ -1,4 +1,4 @@
-/* $NetBSD: swapcontext.S,v 1.4 2012/09/12 02:00:52 manu Exp $ */
+/* $NetBSD: swapcontext.S,v 1.5 2014/08/13 15:41:21 joerg Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -33,14 +33,14 @@
#if defined(LIBC_SCCS) && !defined(lint)
.text
- .asciz "$NetBSD: swapcontext.S,v 1.4 2012/09/12 02:00:52 manu Exp $"
+ .asciz "$NetBSD: swapcontext.S,v 1.5 2014/08/13 15:41:21 joerg Exp $"
#endif /* LIBC_SCCS && !lint */
ENTRY(swapcontext)
mc_off = 56 # offset of uc_mcontext
stdu %r1,-SF_SZ(%r1) # set up new stack frame
mflr %r0
- std %r0,[SF_SZ+SF_LR](%r1) # save link register
+ std %r0,(SF_SZ+SF_LR)(%r1) # save link register
std %r3,SF_PARAM(%r1) # must save oucp (was 8)
std %r4,SF_PARAM+8(%r1) # must save ucp (was 12)
bl ._getcontext # getcontext(oucp)