syscall: add //go:build lines to assembly files

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>
This commit is contained in:
Tobias Klauser 2021-05-01 15:36:34 +02:00 committed by Tobias Klauser
parent 45600bcd61
commit 830e63a7a3
7 changed files with 15 additions and 8 deletions

View 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"

View 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"

View 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

View 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

View 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

View 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"

View 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"