]> Cypherpunks repositories - gostls13.git/commit
Run initcgo for all amd64 targets, not just GNU/Linux.
authorIan Lance Taylor <iant@golang.org>
Fri, 9 Apr 2010 21:15:15 +0000 (14:15 -0700)
committerIan Lance Taylor <iant@golang.org>
Fri, 9 Apr 2010 21:15:15 +0000 (14:15 -0700)
commita4f8d36ba5f69e03073fa9f3bf79c04d4234fc85
tree969c98763059cf3553455bd6a7037b5213f2897b
parentf833a8d39269e4df1e843842fd855e8c019927a8
Run initcgo for all amd64 targets, not just GNU/Linux.

This is required to make cgo export work on Darwin.  Note that
this corrects the stack alignment when calling initcgo to that
required by gcc on amd64.

R=rsc
CC=golang-dev
https://golang.org/cl/907041
src/pkg/runtime/amd64/asm.s
src/pkg/runtime/linux/amd64/rt0.s