svn commit: r287133 - head/sys/arm64/arm64
Andrew Turner
andrew at FreeBSD.org
Tue Aug 25 16:43:33 UTC 2015
Author: andrew
Date: Tue Aug 25 16:43:32 2015
New Revision: 287133
URL: https://svnweb.freebsd.org/changeset/base/287133
Log:
Correctly update the address to write to after storing the stack pointer
in the kernels setjmp function.
Sponsored by: ABT Systems Ltd
Modified:
head/sys/arm64/arm64/support.S
Modified: head/sys/arm64/arm64/support.S
==============================================================================
--- head/sys/arm64/arm64/support.S Tue Aug 25 15:34:28 2015 (r287132)
+++ head/sys/arm64/arm64/support.S Tue Aug 25 16:43:32 2015 (r287133)
@@ -221,7 +221,7 @@ END(suswintr)
ENTRY(setjmp)
/* Store the stack pointer */
mov x8, sp
- str x8, [x0]
+ str x8, [x0], #8
/* Store the general purpose registers and lr */
stp x19, x20, [x0], #16
More information about the svn-src-all
mailing list