From 4bc632cead0cd2a3c92a22e47c587ae8b76c400b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20Oudompheng?= Date: Mon, 10 Mar 2014 07:57:58 +0100 Subject: [PATCH] runtime: fix cgocallback stack size on amd64p32. LGTM=dave R=rsc, dave, iant CC=golang-codereviews https://golang.org/cl/73160043 --- src/pkg/runtime/asm_amd64p32.s | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pkg/runtime/asm_amd64p32.s b/src/pkg/runtime/asm_amd64p32.s index 93c1c8fbae..47e1d52a8b 100644 --- a/src/pkg/runtime/asm_amd64p32.s +++ b/src/pkg/runtime/asm_amd64p32.s @@ -617,7 +617,7 @@ TEXT runtime·asmcgocall(SB),NOSPLIT,$0-8 // cgocallback(void (*fn)(void*), void *frame, uintptr framesize) // Not implemented. -TEXT runtime·cgocallback(SB),NOSPLIT,$12-12 +TEXT runtime·cgocallback(SB),NOSPLIT,$0-12 MOVL 0, AX RET