]> Cypherpunks repositories - gostls13.git/commit
cmd/ld: fix inconsistency in internal linking of common symbols.
authorRémy Oudompheng <oudomphe@phare.normalesup.org>
Wed, 10 Apr 2013 05:15:49 +0000 (07:15 +0200)
committerRémy Oudompheng <oudomphe@phare.normalesup.org>
Wed, 10 Apr 2013 05:15:49 +0000 (07:15 +0200)
commit0e76a943c9efe69379bd6dcf83d254fd6abc48f2
tree875cf0b5e6972242e0a028be9def251c43032872
parent357e37dc945885a141b48182c4606f1aac8320db
cmd/ld: fix inconsistency in internal linking of common symbols.

Some variables declared in C could end up as undefined symbols
in the final binary and have null address.

Fixes #5114.
Fixes #5227.

R=golang-dev, iant, ajstarks, dave, r
CC=golang-dev
https://golang.org/cl/8602044
misc/cgo/test/cgo_test.go
misc/cgo/test/issue5227.go [new file with mode: 0644]
src/cmd/ld/lib.c