Skip to content

Commit f19e400

Browse files
committed
all: remove more leftover // +build lines
CL 344955 and CL 359476 removed almost all // +build lines, but leaving some assembly files and generating scripts. Also, some files were added with // +build lines after CL 359476 was merged. Remove these or rename files where more appropriate. For #41184 Change-Id: I7eb85a498ed9788b42a636e775f261d755504ffa Reviewed-on: https://go-review.googlesource.com/c/go/+/361480 Trust: Tobias Klauser <[email protected]> Run-TryBot: Tobias Klauser <[email protected]> TryBot-Result: Go Bot <[email protected]> Reviewed-by: Bryan C. Mills <[email protected]>
1 parent b74f2ef commit f19e400

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

83 files changed

+1
-94
lines changed

src/crypto/cipher/xor_ppc64x.s

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// license that can be found in the LICENSE file.
44

55
//go:build ppc64 || ppc64le
6-
// +build ppc64 ppc64le
76

87
#include "textflag.h"
98

src/crypto/md5/md5block_ppc64x.s

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
// in the public domain.
1212

1313
//go:build ppc64 || ppc64le
14-
// +build ppc64 ppc64le
1514

1615
#include "textflag.h"
1716

src/crypto/x509/internal/macos/corefoundation.s

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// license that can be found in the LICENSE file.
44

55
//go:build darwin && !ios
6-
// +build darwin,!ios
76

87
#include "textflag.h"
98

src/crypto/x509/internal/macos/security.s

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// license that can be found in the LICENSE file.
44

55
//go:build darwin && !ios
6-
// +build darwin,!ios
76

87
#include "textflag.h"
98

src/debug/pe/file_cgo_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// license that can be found in the LICENSE file.
44

55
//go:build cgo
6-
// +build cgo
76

87
package pe
98

src/internal/bytealg/compare_mips64x.s

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// license that can be found in the LICENSE file.
44

55
//go:build mips64 || mips64le
6-
// +build mips64 mips64le
76

87
#include "go_asm.h"
98
#include "textflag.h"

src/internal/bytealg/compare_mipsx.s

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// license that can be found in the LICENSE file.
44

55
//go:build mips || mipsle
6-
// +build mips mipsle
76

87
#include "go_asm.h"
98
#include "textflag.h"

src/internal/bytealg/compare_ppc64x.s

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// license that can be found in the LICENSE file.
44

55
//go:build ppc64 || ppc64le
6-
// +build ppc64 ppc64le
76

87
#include "go_asm.h"
98
#include "textflag.h"

src/internal/bytealg/count_ppc64x.s

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// license that can be found in the LICENSE file.
44

55
//go:build ppc64le || ppc64
6-
// +build ppc64le ppc64
76

87
#include "go_asm.h"
98
#include "textflag.h"

src/internal/bytealg/equal_mips64x.s

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// license that can be found in the LICENSE file.
44

55
//go:build mips64 || mips64le
6-
// +build mips64 mips64le
76

87
#include "go_asm.h"
98
#include "textflag.h"

src/internal/bytealg/equal_mipsx.s

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// license that can be found in the LICENSE file.
44

55
//go:build mips || mipsle
6-
// +build mips mipsle
76

87
#include "go_asm.h"
98
#include "textflag.h"

src/internal/bytealg/equal_ppc64x.s

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// license that can be found in the LICENSE file.
44

55
//go:build ppc64 || ppc64le
6-
// +build ppc64 ppc64le
76

87
#include "go_asm.h"
98
#include "textflag.h"

src/internal/bytealg/index_ppc64x.s

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
// implementation on power9.
2323

2424
//go:build ppc64 || ppc64le
25-
// +build ppc64 ppc64le
2625

2726
#include "go_asm.h"
2827
#include "textflag.h"

src/internal/bytealg/indexbyte_mips64x.s

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// license that can be found in the LICENSE file.
44

55
//go:build mips64 || mips64le
6-
// +build mips64 mips64le
76

87
#include "go_asm.h"
98
#include "textflag.h"

src/internal/bytealg/indexbyte_mipsx.s

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// license that can be found in the LICENSE file.
44

55
//go:build mips || mipsle
6-
// +build mips mipsle
76

87
#include "go_asm.h"
98
#include "textflag.h"

src/internal/bytealg/indexbyte_ppc64x.s

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// license that can be found in the LICENSE file.
44

55
//go:build ppc64 || ppc64le
6-
// +build ppc64 ppc64le
76

87
#include "go_asm.h"
98
#include "textflag.h"

src/internal/cpu/cpu_x86.s

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// license that can be found in the LICENSE file.
44

55
//go:build 386 || amd64
6-
// +build 386 amd64
76

87
#include "textflag.h"
98

src/reflect/asm_mips64x.s

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// license that can be found in the LICENSE file.
44

55
//go:build mips64 || mips64le
6-
// +build mips64 mips64le
76

87
#include "textflag.h"
98
#include "funcdata.h"

src/reflect/asm_mipsx.s

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// license that can be found in the LICENSE file.
44

55
//go:build mips || mipsle
6-
// +build mips mipsle
76

87
#include "textflag.h"
98
#include "funcdata.h"

src/reflect/asm_ppc64x.s

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// license that can be found in the LICENSE file.
44

55
//go:build ppc64 || ppc64le
6-
// +build ppc64 ppc64le
76

87
#include "textflag.h"
98
#include "funcdata.h"

src/reflect/float32reg_ppc64x.s

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// license that can be found in the LICENSE file.
44

55
//go:build ppc64 || ppc64le
6-
// +build ppc64 ppc64le
76

87
#include "textflag.h"
98

src/runtime/asan_amd64.s

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// license that can be found in the LICENSE file.
44

55
//go:build asan
6-
// +build asan
76

87
#include "go_asm.h"
98
#include "go_tls.h"

src/runtime/asan_arm64.s

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// license that can be found in the LICENSE file.
44

55
//go:build asan
6-
// +build asan
76

87
#include "go_asm.h"
98
#include "textflag.h"

src/runtime/asm_mips64x.s

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// license that can be found in the LICENSE file.
44

55
//go:build mips64 || mips64le
6-
// +build mips64 mips64le
76

87
#include "go_asm.h"
98
#include "go_tls.h"

src/runtime/asm_mipsx.s

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// license that can be found in the LICENSE file.
44

55
//go:build mips || mipsle
6-
// +build mips mipsle
76

87
#include "go_asm.h"
98
#include "go_tls.h"

src/runtime/asm_ppc64x.s

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// license that can be found in the LICENSE file.
44

55
//go:build ppc64 || ppc64le
6-
// +build ppc64 ppc64le
76

87
#include "go_asm.h"
98
#include "go_tls.h"

src/runtime/atomic_mips64x.s

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// license that can be found in the LICENSE file.
44

55
//go:build mips64 || mips64le
6-
// +build mips64 mips64le
76

87
#include "textflag.h"
98

src/runtime/atomic_mipsx.s

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// license that can be found in the LICENSE file.
44

55
//go:build mips || mipsle
6-
// +build mips mipsle
76

87
#include "textflag.h"
98

src/runtime/atomic_ppc64x.s

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// license that can be found in the LICENSE file.
44

55
//go:build ppc64 || ppc64le
6-
// +build ppc64 ppc64le
76

87
#include "textflag.h"
98

src/runtime/duff_mips64x.s

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// See mkduff.go for comments.
44

55
//go:build mips64 || mips64le
6-
// +build mips64 mips64le
76

87
#include "textflag.h"
98

src/runtime/duff_ppc64x.s

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// See mkduff.go for comments.
44

55
//go:build ppc64 || ppc64le
6-
// +build ppc64 ppc64le
76

87
#include "textflag.h"
98

src/runtime/internal/atomic/atomic_mips64x.s

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// license that can be found in the LICENSE file.
44

55
//go:build mips64 || mips64le
6-
// +build mips64 mips64le
76

87
#include "textflag.h"
98

src/runtime/internal/atomic/atomic_mipsx.s

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// license that can be found in the LICENSE file.
44

55
//go:build mips || mipsle
6-
// +build mips mipsle
76

87
#include "textflag.h"
98

src/runtime/internal/atomic/atomic_ppc64x.s

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// license that can be found in the LICENSE file.
44

55
//go:build ppc64 || ppc64le
6-
// +build ppc64 ppc64le
76

87
#include "textflag.h"
98

src/runtime/internal/atomic/sys_nonlinux_arm.s

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// license that can be found in the LICENSE file.
44

55
//go:build !linux
6-
// +build !linux
76

87
#include "textflag.h"
98

src/runtime/libfuzzer_amd64.s

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// license that can be found in the LICENSE file.
44

55
//go:build libfuzzer
6-
// +build libfuzzer
76

87
#include "go_asm.h"
98
#include "go_tls.h"

src/runtime/libfuzzer_arm64.s

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// license that can be found in the LICENSE file.
44

55
//go:build libfuzzer
6-
// +build libfuzzer
76

87
#include "go_asm.h"
98
#include "textflag.h"

src/runtime/memclr_386.s

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// license that can be found in the LICENSE file.
44

55
//go:build !plan9
6-
// +build !plan9
76

87
#include "go_asm.h"
98
#include "textflag.h"

src/runtime/memclr_amd64.s

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// license that can be found in the LICENSE file.
44

55
//go:build !plan9
6-
// +build !plan9
76

87
#include "go_asm.h"
98
#include "textflag.h"

src/runtime/memclr_mips64x.s

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// license that can be found in the LICENSE file.
44

55
//go:build mips64 || mips64le
6-
// +build mips64 mips64le
76

87
#include "go_asm.h"
98
#include "textflag.h"

src/runtime/memclr_mipsx.s

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// license that can be found in the LICENSE file.
44

55
//go:build mips || mipsle
6-
// +build mips mipsle
76

87
#include "textflag.h"
98

src/runtime/memclr_ppc64x.s

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// license that can be found in the LICENSE file.
44

55
//go:build ppc64 || ppc64le
6-
// +build ppc64 ppc64le
76

87
#include "textflag.h"
98

src/runtime/memmove_386.s

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
// THE SOFTWARE.
2525

2626
//go:build !plan9
27-
// +build !plan9
2827

2928
#include "go_asm.h"
3029
#include "textflag.h"

src/runtime/memmove_amd64.s

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
// THE SOFTWARE.
2525

2626
//go:build !plan9
27-
// +build !plan9
2827

2928
#include "go_asm.h"
3029
#include "textflag.h"

src/runtime/memmove_mips64x.s

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// license that can be found in the LICENSE file.
44

55
//go:build mips64 || mips64le
6-
// +build mips64 mips64le
76

87
#include "textflag.h"
98

src/runtime/memmove_mipsx.s

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// license that can be found in the LICENSE file.
44

55
//go:build mips || mipsle
6-
// +build mips mipsle
76

87
#include "textflag.h"
98

src/runtime/memmove_ppc64x.s

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// license that can be found in the LICENSE file.
44

55
//go:build ppc64 || ppc64le
6-
// +build ppc64 ppc64le
76

87
#include "textflag.h"
98

src/runtime/msan_amd64.s

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// license that can be found in the LICENSE file.
44

55
//go:build msan
6-
// +build msan
76

87
#include "go_asm.h"
98
#include "go_tls.h"

src/runtime/msan_arm64.s

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// license that can be found in the LICENSE file.
44

55
//go:build msan
6-
// +build msan
76

87
#include "go_asm.h"
98
#include "textflag.h"

src/runtime/preempt_mips64x.s

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// Code generated by mkpreempt.go; DO NOT EDIT.
22

33
//go:build mips64 || mips64le
4-
// +build mips64 mips64le
54

65
#include "go_asm.h"
76
#include "textflag.h"

0 commit comments

Comments
 (0)