]> Cypherpunks repositories - gostls13.git/commitdiff
all: use more precise build tags
authorTamir Duberstein <tamird@google.com>
Thu, 12 Nov 2020 22:42:58 +0000 (17:42 -0500)
committerThan McIntosh <thanm@google.com>
Tue, 23 Feb 2021 19:55:03 +0000 (19:55 +0000)
s/!gccgo/gc/ in files which use gc-syntax assembly.

Change-Id: Ifdadb62edd1210ebc70e7cd415648b752afaf067
Reviewed-on: https://go-review.googlesource.com/c/go/+/269957
Reviewed-by: Than McIntosh <thanm@google.com>
Trust: David Chase <drchase@google.com>
Trust: Matthew Dempsky <mdempsky@google.com>

13 files changed:
misc/cgo/test/testdata/issue9400/asm_386.s
misc/cgo/test/testdata/issue9400/asm_amd64x.s
misc/cgo/test/testdata/issue9400/asm_arm.s
misc/cgo/test/testdata/issue9400/asm_arm64.s
misc/cgo/test/testdata/issue9400/asm_mips64x.s
misc/cgo/test/testdata/issue9400/asm_mipsx.s
misc/cgo/test/testdata/issue9400/asm_ppc64x.s
misc/cgo/test/testdata/issue9400/asm_riscv64.s
misc/cgo/test/testdata/issue9400/asm_s390x.s
misc/cgo/testshared/testdata/depBase/asm.s
misc/cgo/testshared/testdata/depBase/stubs.go
src/cmd/dist/util_gc.go
src/cmd/go/testdata/script/build_overlay.txt

index 7f158b5c39d8d299d4fbfbcac465ad71efb30fd9..96b8b60c10f589dbb7f17de0eb1805cfa959082c 100644 (file)
@@ -2,7 +2,7 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
-// +build !gccgo
+// +build gc
 
 #include "textflag.h"
 
index 48b86190a59fc6378b8a7dda8a644c1da4a52414..99509bce5e1518cfdc20d329fa5c936eb1721a4b 100644 (file)
@@ -3,7 +3,7 @@
 // license that can be found in the LICENSE file.
 
 // +build amd64 amd64p32
-// +build !gccgo
+// +build gc
 
 #include "textflag.h"
 
index 96c278520f398d2106ef2220c88462ef0c30cafd..cc92856c2ff482f6015f0f4e0f62fd9047daf16c 100644 (file)
@@ -2,7 +2,7 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
-// +build !gccgo
+// +build gc
 
 #include "textflag.h"
 
index 2ebbfcca3b607580fbd3c93384ef9a40de172171..2565793f9ab00d3e068dc8e6e76b6b014c43c1fc 100644 (file)
@@ -2,7 +2,7 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
-// +build !gccgo
+// +build gc
 
 #include "textflag.h"
 
index 63dc90605e6f8edf4f5d42150283efe2fad66ed1..693231ddfe1b94a8cd896cd3a29aaff2b3d52a94 100644 (file)
@@ -3,7 +3,7 @@
 // license that can be found in the LICENSE file.
 
 // +build mips64 mips64le
-// +build !gccgo
+// +build gc
 
 #include "textflag.h"
 
index 7a92735194245ca6d850ec35d844d0677174f118..63261bbf9d08d82e3c85d52a99e2adfb96afecee 100644 (file)
@@ -3,7 +3,7 @@
 // license that can be found in the LICENSE file.
 
 // +build mips mipsle
-// +build !gccgo
+// +build gc
 
 #include "textflag.h"
 
index c88ec3b21e76517d9ec44d0a0b5fe0f236a41d52..b5613fb6ec73f6f2b5daa70095c314a44870394f 100644 (file)
@@ -3,7 +3,7 @@
 // license that can be found in the LICENSE file.
 
 // +build ppc64 ppc64le
-// +build !gccgo
+// +build gc
 
 #include "textflag.h"
 
index 20fcc0066d6b2b272534fdaf464b623947431d32..244dadac35097526a7a7d4384aae91d321eb7900 100644 (file)
@@ -3,7 +3,7 @@
 // license that can be found in the LICENSE file.
 
 // +build riscv64
-// +build !gccgo
+// +build gc
 
 #include "textflag.h"
 
index fc9ad724c15fc11b4544b7fb06cf9c0e68ae30bd..4856492958b116f6105c464c810a428819000d1a 100644 (file)
@@ -2,7 +2,7 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
-// +build !gccgo
+// +build gc
 
 #include "textflag.h"
 
index a8acf77f0b941d918214a4773f9a892e5fca8cb4..0f1111f3927d3625330bcd04b7f55632a21ad7e8 100644 (file)
@@ -2,7 +2,7 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
-// +build !gccgo
+// +build gc
 
 #include "textflag.h"
 
index 04534f38dddf97d4283807f1f8c6e34abc64327f..c77953803bd51338a3d245ecf3fe2dfaa9836b8a 100644 (file)
@@ -2,7 +2,7 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
-// +build !gccgo
+// +build gc
 
 package depBase
 
index 2db6d3a25e98f4ec1281e7ba3e7c3adffe77cc7f..875784d3830bccea2d23a7fed4134e538c2d1077 100644 (file)
@@ -2,8 +2,8 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
-//go:build !gccgo
-// +build !gccgo
+//go:build gc
+// +build gc
 
 package main
 
index b11cd960141f8815972d7fae268102f85c01b9c4..2932b94e6c42c70cdec8884c1e36dc281e063369 100644 (file)
@@ -238,7 +238,7 @@ void say_hello();
 
 void say_hello() { puts("hello cgo\n"); fflush(stdout); }
 -- m/overlay/asm_gc.s --
-// +build !gccgo
+// +build gc
 
 TEXT ·foo(SB),0,$0
        RET