]> Cypherpunks repositories - gostls13.git/commit
cmd/internal/obj: remove Link.Windows field
authorDave Cheney <dave@cheney.net>
Mon, 21 Mar 2016 03:37:57 +0000 (14:37 +1100)
committerDave Cheney <dave@cheney.net>
Mon, 21 Mar 2016 04:07:09 +0000 (04:07 +0000)
commit39af1eb96f37edc96e2bde24fdd877e49223f751
tree89656c080c07299dcfdc922e6c4da7cb7949b30d
parente28a3929efa9797530c7f74284796825a25d2011
cmd/internal/obj: remove Link.Windows field

This CL addresses a long standing CL by rsc by pushing the use of
Link.Windows down to its two users.

Link.Window was always initalised with the value of runtime.GOOS so
this does not affect cross compilation.

Change-Id: Ibbae068f8b5aad06336909691f094384caf12352
Reviewed-on: https://go-review.googlesource.com/20869
Run-TryBot: Dave Cheney <dave@cheney.net>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/cmd/compile/internal/gc/main.go
src/cmd/internal/obj/link.go
src/cmd/internal/obj/sym.go