diff --git a/TargetSpecific.md b/TargetSpecific.md index ef703bfa..3f606ae8 100644 --- a/TargetSpecific.md +++ b/TargetSpecific.md @@ -36,7 +36,7 @@ func sumGeneric(out *[16]byte, m []byte, key *[32]byte) { poly1305_amd64.go ```go -// +build !gccgo,!purego +// +build gc,!purego package poly1305 @@ -47,7 +47,7 @@ func sum(out *[16]byte, m []byte, key *[32]byte) poly1305_amd64.s ``` -// +build !gccgo,!purego +// +build gc,!purego // func sum(out *[16]byte, m []byte, key *[32]byte) TEXT ·sum(SB), $0-128 @@ -57,7 +57,7 @@ TEXT ·sum(SB), $0-128 poly1305_noasm.go ```go -// +build !amd64 gccgo purego +// +build !amd64 !gc purego package poly1305 @@ -90,4 +90,4 @@ func TestSumCompare(t *testing.T) { For more complete examples see the [x/crypto/poly1305](https://github.com/golang/crypto/tree/master/poly1305) and [x/crypto/salsa20/salsa](https://github.com/golang/crypto/tree/master/salsa20/salsa) packages. -Note that packages in the standard library (as opposed to modules like golang.org/x/crypto) do not use the `gccgo` and `purego` build tags. \ No newline at end of file +Note that packages in the standard library (as opposed to modules like golang.org/x/crypto) do not use the `gc` and `purego` build tags. \ No newline at end of file