diff options
| author | David Crawshaw <crawshaw@golang.org> | 2016-08-25 21:58:45 -0400 |
|---|---|---|
| committer | David Crawshaw <crawshaw@golang.org> | 2016-09-16 14:49:13 +0000 |
| commit | eced6754c2f2ce98cb5bacbdbfcbbaa4a6a69d53 (patch) | |
| tree | 0450fbe9c27799556daef1148c816e3645c61ccc /src/plugin | |
| parent | 79167bbd9c71017e18836a3e5e40261b57012358 (diff) | |
| download | go-eced6754c2f2ce98cb5bacbdbfcbbaa4a6a69d53.tar.xz | |
cmd/link: -buildmode=plugin support for linux
This CL contains several linker changes to support creating plugins.
It collects the exported plugin symbols provided by the compiler and
includes them in the moduledata.
It treats a binary as being dynamically linked if it imports the plugin
package. This lets the dynamic linker de-duplicate symbols.
Change-Id: I099b6f38dda26306eba5c41dbe7862f5a5918d95
Reviewed-on: https://go-review.googlesource.com/27820
Run-TryBot: David Crawshaw <crawshaw@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/plugin')
0 files changed, 0 insertions, 0 deletions
