]> Cypherpunks repositories - gostls13.git/commit
[release-branch.go1.12] cmd/link: put shlib ".type" functions in internal ABI
authorIan Lance Taylor <iant@golang.org>
Mon, 15 Jul 2019 23:06:49 +0000 (16:06 -0700)
committerIan Lance Taylor <iant@golang.org>
Tue, 16 Jul 2019 17:21:01 +0000 (17:21 +0000)
commitf194c9f25a87444d029f905f230e1004b264e6de
tree24c8a21b3644ae6e3d82c635dcad5bfd9db1b1d0
parent8759b531473e1fa93f23508bc90ae878783671a6
[release-branch.go1.12] cmd/link: put shlib ".type" functions in internal ABI

These functions are compiler generated, and as such are only available
in the internal ABI. Doing this avoids generating an alias symbol.
Doing that avoids confusion between unmangled and mangled type symbols.

Updates #30768
Fixes #33040

Change-Id: I8aba3934ffa994b1a19fc442cfe3e05642792a25
Reviewed-on: https://go-review.googlesource.com/c/go/+/186278
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Austin Clements <austin@google.com>
misc/cgo/testshared/shared_test.go
misc/cgo/testshared/src/issue30768/issue30768lib/lib.go [new file with mode: 0644]
misc/cgo/testshared/src/issue30768/x_test.go [new file with mode: 0644]
src/cmd/link/internal/ld/lib.go