]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: fix cgocallback stack size on amd64p32.
authorRémy Oudompheng <oudomphe@phare.normalesup.org>
Mon, 10 Mar 2014 06:57:58 +0000 (07:57 +0100)
committerRémy Oudompheng <oudomphe@phare.normalesup.org>
Mon, 10 Mar 2014 06:57:58 +0000 (07:57 +0100)
LGTM=dave
R=rsc, dave, iant
CC=golang-codereviews
https://golang.org/cl/73160043

src/pkg/runtime/asm_amd64p32.s

index 93c1c8fbae940ae0e0793ffd2e516097a1541681..47e1d52a8b61241b4a907cdcb82a856224e07cd4 100644 (file)
@@ -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