1
0
mirror of https://github.com/golang/go synced 2024-11-14 09:10:27 -07:00
go/src/cmd/link
David Crawshaw 73e7a569b4 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>
2016-09-23 22:58:57 +00:00
..
internal cmd/link: plugin support on darwin/amd64 2016-09-23 22:58:57 +00:00
doc.go cmd/link: add -extar option to set ar program for c-archive 2016-01-26 18:52:36 +00:00
link_test.go cmd/link: handle long symbol names 2016-04-13 20:31:43 +00:00
linkbig_test.go cmd/link: split large elf text sections on ppc64x 2016-09-21 20:23:49 +00:00
main.go cmd/link: skip arch-specific main function 2016-09-16 20:38:38 +00:00