aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/runtime2.go
diff options
context:
space:
mode:
authorShenghou Ma <minux@golang.org>2015-03-03 20:45:00 -0500
committerMinux Ma <minux@golang.org>2015-03-04 08:32:00 +0000
commit60b8908588eb60b7e0d2053e52d191987a868c74 (patch)
treefceb59695a3b28a11343d245ff98cfe34b57a8c9 /src/runtime/runtime2.go
parent09d9520be931a32a8ab18990a5684550e3f4b6cb (diff)
downloadgo-60b8908588eb60b7e0d2053e52d191987a868c74.tar.xz
cmd/internal/ld: fix symbol visibility for external linking
The original C code is: (x->type & SHIDDEN) ? 2 : 0, however when cleaning up the code for c2go, the ternary operator is rewritten in the exact opposite way. We need a test for this, and that's being tracked as #10070. Fixes #10067. Change-Id: I24a5e021597d8bc44218c6e75bab6446513b76cf Signed-off-by: Shenghou Ma <minux@golang.org> Reviewed-on: https://go-review.googlesource.com/6730 Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/runtime/runtime2.go')
0 files changed, 0 insertions, 0 deletions