]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: fix 386 build
authorRuss Cox <rsc@golang.org>
Tue, 16 Sep 2014 15:43:35 +0000 (11:43 -0400)
committerRuss Cox <rsc@golang.org>
Tue, 16 Sep 2014 15:43:35 +0000 (11:43 -0400)
mark finalizer1 as having no pointers

TBR=iant
CC=golang-codereviews
https://golang.org/cl/141570045

src/runtime/mgc0.c

index 7a3498ae1e6d10a0019595a39e66131a588a4aa9..fda3efcc18edeff589c0c32412321203966ae246 100644 (file)
@@ -738,6 +738,7 @@ runtime·gcphasework(G *gp)
        gp->gcworkdone = true;
 }
 
+#pragma dataflag NOPTR
 static byte finalizer1[] = {
        // Each Finalizer is 5 words, ptr ptr uintptr ptr ptr.
        // Each byte describes 4 words.