]> Cypherpunks repositories - gostls13.git/commit
cmd/go: fix bytes and net the right way
authorRuss Cox <rsc@golang.org>
Wed, 24 Sep 2014 23:18:01 +0000 (19:18 -0400)
committerRuss Cox <rsc@golang.org>
Wed, 24 Sep 2014 23:18:01 +0000 (19:18 -0400)
commit6077f0fc32a401f9a7b9540b6d1b00e855018c9a
tree05086c80afd9c57792a3a111c4e8d9a2fd9479bc
parentd2b84dd941456751cd09363a1027746683818f09
cmd/go: fix bytes and net the right way

Not sure why they used empty.s and all these other
packages were special cased in cmd/go instead.
Add them to the list.

This avoids problems with net .s files being compiled
with gcc in cgo mode and gcc not supporting // comments
on ARM.

Not a problem with bytes, but be consistent.

The last change fixed the ARM build but broke the Windows build.
Maybe *this* will make everyone happy. Sigh.

TBR=iant
CC=golang-codereviews
https://golang.org/cl/144530046
src/bytes/bytes.s [deleted file]
src/cmd/go/build.go
src/net/empty.s [deleted file]