]> Cypherpunks repositories - gostls13.git/commit
cmd/link: put shlib ".type" functions in internal ABI
authorIan Lance Taylor <iant@golang.org>
Sat, 13 Jul 2019 19:20:43 +0000 (12:20 -0700)
committerIan Lance Taylor <iant@golang.org>
Mon, 15 Jul 2019 22:54:39 +0000 (22:54 +0000)
commit37b194a422f51893a89ec2823748ccbe612a2898
treec6d59af7502e703f860b95fb7012da1eddbbf455
parent24a6ca09d0151f2dc6a524217b8523abd33403bb
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.

Fixes #30768

Change-Id: I197a5ba6403aac11989ffa951dbe35bd0506de91
Reviewed-on: https://go-review.googlesource.com/c/go/+/186077
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/testdata/issue30768/issue30768lib/lib.go [new file with mode: 0644]
misc/cgo/testshared/testdata/issue30768/x_test.go [new file with mode: 0644]
src/cmd/link/internal/ld/lib.go