]> Cypherpunks repositories - gostls13.git/commitdiff
arm: fix build
authorRuss Cox <rsc@golang.org>
Tue, 12 Oct 2010 03:58:51 +0000 (23:58 -0400)
committerRuss Cox <rsc@golang.org>
Tue, 12 Oct 2010 03:58:51 +0000 (23:58 -0400)
Effectively reverts https://code.google.com/p/go/source/detail?r=8c52477401ad
Should make ARM build pass again, but untested.
Probably still bugs involving reflect.call somewhere.

R=ken2
CC=golang-dev
https://golang.org/cl/2416042

src/pkg/runtime/proc.c

index 3688a1c235973cdc1b46a4bf2dcb81d5a6de17c2..24c6af06dee29c732d6049aaec97ad4ed006e3ab 100644 (file)
@@ -797,7 +797,7 @@ newstack(void)
        label.sp = sp;
        label.pc = (byte*)·lessstack;
        label.g = m->curg;
-       gogocall(&label, m->morepc, 4);
+       gogocall(&label, m->morepc, 0);
 
        *(int32*)345 = 123;     // never return
 }