• David Crawshaw's avatar
    cmd/link: -buildmode=plugin support for linux · eced6754
    David Crawshaw authored
    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: 's avatarIan Lance Taylor <iant@golang.org>
    eced6754
Name
Last commit
Last update
.github Loading commit data...
api Loading commit data...
doc Loading commit data...
lib/time Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README.md Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...