From: Russ Cox Date: Wed, 6 Mar 2013 21:55:08 +0000 (-0500) Subject: runtime: fix netbsd, windows build X-Git-Tag: go1.1rc2~663 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=efd3d1ffe9d784b006f03e1961567149952b8f19;p=gostls13.git runtime: fix netbsd, windows build TBR=golang-dev CC=golang-dev https://golang.org/cl/7539043 --- diff --git a/src/pkg/runtime/rt0_netbsd_amd64.s b/src/pkg/runtime/rt0_netbsd_amd64.s index 245a4c0f9b..9e7b78edc6 100644 --- a/src/pkg/runtime/rt0_netbsd_amd64.s +++ b/src/pkg/runtime/rt0_netbsd_amd64.s @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -TEXT _rt0_amd64_openbsd(SB),7,$-8 +TEXT _rt0_amd64_netbsd(SB),7,$-8 LEAQ 8(SP), SI // argv MOVQ 0(SP), DI // argc MOVQ $main(SB), AX diff --git a/src/pkg/runtime/rt0_windows_amd64.s b/src/pkg/runtime/rt0_windows_amd64.s index 4fc61dc687..b48c055705 100644 --- a/src/pkg/runtime/rt0_windows_amd64.s +++ b/src/pkg/runtime/rt0_windows_amd64.s @@ -4,7 +4,7 @@ #include "zasm_GOOS_GOARCH.h" -TEXT _rt0_amd64_darwin(SB),7,$-8 +TEXT _rt0_amd64_windows(SB),7,$-8 LEAQ 8(SP), SI // argv MOVQ 0(SP), DI // argc MOVQ $main(SB), AX