diff options
| author | Ian Lance Taylor <iant@golang.org> | 2014-04-29 08:53:38 -0400 |
|---|---|---|
| committer | Ian Lance Taylor <iant@golang.org> | 2014-04-29 08:53:38 -0400 |
| commit | fee51f45ab37c77ad8b7967b091ddf19d4e259a3 (patch) | |
| tree | a6150c46b0afc1acf267f60376a8ea5f9eb1434f /src/pkg/debug | |
| parent | 382cc8cb398c011a1701c410b747f1e80fa66687 (diff) | |
| download | go-fee51f45ab37c77ad8b7967b091ddf19d4e259a3.tar.xz | |
cmd/cgo: for gccgo add #define to cgo_export.h for expected name
For gccgo we rename exported functions so that the compiler
will make them visible. This CL adds a #define so that C
functions that #include "cgo_export.h" can use the expected
names of the function.
The test for this is the existing issue6833 test in
misc/cgo/test. Without this CL it fails when using
-compiler=gccgo.
LGTM=minux.ma, rsc
R=golang-codereviews, gobot, rsc, minux.ma
CC=golang-codereviews
https://golang.org/cl/91830046
Diffstat (limited to 'src/pkg/debug')
0 files changed, 0 insertions, 0 deletions
