]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: define func value symbols at declaration
authorMichael Hudson-Doyle <michael.hudson@canonical.com>
Tue, 14 Jul 2015 23:31:30 +0000 (11:31 +1200)
committerIan Lance Taylor <iant@golang.org>
Mon, 20 Jul 2015 00:50:46 +0000 (00:50 +0000)
commit1125cd4997597e4ca3acf3fa71ce1e3c3cd0605f
treecd5dead1fb05f1b2218b8af9f8d83363f3a23c61
parent4db074639c1eab543018acd4e74d2ccf46102897
cmd/compile: define func value symbols at declaration

This is mostly Russ's https://golang.org/cl/12145 but with some extra fixes to
account for the fact that function declarations without implementations now
break shared libraries, and including my test case.

Fixes #11480.

Change-Id: Iabdc2934a0378e5025e4e7affadb535eaef2c8f1
Reviewed-on: https://go-review.googlesource.com/12340
Reviewed-by: Ian Lance Taylor <iant@golang.org>
misc/cgo/testshared/src/dep/asm.s [new file with mode: 0644]
misc/cgo/testshared/src/dep/gccgo.go [new file with mode: 0644]
misc/cgo/testshared/src/dep/stubs.go [new file with mode: 0644]
misc/cgo/testshared/src/exe/exe.go
src/cmd/compile/internal/gc/closure.go
src/cmd/compile/internal/gc/dcl.go
src/runtime/debug/stubs.go
src/runtime/stubs.go
src/runtime/stubs32.go [new file with mode: 0644]