]> Cypherpunks repositories - gostls13.git/commit
cmd/cgo: use 1 as last entry for __cgodebug_data
authorShenghou Ma <minux.ma@gmail.com>
Mon, 30 Jul 2012 22:44:48 +0000 (18:44 -0400)
committerShenghou Ma <minux.ma@gmail.com>
Mon, 30 Jul 2012 22:44:48 +0000 (18:44 -0400)
commitdd62bb4753147ff832eb769af892054fb1562c7c
tree47a18d15c3f73a6064ee5d486871bd3ca9a1a82f
parent7520f0b4aa3efe9b5eea5bb79fe47c81051d478d
cmd/cgo: use 1 as last entry for __cgodebug_data
        LLVM-based gcc will place all-zero data in a zero-filled
        section, but our debug/macho can't handle that.
        Fixes #3821.

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/6444049
src/cmd/cgo/gcc.go