aboutsummaryrefslogtreecommitdiff
path: root/src/runtime
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2015-07-29 18:25:30 -0400
committerRuss Cox <rsc@golang.org>2015-07-29 22:26:02 +0000
commitf6dfe1679867e9d2ac1ca4975a15e320113e9ae5 (patch)
treef6ec945a4f1c23cf05eba6e43e735535b817a229 /src/runtime
parentc1ccbab097343843b2cefd4280e0be34a2e5ebad (diff)
downloadgo-f6dfe1679867e9d2ac1ca4975a15e320113e9ae5.tar.xz
runtime: fix darwin/amd64 assembly frame sizes
Change-Id: I2f0ecdc02ce275feadf07e402b54f988513e9b49 Reviewed-on: https://go-review.googlesource.com/12855 Reviewed-by: Russ Cox <rsc@golang.org>
Diffstat (limited to 'src/runtime')
-rw-r--r--src/runtime/sys_darwin_arm64.s6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/runtime/sys_darwin_arm64.s b/src/runtime/sys_darwin_arm64.s
index 11b28d774a..0f9da85607 100644
--- a/src/runtime/sys_darwin_arm64.s
+++ b/src/runtime/sys_darwin_arm64.s
@@ -151,7 +151,7 @@ TEXT runtime·setitimer(SB),NOSPLIT,$0
SVC $0x80
RET
-TEXT time·now(SB),NOSPLIT,$32-12
+TEXT time·now(SB),NOSPLIT,$40-12
MOVD RSP, R0 // timeval
MOVD R0, R9 // this is how dyld calls gettimeofday
MOVW $0, R1 // zone
@@ -164,7 +164,7 @@ TEXT time·now(SB),NOSPLIT,$32-12
MOVW R1, nsec+8(FP)
RET
-TEXT runtime·nanotime(SB),NOSPLIT,$32
+TEXT runtime·nanotime(SB),NOSPLIT,$40
MOVD RSP, R0 // timeval
MOVD R0, R9 // this is how dyld calls gettimeofday
MOVW $0, R1 // zone
@@ -272,7 +272,7 @@ TEXT runtime·sigaction(SB),NOSPLIT,$0
BL notok<>(SB)
RET
-TEXT runtime·usleep(SB),NOSPLIT,$12
+TEXT runtime·usleep(SB),NOSPLIT,$24
MOVW usec+0(FP), R0
MOVW R0, R1
MOVW $1000000, R2