]> Cypherpunks repositories - gostls13.git/commit
cmd/link: plugin support on darwin/amd64
authorDavid Crawshaw <crawshaw@golang.org>
Mon, 19 Sep 2016 18:13:07 +0000 (14:13 -0400)
committerDavid Crawshaw <crawshaw@golang.org>
Fri, 23 Sep 2016 22:58:57 +0000 (22:58 +0000)
commit73e7a569b4b2917e76f9e1ad95f638127b7638ad
treea9161ae632b8fa02b53dd21063c924cd92c9f08d
parent26a6131bacb5dbc491f77329557580df0a310858
cmd/link: plugin support on darwin/amd64

This CL turns some special section marker symbols into real symbols
laid out in the sections they mark. This is to deal with the fact
that dyld on OS X resolves the section marker symbols in any dlopen-ed
Go program to the original section marker symbols in the host program.

More details in a comment in cmd/link/internal/ld/data.go.

Change-Id: Ie9451cfbf06d0bdcccb9959219c791b829f3f771
Reviewed-on: https://go-review.googlesource.com/29394
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Run-TryBot: David Crawshaw <crawshaw@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/link/internal/ld/config.go
src/cmd/link/internal/ld/data.go
src/cmd/link/internal/ld/dwarf.go
src/cmd/link/internal/ld/lib.go
src/cmd/link/internal/ld/macho.go