]> Cypherpunks repositories - gostls13.git/commitdiff
syscall: add //go:build lines to assembly files
authorTobias Klauser <tklauser@distanz.ch>
Sat, 1 May 2021 13:36:34 +0000 (15:36 +0200)
committerTobias Klauser <tobias.klauser@gmail.com>
Tue, 4 May 2021 12:47:05 +0000 (12:47 +0000)
Change-Id: Ie296af523d70def269f9fb2ae35dfd2893abb2d9
Reviewed-on: https://go-review.googlesource.com/c/go/+/315275
Trust: Tobias Klauser <tobias.klauser@gmail.com>
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/syscall/asm9_unix1_amd64.s
src/syscall/asm9_unix2_amd64.s
src/syscall/asm_linux_mips64x.s
src/syscall/asm_linux_mipsx.s
src/syscall/asm_linux_ppc64x.s
src/syscall/asm_unix_386.s
src/syscall/asm_unix_amd64.s

index f2ae87d623e765737b4e232cdf4e82f499d3b591..e4609d075c9918569b363d18c41a0ad67c640885 100644 (file)
@@ -1,9 +1,10 @@
-// +build netbsd
-
 // Copyright 2016 The Go Authors. All rights reserved.
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
+//go:build netbsd
+// +build netbsd
+
 #include "textflag.h"
 #include "funcdata.h"
 
index 6633c125297d1794b6f2e855d1e7923253b42925..7e5e3c52ad5d88a5f3a3dbb2f2c5ba03713f5060 100644 (file)
@@ -1,9 +1,10 @@
-// +build dragonfly freebsd
-
 // Copyright 2016 The Go Authors. All rights reserved.
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
+//go:build dragonfly || freebsd
+// +build dragonfly freebsd
+
 #include "textflag.h"
 #include "funcdata.h"
 
index b3ae59023dfaa0deccc49492aedfb79b0f85a65f..d18a7b89440648fe5595e9f9e4b59479bb5eb8ae 100644 (file)
@@ -2,6 +2,7 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
+//go:build linux && (mips64 || mips64le)
 // +build linux
 // +build mips64 mips64le
 
index ee436490b212cae11bbc010903cb46ea52ea2d19..cafa6a35c7bf486485251e5fce8742b2f773e6cc 100644 (file)
@@ -2,6 +2,7 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
+//go:build linux && (mips || mipsle)
 // +build linux
 // +build mips mipsle
 
index 8be0d68d707670fc5b970a6b2941917ec0794a42..eac7272f1d8f42e2a1fcd69faeedaaeb0e84322b 100644 (file)
@@ -2,6 +2,7 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
+//go:build linux && (ppc64 || ppc64le)
 // +build linux
 // +build ppc64 ppc64le
 
index f262cd3adb6de92c357825ba6d494f8004c1342b..9f9b7f362d231c77536a9025b5d983dac94b112d 100644 (file)
@@ -1,9 +1,10 @@
-// +build netbsd freebsd
-
 // Copyright 2009 The Go Authors. All rights reserved.
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
+//go:build freebsd || netbsd
+// +build freebsd netbsd
+
 #include "textflag.h"
 #include "funcdata.h"
 
index aa03eb96a0ad900b0b0e7e28ba07f9c1c70bd835..c53e1a42b6471aa06515deb7121bba3c0a9488f6 100644 (file)
@@ -1,9 +1,10 @@
-// +build netbsd freebsd dragonfly
-
 // Copyright 2009 The Go Authors. All rights reserved.
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
+//go:build dragonfly || freebsd || netbsd
+// +build dragonfly freebsd netbsd
+
 #include "textflag.h"
 #include "funcdata.h"