From: Russ Cox Date: Mon, 18 Oct 2010 17:01:10 +0000 (-0400) Subject: runtime: fix amd64 build (broke by 386 support for Plan 9) X-Git-Tag: weekly.2010-10-20~33 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=9cc8e9ef48d17bd7e8bb2c1c41406f51366a7925;p=gostls13.git runtime: fix amd64 build (broke by 386 support for Plan 9) TBR=r CC=golang-dev https://golang.org/cl/2556041 --- diff --git a/src/pkg/runtime/386/asm.s b/src/pkg/runtime/386/asm.s index 5f0d0ed468..bf4c97ba61 100644 --- a/src/pkg/runtime/386/asm.s +++ b/src/pkg/runtime/386/asm.s @@ -416,4 +416,3 @@ GLOBL m0(SB), $1024 GLOBL g0(SB), $1024 GLOBL tls0(SB), $32 GLOBL initcgo(SB), $4 -GLOBL isplan9(SB), $4 diff --git a/src/pkg/runtime/runtime.c b/src/pkg/runtime/runtime.c index a8f8177331..9b874cec8d 100644 --- a/src/pkg/runtime/runtime.c +++ b/src/pkg/runtime/runtime.c @@ -147,7 +147,7 @@ args(int32 c, uint8 **v) argv = v; } -extern int32 isplan9; +int32 isplan9; void goargs(void)